]> 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)
commitb833497ec2f447cae85f6f16f24908ec914dcad1
treef4d92877e39e0ea679fae27568724c898d333dd7
parent22d24cfe8a8dc7e74a005f1988e8942a5f5429ec
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