sbitmap: add helpers for dumping to a seq_file
authorOmar Sandoval <osandov@fb.com>
Wed, 25 Jan 2017 22:32:13 +0000 (14:32 -0800)
committerJens Axboe <axboe@fb.com>
Fri, 27 Jan 2017 15:17:44 +0000 (08:17 -0700)
commit24af1ccfe12adddbe17d11801e1689791a4cc282
tree6a1620d0d780d0fbdf1e89d7dbfcb3ef401cba3f
parent7b3938524cfbd7abd1814d879ecfcd2e2a9aa775
sbitmap: add helpers for dumping to a seq_file

This is useful debugging information that will be used in the blk-mq
debugfs directory.

Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Omar Sandoval <osandov@fb.com>
Changed 'weight' to 'busy'.

Signed-off-by: Jens Axboe <axboe@fb.com>
include/linux/sbitmap.h
lib/sbitmap.c