]> git.baikalelectronics.ru Git - kernel.git/commit
block: permit PREFLUSH and POSTFLUSH without prepare_flush_fn
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Sat, 3 Jul 2010 08:45:33 +0000 (17:45 +0900)
committerJens Axboe <jaxboe@fusionio.com>
Sat, 7 Aug 2010 16:23:56 +0000 (18:23 +0200)
commit9ecd1e2871ae72737d8e6193130c8d8447665a5e
treedbf0f8d2da9aba48cac375304a9842e0166628c8
parentf6b05b9726b978c9df6885b66437169b3b5d870a
block: permit PREFLUSH and POSTFLUSH without prepare_flush_fn

This is preparation for removing q->prepare_flush_fn.

Temporarily, blk_queue_ordered() permits QUEUE_ORDERED_DO_PREFLUSH and
QUEUE_ORDERED_DO_POSTFLUSH without prepare_flush_fn.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
block/blk-barrier.c