Re: [PATCH v5 09/20] jobs: add job lock in find_* functions

2022-02-24 Thread Emanuele Giuseppe Esposito
On 17/02/2022 16:00, Stefan Hajnoczi wrote: > On Tue, Feb 08, 2022 at 09:35:02AM -0500, Emanuele Giuseppe Esposito wrote: >> diff --git a/blockdev.c b/blockdev.c >> index c5fba4d157..08408cd44b 100644 >> --- a/blockdev.c >> +++ b/blockdev.c >> @@ -3311,7 +3311,10 @@ out: >> aio_context_rele

Re: [PATCH v5 09/20] jobs: add job lock in find_* functions

2022-02-17 Thread Stefan Hajnoczi
On Tue, Feb 08, 2022 at 09:35:02AM -0500, Emanuele Giuseppe Esposito wrote: > diff --git a/blockdev.c b/blockdev.c > index c5fba4d157..08408cd44b 100644 > --- a/blockdev.c > +++ b/blockdev.c > @@ -3311,7 +3311,10 @@ out: > aio_context_release(aio_context); > } > > -/* Get a block job using