diff options
author | Tejun Heo <tj@kernel.org> | 2010-09-03 05:56:16 -0400 |
---|---|---|
committer | Jens Axboe <jaxboe@fusionio.com> | 2010-09-10 06:35:36 -0400 |
commit | 6958f145459ca7ad9715024de97445addacb8510 (patch) | |
tree | c8c945eb68ceb88bd34647d7bcaedd13a0d753ca /include/linux/blkdev.h | |
parent | 589d7ed02ade0d06a3510da2e15a7edfdb2ef3d8 (diff) |
block: kill QUEUE_ORDERED_BY_TAG
Nobody is making meaningful use of ORDERED_BY_TAG now and queue
draining for barrier requests will be removed soon which will render
the advantage of tag ordering moot. Kill ORDERED_BY_TAG. The
following users are affected.
* brd: converted to ORDERED_DRAIN.
* virtio_blk: ORDERED_TAG path was already marked deprecated. Removed.
* xen-blkfront: ORDERED_TAG case dropped.
Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Christoph Hellwig <hch@infradead.org>
Cc: Nick Piggin <npiggin@kernel.dk>
Cc: Michael S. Tsirkin <mst@redhat.com>
Cc: Jeremy Fitzhardinge <jeremy@xensource.com>
Cc: Chris Wright <chrisw@sous-sol.org>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Diffstat (limited to 'include/linux/blkdev.h')
-rw-r--r-- | include/linux/blkdev.h | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h index 015375c7d031..7077bc0d6138 100644 --- a/include/linux/blkdev.h +++ b/include/linux/blkdev.h | |||
@@ -470,12 +470,7 @@ enum { | |||
470 | * DRAIN : ordering by draining is enough | 470 | * DRAIN : ordering by draining is enough |
471 | * DRAIN_FLUSH : ordering by draining w/ pre and post flushes | 471 | * DRAIN_FLUSH : ordering by draining w/ pre and post flushes |
472 | * DRAIN_FUA : ordering by draining w/ pre flush and FUA write | 472 | * DRAIN_FUA : ordering by draining w/ pre flush and FUA write |
473 | * TAG : ordering by tag is enough | ||
474 | * TAG_FLUSH : ordering by tag w/ pre and post flushes | ||
475 | * TAG_FUA : ordering by tag w/ pre flush and FUA write | ||
476 | */ | 473 | */ |
477 | QUEUE_ORDERED_BY_DRAIN = 0x01, | ||
478 | QUEUE_ORDERED_BY_TAG = 0x02, | ||
479 | QUEUE_ORDERED_DO_PREFLUSH = 0x10, | 474 | QUEUE_ORDERED_DO_PREFLUSH = 0x10, |
480 | QUEUE_ORDERED_DO_BAR = 0x20, | 475 | QUEUE_ORDERED_DO_BAR = 0x20, |
481 | QUEUE_ORDERED_DO_POSTFLUSH = 0x40, | 476 | QUEUE_ORDERED_DO_POSTFLUSH = 0x40, |
@@ -483,8 +478,7 @@ enum { | |||
483 | 478 | ||
484 | QUEUE_ORDERED_NONE = 0x00, | 479 | QUEUE_ORDERED_NONE = 0x00, |
485 | 480 | ||
486 | QUEUE_ORDERED_DRAIN = QUEUE_ORDERED_BY_DRAIN | | 481 | QUEUE_ORDERED_DRAIN = QUEUE_ORDERED_DO_BAR, |
487 | QUEUE_ORDERED_DO_BAR, | ||
488 | QUEUE_ORDERED_DRAIN_FLUSH = QUEUE_ORDERED_DRAIN | | 482 | QUEUE_ORDERED_DRAIN_FLUSH = QUEUE_ORDERED_DRAIN | |
489 | QUEUE_ORDERED_DO_PREFLUSH | | 483 | QUEUE_ORDERED_DO_PREFLUSH | |
490 | QUEUE_ORDERED_DO_POSTFLUSH, | 484 | QUEUE_ORDERED_DO_POSTFLUSH, |
@@ -492,15 +486,6 @@ enum { | |||
492 | QUEUE_ORDERED_DO_PREFLUSH | | 486 | QUEUE_ORDERED_DO_PREFLUSH | |
493 | QUEUE_ORDERED_DO_FUA, | 487 | QUEUE_ORDERED_DO_FUA, |
494 | 488 | ||
495 | QUEUE_ORDERED_TAG = QUEUE_ORDERED_BY_TAG | | ||
496 | QUEUE_ORDERED_DO_BAR, | ||
497 | QUEUE_ORDERED_TAG_FLUSH = QUEUE_ORDERED_TAG | | ||
498 | QUEUE_ORDERED_DO_PREFLUSH | | ||
499 | QUEUE_ORDERED_DO_POSTFLUSH, | ||
500 | QUEUE_ORDERED_TAG_FUA = QUEUE_ORDERED_TAG | | ||
501 | QUEUE_ORDERED_DO_PREFLUSH | | ||
502 | QUEUE_ORDERED_DO_FUA, | ||
503 | |||
504 | /* | 489 | /* |
505 | * Ordered operation sequence | 490 | * Ordered operation sequence |
506 | */ | 491 | */ |