]> git.baikalelectronics.ru Git - kernel.git/commit
blk-mq: only apply active queue tag throttling for driver tags
authorJens Axboe <axboe@fb.com>
Wed, 25 Jan 2017 15:11:38 +0000 (08:11 -0700)
committerJens Axboe <axboe@fb.com>
Wed, 25 Jan 2017 15:11:38 +0000 (08:11 -0700)
commit1b3b6b5e0b7cc09d40fd548517195dac01dc2333
treef4d92877e39e0ea679fae27568724c898d333dd7
parent243f893d08a16d4dd46ec22e71538aff32d40084
blk-mq: only apply active queue tag throttling for driver tags

If we have a scheduler attached, we have two sets of tags. We don't
want to apply our active queue throttling for the scheduler side
of tags, that only applies to driver tags since that's the resource
we need to dispatch an IO.

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