Re: [PATCH v2] block: Suppress uevent for hidden device when removed

2021-03-11 Thread Jens Axboe
On 3/11/21 8:19 AM, Daniel Wagner wrote: > register_disk() suppress uevents for devices with the GENHD_FL_HIDDEN > but enables uevents at the end again in order to announce disk after > possible partitions are created. > > When the device is removed the uevents are still on and user land sees >

Re: [PATCH v2] block: Suppress uevent for hidden device when removed

2021-03-11 Thread Martin Wilck
On Thu, 2021-03-11 at 16:19 +0100, Daniel Wagner wrote: > register_disk() suppress uevents for devices with the GENHD_FL_HIDDEN > but enables uevents at the end again in order to announce disk after > possible partitions are created. > > When the device is removed the uevents are still on and

Re: [PATCH v2] block: Suppress uevent for hidden device when removed

2021-03-11 Thread Christoph Hellwig
Looks good, Reviewed-by: Christoph Hellwig

[PATCH v2] block: Suppress uevent for hidden device when removed

2021-03-11 Thread Daniel Wagner
register_disk() suppress uevents for devices with the GENHD_FL_HIDDEN but enables uevents at the end again in order to announce disk after possible partitions are created. When the device is removed the uevents are still on and user land sees 'remove' messages for devices which were never 'add'ed