blk-mq-tag: cleanup the normal/reserved tag allocation
authorJens Axboe <axboe@fb.com>
Fri, 13 Jan 2017 15:09:05 +0000 (08:09 -0700)
committerJens Axboe <axboe@fb.com>
Tue, 17 Jan 2017 16:56:16 +0000 (09:56 -0700)
commitfd7d318e9dd864cd4ef1e1d80e18f301cfb24568
tree88aba190be04d0bf6f1ff8161c07bb125981b4d6
parentdd79fd301707ddf0c5fff00c25fe0bc5413121d1
blk-mq-tag: cleanup the normal/reserved tag allocation

This is in preparation for having another tag set available. Cleanup
the parameters, and allow passing in of tags for blk_mq_put_tag().

Signed-off-by: Jens Axboe <axboe@fb.com>
[hch: even more cleanups]
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Omar Sandoval <osandov@fb.com>
block/blk-mq-tag.c
block/blk-mq-tag.h
block/blk-mq.c
block/blk-mq.h