aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/blkdev.h39
1 files changed, 23 insertions, 16 deletions
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h
index e9bb73ff1d64..5c92b4432399 100644
--- a/include/linux/blkdev.h
+++ b/include/linux/blkdev.h
@@ -523,22 +523,29 @@ enum {
523 * TAG_FLUSH : ordering by tag w/ pre and post flushes 523 * TAG_FLUSH : ordering by tag w/ pre and post flushes
524 * TAG_FUA : ordering by tag w/ pre flush and FUA write 524 * TAG_FUA : ordering by tag w/ pre flush and FUA write
525 */ 525 */
526 QUEUE_ORDERED_NONE = 0x00, 526 QUEUE_ORDERED_BY_DRAIN = 0x01,
527 QUEUE_ORDERED_DRAIN = 0x01, 527 QUEUE_ORDERED_BY_TAG = 0x02,
528 QUEUE_ORDERED_TAG = 0x02, 528 QUEUE_ORDERED_DO_PREFLUSH = 0x10,
529 529 QUEUE_ORDERED_DO_POSTFLUSH = 0x40,
530 QUEUE_ORDERED_PREFLUSH = 0x10, 530 QUEUE_ORDERED_DO_FUA = 0x80,
531 QUEUE_ORDERED_POSTFLUSH = 0x20, 531
532 QUEUE_ORDERED_FUA = 0x40, 532 QUEUE_ORDERED_NONE = 0x00,
533 533
534 QUEUE_ORDERED_DRAIN_FLUSH = QUEUE_ORDERED_DRAIN | 534 QUEUE_ORDERED_DRAIN = QUEUE_ORDERED_BY_DRAIN,
535 QUEUE_ORDERED_PREFLUSH | QUEUE_ORDERED_POSTFLUSH, 535 QUEUE_ORDERED_DRAIN_FLUSH = QUEUE_ORDERED_DRAIN |
536 QUEUE_ORDERED_DRAIN_FUA = QUEUE_ORDERED_DRAIN | 536 QUEUE_ORDERED_DO_PREFLUSH |
537 QUEUE_ORDERED_PREFLUSH | QUEUE_ORDERED_FUA, 537 QUEUE_ORDERED_DO_POSTFLUSH,
538 QUEUE_ORDERED_TAG_FLUSH = QUEUE_ORDERED_TAG | 538 QUEUE_ORDERED_DRAIN_FUA = QUEUE_ORDERED_DRAIN |
539 QUEUE_ORDERED_PREFLUSH | QUEUE_ORDERED_POSTFLUSH, 539 QUEUE_ORDERED_DO_PREFLUSH |
540 QUEUE_ORDERED_TAG_FUA = QUEUE_ORDERED_TAG | 540 QUEUE_ORDERED_DO_FUA,
541 QUEUE_ORDERED_PREFLUSH | QUEUE_ORDERED_FUA, 541
542 QUEUE_ORDERED_TAG = QUEUE_ORDERED_BY_TAG,
543 QUEUE_ORDERED_TAG_FLUSH = QUEUE_ORDERED_TAG |
544 QUEUE_ORDERED_DO_PREFLUSH |
545 QUEUE_ORDERED_DO_POSTFLUSH,
546 QUEUE_ORDERED_TAG_FUA = QUEUE_ORDERED_TAG |
547 QUEUE_ORDERED_DO_PREFLUSH |
548 QUEUE_ORDERED_DO_FUA,
542 549
543 /* 550 /*
544 * Ordered operation sequence 551 * Ordered operation sequence