On 05/27/2016 12:06 AM, Dan Williams wrote:
On Thu, May 26, 2016 at 2:50 PM, Matias Bjørling <m@xxxxxxxxxxx> wrote:
On 05/26/2016 09:05 PM, Dan Williams wrote:
[..]
In that case, the holder kobject is maintained by the request queue. That
moves the block device naming earlier in the initialization process, and the
request queue would properly need to hold the (struct gendisk)->diskname. I
wonder if there is a better way.
I don't see why it is necessary to move the block device naming
earlier. The block device kobject can link to the mq/ kobject created
by lightnvm rather than include it as a child of the gendisk.
You're right. I'll cook up some RFC patches with the changes. Thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-block" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html