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)
committerJens Axboe <jaxboe@fusionio.com>
Fri, 6 May 2011 17:36:25 +0000 (11:36 -0600)
commitf3876930952390a31c3a7fd68dd621464a36eb80
tree7fe2306a8dc2022ac7724b2d47629e38e3fb354b
parent490b94be0282c3b67f56453628ff0aaae827a670
block: add a non-queueable flush flag

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

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