Re: [PATCHv3 0/5] genhd: register default groups with device_add_disk()

2018-09-27 Thread Bart Van Assche
On Fri, 2018-09-21 at 07:48 +0200, Christoph Hellwig wrote: > Can you resend this with the one easy fixup pointed out? It would > be good to finally get the race fix merged. Seconded. I also would like to see these patches being merged upstream. Bart.

Re: [PATCHv3 0/5] genhd: register default groups with device_add_disk()

2018-09-20 Thread Christoph Hellwig
Can you resend this with the one easy fixup pointed out? It would be good to finally get the race fix merged. On Wed, Sep 05, 2018 at 09:00:48AM +0200, Hannes Reinecke wrote: > device_add_disk() doesn't allow to register with default sysfs groups, > which introduces a race with udev as these

[PATCHv3 0/5] genhd: register default groups with device_add_disk()

2018-09-05 Thread Hannes Reinecke
device_add_disk() doesn't allow to register with default sysfs groups, which introduces a race with udev as these groups have to be created after the uevent has been sent. This patchset updates device_add_disk() to accept a 'groups' argument to avoid this race and updates the obvious drivers to