]> git.karo-electronics.de Git - karo-tx-linux.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>
Tue, 10 Sep 2013 19:47:18 +0000 (12:47 -0700)
commitb4d411cfdb9a92cf292bf758491b50bb3c0149eb
tree95ba914342e2996400fca03f9af9fe185146d9f7
parentbef0ef06a9fe34b08177b67d3213dceab29d3abe
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