]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6d1760215489c1c2e00c5221a0af69d70e8a5955
treebfab790c1986205cbcdab48e341b379056bf7863
parent2716139f86f7dfcd08abaee49db479ef6d80396e
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