blk-mq-sched: alloate reserved tags out of normal pool
authorJens Axboe <axboe@fb.com>
Thu, 27 Apr 2017 13:45:46 +0000 (07:45 -0600)
committerJens Axboe <axboe@fb.com>
Thu, 27 Apr 2017 13:45:46 +0000 (07:45 -0600)
commit339318080b028fe347c279672da63c1cd5e52044
treebfab790c1986205cbcdab48e341b379056bf7863
parenta4e84aae8139aca9fbfbced1f45c51ca81b57488
blk-mq-sched: alloate reserved tags out of normal pool

At least one driver, mtip32xx, has a hard coded dependency on
the value of the reserved tag used for internal commands. While
that should really be fixed up, for now let's ensure that we just
bypass the scheduler tags an allocation marked as reserved. They
are used for house keeping or error handling, so we can safely
ignore them in the scheduler.

Tested-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-mq-sched.c