block: reorganize QUEUE_ORDERED_* constants
commit313e42999dbc0f234ca5909a236f78f082cb43b1
authorTejun Heo <tj@kernel.org>
Fri, 28 Nov 2008 04:32:02 +0000 (28 13:32 +0900)
committerJens Axboe <jens.axboe@oracle.com>
Mon, 29 Dec 2008 07:28:44 +0000 (29 08:28 +0100)
tree023ac251809e3926ebc6b6c2174d67f8c4ac535f
parentba744d5e290055d171c68067259fcc1e2721f542
block: reorganize QUEUE_ORDERED_* constants

Separate out ordering type (drain,) and action masks (preflush,
postflush, fua) from visible ordering mode selectors
(QUEUE_ORDERED_*).  Ordering types are now named QUEUE_ORDERED_BY_*
while action masks are named QUEUE_ORDERED_DO_*.

This change is necessary to add QUEUE_ORDERED_DO_BAR and make it
optional to improve empty barrier implementation.

Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
block/blk-barrier.c
include/linux/blkdev.h