Il 14/06/2013 13:43, Stefan Hajnoczi ha scritto:
If a block driver has no file descriptors to monitor but there are still
active requests, it can return 1 from .io_flush(). This is used to spin
during synchronous I/O.
Stop relying on .io_flush() and instead check
On Thu, Jun 27, 2013 at 03:13:19PM +0200, Paolo Bonzini wrote:
Il 14/06/2013 13:43, Stefan Hajnoczi ha scritto:
If a block driver has no file descriptors to monitor but there are still
active requests, it can return 1 from .io_flush(). This is used to spin
during synchronous I/O.
Stop
If a block driver has no file descriptors to monitor but there are still
active requests, it can return 1 from .io_flush(). This is used to spin
during synchronous I/O.
Stop relying on .io_flush() and instead check
QLIST_EMPTY(bs-tracked_requests) to decide whether there are active
requests.