]> 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)
commitb708f0930523cb383014c4e13a52dd4ee1ac9348
treebfab790c1986205cbcdab48e341b379056bf7863
parentb7d21fbd91c02dde4a1822fa62726b11c488a79a
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