]> git.baikalelectronics.ru Git - kernel.git/commit
blk-mq: allow resize of scheduler requests
authorJens Axboe <axboe@fb.com>
Thu, 19 Jan 2017 17:59:07 +0000 (10:59 -0700)
committerJens Axboe <axboe@fb.com>
Fri, 20 Jan 2017 16:05:53 +0000 (09:05 -0700)
commit9d752475ba60be3daed1051ab7b88218a4321e9e
tree2ff2d5af758f0185f486bcdc0645986a4a9b204a
parentae41062b2dac7e1fc52da17dd94d8518597d0010
blk-mq: allow resize of scheduler requests

Add support for growing the tags associated with a hardware queue, for
the scheduler tags. Currently we only support resizing within the
limits of the original depth, change that so we can grow it as well by
allocating and replacing the existing scheduler tag set.

This is similar to how we could increase the software queue depth with
the legacy IO stack and schedulers.

Signed-off-by: Jens Axboe <axboe@fb.com>
Reviewed-by: Omar Sandoval <osandov@fb.com>
block/blk-mq-tag.c
block/blk-mq-tag.h
block/blk-mq.c