Re: [PATCH v5 00/31] block layer: split block APIs in global state and I/O

2021-11-30 Thread Emanuele Giuseppe Esposito
On 29/11/2021 14:32, Stefan Hajnoczi wrote: On Wed, Nov 24, 2021 at 01:43:47AM -0500, Emanuele Giuseppe Esposito wrote: v5 -> v6: * In short, apply all Hanna's comments. More in details, the following functions in the following headers have been moved: block-backend:

Re: [PATCH v5 00/31] block layer: split block APIs in global state and I/O

2021-11-29 Thread Stefan Hajnoczi
On Wed, Nov 24, 2021 at 01:43:47AM -0500, Emanuele Giuseppe Esposito wrote: > v5 -> v6: > * In short, apply all Hanna's comments. More in details, > the following functions in the following headers have been moved: > block-backend: > blk_replace_bs (to gs) > blk_nb_sectors (to io) >

[PATCH v5 00/31] block layer: split block APIs in global state and I/O

2021-11-23 Thread Emanuele Giuseppe Esposito
Currently, block layer APIs like block.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/or