]> git.ipfire.org Git - thirdparty/kernel/stable.git/blobdiff - include/linux/blkdev.h
block: sum requests in the plug structure
[thirdparty/kernel/stable.git] / include / linux / blkdev.h
index e3c0a8ec16a79eac9c744effb9143775fa3914e0..02732cae6080fe940e584d11a704fe8baea094d2 100644 (file)
@@ -1130,6 +1130,7 @@ extern void blk_set_queue_dying(struct request_queue *);
 struct blk_plug {
        struct list_head mq_list; /* blk-mq requests */
        struct list_head cb_list; /* md requires an unplug callback */
+       unsigned short rq_count;
 };
 #define BLK_MAX_REQUEST_COUNT 16
 #define BLK_PLUG_FLUSH_SIZE (128 * 1024)