nullb: use ida to manage index
authorShaohua Li <shli@fb.com>
Mon, 14 Aug 2017 22:04:55 +0000 (15:04 -0700)
committerJens Axboe <axboe@kernel.dk>
Wed, 23 Aug 2017 14:54:05 +0000 (08:54 -0600)
commit94bc02e30fb8d04429ecf91820abbea0eb5c4ee1
treebac5eeec638378121c08409c9a74b9f2f83088dc
parentcedcafad8277b3a07e90bf2f68fff5c6b28a183e
nullb: use ida to manage index

We now dynamically create disks. Managing the disk index with ida to
avoid bump up the index too much.

Signed-off-by: Shaohua Li <shli@fb.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/null_blk.c