blk-flush: count inflight flush_data requests
[linux-2.6-microblaze.git] / block / blk.h
index 608c5dc..686712e 100644 (file)
@@ -15,15 +15,14 @@ struct elevator_type;
 extern struct dentry *blk_debugfs_root;
 
 struct blk_flush_queue {
+       spinlock_t              mq_flush_lock;
        unsigned int            flush_pending_idx:1;
        unsigned int            flush_running_idx:1;
        blk_status_t            rq_status;
        unsigned long           flush_pending_since;
        struct list_head        flush_queue[2];
-       struct list_head        flush_data_in_flight;
+       unsigned long           flush_data_in_flight;
        struct request          *flush_rq;
-
-       spinlock_t              mq_flush_lock;
 };
 
 bool is_flush_rq(struct request *req);