]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita4f42ad79f7f16176a17251488902fa6885479d4
treebac5eeec638378121c08409c9a74b9f2f83088dc
parente6e9bc1a3cbd018f6a67f3c52a7622d324a9ddf6
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