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)
commit200e86b3372b51e136a382e007b6b904b1dac7e4
treef4d92877e39e0ea679fae27568724c898d333dd7
parent1cf417530375b475d4a8a9f18dc0867f91e52d78
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