Re: [RFC PATCH 0/4] block layer: split block APIs in graph and I/O

2021-09-16 Thread Paolo Bonzini
I think either -global or -global-state. Paolo Il gio 16 set 2021, 16:03 Emanuele Giuseppe Esposito ha scritto: > > > On 15/09/2021 16:43, Stefan Hajnoczi wrote: > > On Wed, Sep 15, 2021 at 02:11:41PM +0200, Paolo Bonzini wrote: > >> On 13/09/21 15:10, Stefan Hajnoczi wrote: > >>> On Wed, Sep

Re: [RFC PATCH 0/4] block layer: split block APIs in graph and I/O

2021-09-16 Thread Emanuele Giuseppe Esposito
On 15/09/2021 16:43, Stefan Hajnoczi wrote: On Wed, Sep 15, 2021 at 02:11:41PM +0200, Paolo Bonzini wrote: On 13/09/21 15:10, Stefan Hajnoczi wrote: On Wed, Sep 08, 2021 at 09:10:17AM -0400, Emanuele Giuseppe Esposito wrote: Currently, block layer APIs like block-backend.h contain a mix of

Re: [RFC PATCH 0/4] block layer: split block APIs in graph and I/O

2021-09-15 Thread Stefan Hajnoczi
On Wed, Sep 15, 2021 at 02:11:41PM +0200, Paolo Bonzini wrote: > On 13/09/21 15:10, Stefan Hajnoczi wrote: > > On Wed, Sep 08, 2021 at 09:10:17AM -0400, Emanuele Giuseppe Esposito wrote: > > > Currently, block layer APIs like block-backend.h contain a mix of > > > functions that are either running

Re: [RFC PATCH 0/4] block layer: split block APIs in graph and I/O

2021-09-15 Thread Paolo Bonzini
On 13/09/21 15:10, Stefan Hajnoczi wrote: On Wed, Sep 08, 2021 at 09:10:17AM -0400, Emanuele Giuseppe Esposito wrote: Currently, block layer APIs like block-backend.h contain a mix of functions that are either running in the main loop and under the BQL, or are thread-safe functions and run in io

Re: [RFC PATCH 0/4] block layer: split block APIs in graph and I/O

2021-09-13 Thread Stefan Hajnoczi
Thanks, marking block layers APIs that require the BQL and those that don't is an important step. I have posted comments. Stefan signature.asc Description: PGP signature

Re: [RFC PATCH 0/4] block layer: split block APIs in graph and I/O

2021-09-13 Thread Stefan Hajnoczi
On Wed, Sep 08, 2021 at 09:10:17AM -0400, Emanuele Giuseppe Esposito wrote: > Currently, block layer APIs like block-backend.h contain a mix of > functions that are either running in the main loop and under the > BQL, or are thread-safe functions and run in iothreads performing I/O. > The functions

[RFC PATCH 0/4] block layer: split block APIs in graph and I/O

2021-09-08 Thread Emanuele Giuseppe Esposito
Currently, block layer APIs like block-backend.h contain a mix of functions that are either running in the main loop and under the BQL, or are thread-safe functions and run in iothreads performing I/O. The functions running under BQL also take care of modifying the block graph, by using drain and/o