Re: [Qemu-devel] [PATCH v2] block: move I/O request processing to block/io.c

2015-02-18 Thread Stefan Hajnoczi
On Tue, Feb 17, 2015 at 09:12:45AM -0700, Eric Blake wrote: > On 02/17/2015 07:39 AM, Stefan Hajnoczi wrote: > > -void bdrv_drain_all(void) > > -{ > > -/* Always run first iteration so any pending completion BHs run */ > > -bool busy = true; > > -BlockDriverState *bs; > > - > > -whi

Re: [Qemu-devel] [PATCH v2] block: move I/O request processing to block/io.c

2015-02-17 Thread Eric Blake
On 02/17/2015 07:39 AM, Stefan Hajnoczi wrote: > The block.c file has grown to over 6000 lines. It is time to split this > file so there are fewer conflicts and the code is easier to maintain. > > Extract I/O request processing code: > * Read > * Write > * Zero writes and making the image empt