]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit28da2494ad32f09a324280b48d66d51c245548f7
treefc5d01ebc746cec35f0d4628f05349b1d87dd8a8
parentdd45c95ef303750406f524c1d9a86d68e94b4550
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