Re: [Qemu-devel] [PATCH 11/14] buffered_file: don't flush on put buffer

2012-09-21 Thread Eric Blake
On 09/21/2012 09:34 AM, Paolo Bonzini wrote: > Il 21/09/2012 16:08, Juan Quintela ha scritto: >> We call buffered_put_buffer with iothread held, and buffered_flush() does >> synchronous writes. We only want to do the synchronous writes outside. >> > > This means that the buffer can grow to up to

Re: [Qemu-devel] [PATCH 11/14] buffered_file: don't flush on put buffer

2012-09-21 Thread Paolo Bonzini
Il 21/09/2012 16:08, Juan Quintela ha scritto: > We call buffered_put_buffer with iothread held, and buffered_flush() does > synchronous writes. We only want to do the synchronous writes outside. > > Signed-off-by: Juan Quintela > --- > buffered_file.c | 6 -- > 1 file changed, 6 deletions(

[Qemu-devel] [PATCH 11/14] buffered_file: don't flush on put buffer

2012-09-21 Thread Juan Quintela
We call buffered_put_buffer with iothread held, and buffered_flush() does synchronous writes. We only want to do the synchronous writes outside. Signed-off-by: Juan Quintela --- buffered_file.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/buffered_file.c b/buffered_file.c index f4a7