]> 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)
commit59814cb4ff7b59e8f7bade30bf76a381f48bfe3d
treefc5d01ebc746cec35f0d4628f05349b1d87dd8a8
parent6aa22e5d5c6c65e6263007fb74b9ded476487268
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