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)
commit49b1212dfacfe51f951442563d1617bb06aac575
treef4acf65938be72df6ec0c03737df83b2a8cd2b42
parentdd9ec84da530d3a92e99ad1f52edae44533cc27f
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