Re: [PATCH 2/3] lightnvm: allow targets to use sysfs

2017-01-30 Thread Matias Bjørling
On 01/26/2017 12:47 PM, Javier González wrote: > In order to register through the sysfs interface, a driver needs to know > its kobject. On a disk structure, this happens when the partition > information is added (device_add_disk), which for lightnvm takes place > after the target has been initiali

[PATCH 2/3] lightnvm: allow targets to use sysfs

2017-01-26 Thread Javier González
In order to register through the sysfs interface, a driver needs to know its kobject. On a disk structure, this happens when the partition information is added (device_add_disk), which for lightnvm takes place after the target has been initialized. This means that on target initialization, the kboj