]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
block: reorganize QUEUE_ORDERED_* constants
authorTejun Heo <tj@kernel.org>
Fri, 28 Nov 2008 04:32:02 +0000 (13:32 +0900)
committerJens Axboe <jens.axboe@oracle.com>
Mon, 29 Dec 2008 07:28:44 +0000 (08:28 +0100)
commit313e42999dbc0f234ca5909a236f78f082cb43b1
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