[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID:
<IA1PR10MB724097C91AE5905FE60D964898CF2@IA1PR10MB7240.namprd10.prod.outlook.com>
Date: Wed, 19 Jun 2024 09:00:44 +0000
From: Gulam Mohamed <gulam.mohamed@...cle.com>
To: Christoph Hellwig <hch@....de>
CC: "linux-block@...r.kernel.org" <linux-block@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"yukuai1@...weicloud.com" <yukuai1@...weicloud.com>,
"axboe@...nel.dk"
<axboe@...nel.dk>
Subject: RE: [PATCH V6 for-6.11/block] loop: Fix a race between loop detach
and loop open
> -----Original Message-----
> From: Christoph Hellwig <hch@....de>
> Sent: Wednesday, June 19, 2024 1:57 PM
> To: Gulam Mohamed <gulam.mohamed@...cle.com>
> Cc: Christoph Hellwig <hch@....de>; linux-block@...r.kernel.org; linux-
> kernel@...r.kernel.org; yukuai1@...weicloud.com; axboe@...nel.dk
> Subject: Re: [PATCH V6 for-6.11/block] loop: Fix a race between loop detach
> and loop open
>
> On Wed, Jun 19, 2024 at 08:21:35AM +0000, Gulam Mohamed wrote:
> > > To: Gulam Mohamed <gulam.mohamed@...cle.com>
> > > Cc: linux-block@...r.kernel.org; linux-kernel@...r.kernel.org;
> > > yukuai1@...weicloud.com; hch@....de; axboe@...nel.dk
> > > Subject: Re: [PATCH V6 for-6.11/block] loop: Fix a race between loop
> > > detach and loop open
> > >
> > > Do we need the re-addition of the open method to fix the ltp test
> > > case? I kinda hate it, but if that is what it takes:
> > >
> > I don't think its needed but I kept it because your following comment in the
> suggested change says " switch the state to roundown here to prevent new
> openers from coming in":
>
> Let's keep it. I meant to say new I/O coming in, but letting a new opener
> come in and then fail I/O isn't really nice behavior.
Thanks Christoph.
Regards,
Gulam Mohamed.
Powered by blists - more mailing lists