]> git.karo-electronics.de Git - karo-tx-linux.git/commit
block: add a non-queueable flush flag
authorshaohua.li@intel.com <shaohua.li@intel.com>
Fri, 6 May 2011 17:34:32 +0000 (11:34 -0600)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 3 Jun 2011 00:31:41 +0000 (09:31 +0900)
commit81b5f4969a360c24882a44e91e6177d2d79f933f
tree6c198dd5e8421a6a2864211bb0fd2995bdc5bc4f
parentbd1a4347d6d4157cdd9424a85979e3ee2e9533a3
block: add a non-queueable flush flag

commit f3876930952390a31c3a7fd68dd621464a36eb80 upstream.

flush request isn't queueable in some drives. Add a flag to let driver
notify block layer about this. We can optimize flush performance with the
knowledge.

Stable: 2.6.39 only

Signed-off-by: Shaohua Li <shaohua.li@intel.com>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
block/blk-settings.c
include/linux/blkdev.h