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)
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

diff --cc block/blk-mq.c
Simple merge
Simple merge