]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - block/blk-mq.h
blk-mq: add shallow depth option for blk_mq_get_tag()
authorOmar Sandoval <osandov@fb.com>
Fri, 14 Apr 2017 07:59:59 +0000 (00:59 -0700)
committerJens Axboe <axboe@fb.com>
Fri, 14 Apr 2017 20:06:54 +0000 (14:06 -0600)
commit229a92873f3afc20b0d91aaaec08cbc11689dd8b
tree399e4d8109e92ec0ea8069dd2d331328a2c2c284
parentc05e66733788118377c21a913c1bc7b64bccc167
blk-mq: add shallow depth option for blk_mq_get_tag()

Wire up the sbitmap_get_shallow() operation to the tag code so that a
caller can limit the number of tags available to it.

Signed-off-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-mq-tag.c
block/blk-mq.h