blk-mq: bump max tag depth to 10K tags
authorJens Axboe <axboe@fb.com>
Thu, 5 Jun 2014 21:21:56 +0000 (15:21 -0600)
committerJens Axboe <axboe@fb.com>
Fri, 6 Jun 2014 14:04:46 +0000 (08:04 -0600)
commita4391c6465d9c978fd4bded12e34bdde3f5458f0
treefc5d01ebc746cec35f0d4628f05349b1d87dd8a8
parentf27b087b81b70513b8c61ec20596c868f7b93474
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>
block/blk-mq.c
include/linux/blk-mq.h