sbitmap: push alloc policy into sbitmap_queue
authorOmar Sandoval <osandov@fb.com>
Sat, 17 Sep 2016 08:28:24 +0000 (01:28 -0700)
committerJens Axboe <axboe@fb.com>
Sat, 17 Sep 2016 14:39:12 +0000 (08:39 -0600)
commitf4a644db86669d938c71f19560aebf69d4720d63
tree9a3f2df232414fdeae47881639ed1ed77406198a
parent40aabb67464d5aad9ca3d2a5fedee56e2ff45aa0
sbitmap: push alloc policy into sbitmap_queue

Again, there's no point in passing this in every time. Make it part of
struct sbitmap_queue and clean up the API.

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