commit | 9ae2d0aa5046c67dd37cf4b70998ad296e718835 | [log] [tgz] |
---|---|---|
author | Matias Bjørling <m@bjorling.me> | Fri Sep 16 14:25:05 2016 +0200 |
committer | Jens Axboe <axboe@fb.com> | Wed Sep 21 07:56:14 2016 -0600 |
tree | 9fea1fbc1e84f22f14a0810f6fbd394273a34694 | |
parent | ac81bfa9867103c9d50996ec21fa9179b81b727e [diff] |
null_blk: refactor to support non-gendisk devices With LightNVM enabled devices, the gendisk structure is not exposed to the user. This hides the device driver specific sysfs entries, and prevents binding of LightNVM geometry information to the device. Refactor the device registration process, so that gendisk and non-gendisk devices are easily managed. Signed-off-by: Matias Bjørling <m@bjorling.me> Signed-off-by: Jens Axboe <axboe@fb.com>