Re: [Qemu-devel] [RFC PATCH 11/16] qcow2: Add error handling to the l2meta coroutine

2012-09-18 Thread Paolo Bonzini
Il 18/09/2012 13:40, Kevin Wolf ha scritto: > Not exactly bisectable, but one large patch isn't much better either For better bisectability you could add the co_sleep_ns in a separate patch, later in the series. Paolo

[Qemu-devel] [RFC PATCH 11/16] qcow2: Add error handling to the l2meta coroutine

2012-09-18 Thread Kevin Wolf
Not exactly bisectable, but one large patch isn't much better either :-( m->error is used to allow bdrv_drain() to stop with l2meta in error state rather than go into an endless loop. Signed-off-by: Kevin Wolf --- block/qcow2.c | 44 block/qcow2.h