Re: [RFC PATCH 3/6] Convert query-block/info_block to coroutine

2023-05-26 Thread Fabiano Rosas
Eric Blake writes: > On Tue, May 23, 2023 at 06:39:00PM -0300, Fabiano Rosas wrote: >> From: Lin Ma >> >> Sometimes the query-block performs time-consuming I/O(say waiting for >> the fstat of NFS complete), So let's make this QMP handler runs in a >> coroutine. > > Grammar suggestions: > > Some

Re: [RFC PATCH 3/6] Convert query-block/info_block to coroutine

2023-05-25 Thread Eric Blake
On Tue, May 23, 2023 at 06:39:00PM -0300, Fabiano Rosas wrote: > From: Lin Ma > > Sometimes the query-block performs time-consuming I/O(say waiting for > the fstat of NFS complete), So let's make this QMP handler runs in a > coroutine. Grammar suggestions: Sometimes the query-block command perf

Re: [RFC PATCH 3/6] Convert query-block/info_block to coroutine

2023-05-24 Thread Claudio Fontana
On 5/23/23 23:39, Fabiano Rosas wrote: > From: Lin Ma > > Sometimes the query-block performs time-consuming I/O(say waiting for > the fstat of NFS complete), So let's make this QMP handler runs in a > coroutine. > > The following patch moves the fstat() into a thread pool. Hi, this message tal

[RFC PATCH 3/6] Convert query-block/info_block to coroutine

2023-05-23 Thread Fabiano Rosas
From: Lin Ma Sometimes the query-block performs time-consuming I/O(say waiting for the fstat of NFS complete), So let's make this QMP handler runs in a coroutine. The following patch moves the fstat() into a thread pool. Signed-off-by: Lin Ma Signed-off-by: Fabiano Rosas --- block/monitor/bl