Matias Bjørling b0b4e09c1a lightnvm: control life of nvm_dev in driver
LightNVM compatible device drivers does not have a method to expose
LightNVM specific sysfs entries.

To enable LightNVM sysfs entries to be exposed, lightnvm device
drivers require a struct device to attach it to. To allow both the
actual device driver and lightnvm sysfs entries to coexist, the device
driver tracks the lifetime of the nvm_dev structure.

This patch refactors NVMe and null_blk to handle the lifetime of struct
nvm_dev, which eliminates the need for struct gendisk when a lightnvm
compatible device is provided.

Signed-off-by: Matias Bjørling <m@bjorling.me>
Signed-off-by: Jens Axboe <axboe@fb.com>
2016-09-21 07:56:18 -06:00
..
2016-08-07 14:41:02 -06:00
2016-06-27 12:26:08 -07:00
2016-06-27 12:26:08 -07:00
2014-08-08 15:57:28 -07:00
2016-03-14 09:06:01 -06:00
2015-09-23 11:01:16 -06:00
2016-03-15 15:59:47 -07:00
2016-08-07 14:41:02 -06:00
2016-06-27 12:26:08 -07:00
2016-06-27 12:26:08 -07:00
2016-08-09 17:26:47 +02:00
2016-06-27 12:26:08 -07:00
2013-11-08 09:10:30 -07:00
2016-06-27 12:26:08 -07:00
2016-08-07 14:41:02 -06:00