]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - block/blk-mq.h
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 17:03:59 +0000 (10:03 -0700)
commit4941115bef2bc891aa00a2f0edeaf06dc982325a
tree5f69e1404d076096cf0f00eac8859db627c6fcdb
parent2c3ad667902ef6f4b60ef0a3c6f7d8c2b007769a
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