Re: [PATCH v3 1/3] loop: fix partition scan race between udev and loop_reread_partitions()

Jens Axboe
2026-03-31T13:07:27Z

On Tue, 31 Mar 2026 10:51:28 +0000, Daan De Meyer wrote:
> When LOOP_CONFIGURE is called with LO_FLAGS_PARTSCAN, the following
> sequence occurs:
>
> 1. disk_force_media_change() sets GD_NEED_PART_SCAN
> 2. Uevent suppression is lifted and a KOBJ_CHANGE uevent is sent
> 3. loop_global_unlock() releases the lock
> 4. loop_reread_partitions() calls bdev_disk_changed() to scan
>
> [...]

Applied, thanks!

[1/3] loop: fix partition scan race between udev and loop_reread_partitions()
commit: 267ec4d7223a783f029a980f41b93c39b17996da

Best regards,
--
Jens Axboe