Re: [PATCH 2/2] loop: Test to detect a race condition between loop detach and open

From: Christoph Hellwig
Date: Thu May 23 2024 - 04:12:46 EST


On Tue, May 21, 2024 at 10:42:49PM +0000, Gulam Mohamed wrote:
> When one process opens a loop device partition and another process detaches
> it, there will be a race condition due to which stale loop partitions are
> created causing IO errors. This test will detect the race

This isn't really a 2/2, but a single patch for a separate repository.