summaryrefslogtreecommitdiffstats
path: root/include/linux/blk-mq.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@fb.com>2014-06-05 15:21:56 -0600
committerJens Axboe <axboe@fb.com>2014-06-06 08:04:46 -0600
commita4391c6465d9c978fd4bded12e34bdde3f5458f0 (patch)
treefc5d01ebc746cec35f0d4628f05349b1d87dd8a8 /include/linux/blk-mq.h
parentf27b087b81b70513b8c61ec20596c868f7b93474 (diff)
downloadlinux-a4391c6465d9c978fd4bded12e34bdde3f5458f0.tar.gz
linux-a4391c6465d9c978fd4bded12e34bdde3f5458f0.tar.bz2
linux-a4391c6465d9c978fd4bded12e34bdde3f5458f0.zip
blk-mq: bump max tag depth to 10K tags
For some scsi-mq cases, the tag map can be huge. So increase the max number of tags we support. Additionally, don't fail with EINVAL if a user requests too many tags. Warn that the tag depth has been adjusted down, and store the new value inside the tag_set passed in. Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'include/linux/blk-mq.h')
-rw-r--r--include/linux/blk-mq.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/blk-mq.h b/include/linux/blk-mq.h
index 0feedebfde48..a002cf191427 100644
--- a/include/linux/blk-mq.h
+++ b/include/linux/blk-mq.h
@@ -135,7 +135,7 @@ enum {
BLK_MQ_S_STOPPED = 0,
BLK_MQ_S_TAG_ACTIVE = 1,
- BLK_MQ_MAX_DEPTH = 2048,
+ BLK_MQ_MAX_DEPTH = 10240,
BLK_MQ_CPU_WORK_BATCH = 8,
};