Re: [PATCH v2 4/5] progressmeter: protect with a mutex

2021-05-31 Thread Stefan Hajnoczi
On Tue, May 18, 2021 at 12:14:17PM +0200, Emanuele Giuseppe Esposito wrote: > On 18/05/2021 12:00, Vladimir Sementsov-Ogievskiy wrote: > > 18.05.2021 12:40, Emanuele Giuseppe Esposito wrote: > > > Progressmeter is protected by the AioContext mutex, which > > > is taken by the block jobs and their c

Re: [PATCH v2 4/5] progressmeter: protect with a mutex

2021-05-18 Thread Emanuele Giuseppe Esposito
On 18/05/2021 12:00, Vladimir Sementsov-Ogievskiy wrote: 18.05.2021 12:40, Emanuele Giuseppe Esposito wrote: Progressmeter is protected by the AioContext mutex, which is taken by the block jobs and their caller (like blockdev). We would like to remove the dependency of block layer code on th

Re: [PATCH v2 4/5] progressmeter: protect with a mutex

2021-05-18 Thread Vladimir Sementsov-Ogievskiy
18.05.2021 12:40, Emanuele Giuseppe Esposito wrote: Progressmeter is protected by the AioContext mutex, which is taken by the block jobs and their caller (like blockdev). We would like to remove the dependency of block layer code on the AioContext mutex, since most drivers and the core I/O code