summaryrefslogtreecommitdiffstats
path: root/block/blk-mq-tag.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@fb.com>2017-01-13 14:39:30 -0700
committerJens Axboe <axboe@fb.com>2017-01-17 10:04:15 -0700
commit2af8cbe30531eca73c8f3ba277f155fc0020b01a (patch)
tree4cdab5e44a9c2799cf1f6097a148bf46733d758d /block/blk-mq-tag.h
parentfd2d332677c687ca90c12a47d6c377c547100b56 (diff)
downloadlinux-2af8cbe30531eca73c8f3ba277f155fc0020b01a.tar.gz
linux-2af8cbe30531eca73c8f3ba277f155fc0020b01a.tar.bz2
linux-2af8cbe30531eca73c8f3ba277f155fc0020b01a.zip
blk-mq: split tag ->rqs[] into two
This is in preparation for having two sets of tags available. For that we need a static index, and a dynamically assignable one. Signed-off-by: Jens Axboe <axboe@fb.com> Reviewed-by: Omar Sandoval <osandov@fb.com>
Diffstat (limited to 'block/blk-mq-tag.h')
-rw-r--r--block/blk-mq-tag.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/block/blk-mq-tag.h b/block/blk-mq-tag.h
index 923602dd3bfb..41cd15fd1afd 100644
--- a/block/blk-mq-tag.h
+++ b/block/blk-mq-tag.h
@@ -16,6 +16,7 @@ struct blk_mq_tags {
struct sbitmap_queue breserved_tags;
struct request **rqs;
+ struct request **static_rqs;
struct list_head page_list;
};