Re: [RFC patch v1 2/3] qemu-file: add buffered mode

2020-05-04 Thread Daniel P . Berrangé
On Mon, Apr 27, 2020 at 01:14:33PM +0100, Dr. David Alan Gilbert wrote: > * Denis Plotnikov (dplotni...@virtuozzo.com) wrote: > > The patch adds ability to qemu-file to write the data > > asynchronously to improve the performance on writing. > > Before, only synchronous writing was supported. > >

Re: [RFC patch v1 2/3] qemu-file: add buffered mode

2020-04-28 Thread Denis Plotnikov
On 28.04.2020 20:54, Dr. David Alan Gilbert wrote: * Denis Plotnikov (dplotni...@virtuozzo.com) wrote: On 27.04.2020 15:14, Dr. David Alan Gilbert wrote: * Denis Plotnikov (dplotni...@virtuozzo.com) wrote: The patch adds ability to qemu-file to write the data asynchronously to improve the

Re: [RFC patch v1 2/3] qemu-file: add buffered mode

2020-04-28 Thread Dr. David Alan Gilbert
* Denis Plotnikov (dplotni...@virtuozzo.com) wrote: > > > On 27.04.2020 15:14, Dr. David Alan Gilbert wrote: > > * Denis Plotnikov (dplotni...@virtuozzo.com) wrote: > > > The patch adds ability to qemu-file to write the data > > > asynchronously to improve the performance on writing. > > >

Re: [RFC patch v1 2/3] qemu-file: add buffered mode

2020-04-28 Thread Denis Plotnikov
On 27.04.2020 15:14, Dr. David Alan Gilbert wrote: * Denis Plotnikov (dplotni...@virtuozzo.com) wrote: The patch adds ability to qemu-file to write the data asynchronously to improve the performance on writing. Before, only synchronous writing was supported. Enabling of the asyncronous mode

Re: [RFC patch v1 2/3] qemu-file: add buffered mode

2020-04-27 Thread Dr. David Alan Gilbert
* Denis Plotnikov (dplotni...@virtuozzo.com) wrote: > The patch adds ability to qemu-file to write the data > asynchronously to improve the performance on writing. > Before, only synchronous writing was supported. > > Enabling of the asyncronous mode is managed by new > "enabled_buffered"

Re: [RFC patch v1 2/3] qemu-file: add buffered mode

2020-04-27 Thread Vladimir Sementsov-Ogievskiy
27.04.2020 11:19, Denis Plotnikov wrote: On 25.04.2020 12:10, Vladimir Sementsov-Ogievskiy wrote: 13.04.2020 14:12, Denis Plotnikov wrote: The patch adds ability to qemu-file to write the data asynchronously to improve the performance on writing. Before, only synchronous writing was

Re: [RFC patch v1 2/3] qemu-file: add buffered mode

2020-04-27 Thread Denis Plotnikov
On 25.04.2020 12:10, Vladimir Sementsov-Ogievskiy wrote: 13.04.2020 14:12, Denis Plotnikov wrote: The patch adds ability to qemu-file to write the data asynchronously to improve the performance on writing. Before, only synchronous writing was supported. Enabling of the asyncronous mode is

Re: [RFC patch v1 2/3] qemu-file: add buffered mode

2020-04-27 Thread Denis Plotnikov
On 25.04.2020 00:25, Eric Blake wrote: On 4/13/20 6:12 AM, Denis Plotnikov wrote: The patch adds ability to qemu-file to write the data asynchronously to improve the performance on writing. Before, only synchronous writing was supported. Enabling of the asyncronous mode is managed by new

Re: [RFC patch v1 2/3] qemu-file: add buffered mode

2020-04-25 Thread Vladimir Sementsov-Ogievskiy
13.04.2020 14:12, Denis Plotnikov wrote: The patch adds ability to qemu-file to write the data asynchronously to improve the performance on writing. Before, only synchronous writing was supported. Enabling of the asyncronous mode is managed by new "enabled_buffered" callback. Hmm. I don't

Re: [RFC patch v1 2/3] qemu-file: add buffered mode

2020-04-24 Thread Eric Blake
On 4/13/20 6:12 AM, Denis Plotnikov wrote: The patch adds ability to qemu-file to write the data asynchronously to improve the performance on writing. Before, only synchronous writing was supported. Enabling of the asyncronous mode is managed by new asynchronous "enabled_buffered" callback.

[RFC patch v1 2/3] qemu-file: add buffered mode

2020-04-13 Thread Denis Plotnikov
The patch adds ability to qemu-file to write the data asynchronously to improve the performance on writing. Before, only synchronous writing was supported. Enabling of the asyncronous mode is managed by new "enabled_buffered" callback. Signed-off-by: Denis Plotnikov --- include/qemu/typedefs.h