]> git.baikalelectronics.ru Git - kernel.git/commit
bcache: Use blkdev_issue_discard()
authorKent Overstreet <kmo@daterainc.com>
Thu, 25 Jul 2013 00:16:09 +0000 (17:16 -0700)
committerKent Overstreet <kmo@daterainc.com>
Mon, 11 Nov 2013 05:55:54 +0000 (21:55 -0800)
commitac463354fd0589cf3916fb3641b5316092bae292
treef4acf65938be72df6ec0c03737df83b2a8cd2b42
parent789053a084176941c7970525301b72b71d689a35
bcache: Use blkdev_issue_discard()

The old asynchronous discard code was really a relic from when all the
allocation code was asynchronous - now that allocation runs out of a
dedicated thread there's no point in keeping around all that complicated
machinery.

Signed-off-by: Kent Overstreet <kmo@daterainc.com>
drivers/md/bcache/alloc.c
drivers/md/bcache/bcache.h
drivers/md/bcache/super.c