On Jun 06, 2024 / 09:11, Gulam Mohamed wrote: > Hi Shinichiro, > > > -----Original Message----- > > From: Shinichiro Kawasaki <shinichiro.kawasaki@xxxxxxx> > > Sent: Thursday, June 6, 2024 11:33 AM > > To: Gulam Mohamed <gulam.mohamed@xxxxxxxxxx> > > Cc: linux-block@xxxxxxxxxxxxxxx; chaitanyak@xxxxxxxxxx > > Subject: Re: [PATCH V4 blktests] loop: Detect a race condition between loop > > detach and open > > > > On Jun 05, 2024 / 16:18, 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. > > > > > > Signed-off-by: Gulam Mohamed <gulam.mohamed@xxxxxxxxxx> > > > --- > > > v4<-v3: > > > 1. Resolved formatting issues > > > 2. Using long options for commands instead of short options > > > > Thank you for the v4 patch. Looks good to me. Before applying it, I will wait > > for some more days in case anyone has other comments. > > Thank you very much for reviewing all these versions. FYI, I've applied this patch. Please note that I folded in a minor change. When I took another look in the patch, I noticed that $TMPDIR was referred out of the test() function. Actually, $TMPDIR works only within test(), so I moved it into test(). Anyway, thank you for this work.