blk-mq: rework flush sequencing logic
[deliverable/linux.git] / include / linux / blkdev.h
index 0375654adb28cb423911aa7afccce6eb1f015e14..b2d25ecbcbc1531864606c9a1f1e267689ae2a11 100644 (file)
@@ -101,7 +101,7 @@ struct request {
        };
        union {
                struct call_single_data csd;
-               struct work_struct mq_flush_data;
+               struct work_struct mq_flush_work;
        };
 
        struct request_queue *q;
@@ -451,13 +451,8 @@ struct request_queue {
        unsigned long           flush_pending_since;
        struct list_head        flush_queue[2];
        struct list_head        flush_data_in_flight;
-       union {
-               struct request  flush_rq;
-               struct {
-                       spinlock_t mq_flush_lock;
-                       struct work_struct mq_flush_work;
-               };
-       };
+       struct request          *flush_rq;
+       spinlock_t              mq_flush_lock;
 
        struct mutex            sysfs_lock;
 
This page took 0.028517 seconds and 5 git commands to generate.