aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/blkdev.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/blkdev.h')
-rw-r--r--include/linux/blkdev.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h
index 20a3710a481b..1cd83ec077db 100644
--- a/include/linux/blkdev.h
+++ b/include/linux/blkdev.h
@@ -357,13 +357,13 @@ struct request_queue
357 /* 357 /*
358 * for flush operations 358 * for flush operations
359 */ 359 */
360 unsigned int ordered, next_ordered;
360 unsigned int flush_flags; 361 unsigned int flush_flags;
361 362 unsigned int flush_seq;
362 unsigned int ordered, next_ordered, ordseq; 363 int flush_err;
363 int orderr; 364 struct request flush_rq;
364 struct request bar_rq; 365 struct request *orig_flush_rq;
365 struct request *orig_bar_rq; 366 struct list_head pending_flushes;
366 struct list_head pending_barriers;
367 367
368 struct mutex sysfs_lock; 368 struct mutex sysfs_lock;
369 369
@@ -490,13 +490,13 @@ enum {
490 QUEUE_ORDERED_DO_FUA, 490 QUEUE_ORDERED_DO_FUA,
491 491
492 /* 492 /*
493 * Ordered operation sequence 493 * FLUSH/FUA sequences.
494 */ 494 */
495 QUEUE_ORDSEQ_STARTED = (1 << 0), /* flushing in progress */ 495 QUEUE_FSEQ_STARTED = (1 << 0), /* flushing in progress */
496 QUEUE_ORDSEQ_PREFLUSH = (1 << 1), /* pre-flushing in progress */ 496 QUEUE_FSEQ_PREFLUSH = (1 << 1), /* pre-flushing in progress */
497 QUEUE_ORDSEQ_BAR = (1 << 2), /* barrier write in progress */ 497 QUEUE_FSEQ_DATA = (1 << 2), /* data write in progress */
498 QUEUE_ORDSEQ_POSTFLUSH = (1 << 3), /* post-flushing in progress */ 498 QUEUE_FSEQ_POSTFLUSH = (1 << 3), /* post-flushing in progress */
499 QUEUE_ORDSEQ_DONE = (1 << 4), 499 QUEUE_FSEQ_DONE = (1 << 4),
500}; 500};
501 501
502#define blk_queue_plugged(q) test_bit(QUEUE_FLAG_PLUGGED, &(q)->queue_flags) 502#define blk_queue_plugged(q) test_bit(QUEUE_FLAG_PLUGGED, &(q)->queue_flags)