qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Re: [PATCH]: fix QEMU SCSI lock up


From: Avi Kivity
Subject: Re: [Qemu-devel] Re: [PATCH]: fix QEMU SCSI lock up
Date: Thu, 16 Oct 2008 17:25:57 +0200
User-agent: Thunderbird 2.0.0.16 (X11/20080723)

Avi Kivity wrote:
Anthony Liguori wrote:
For reasons that I do not fully understand, bdrv_aio_read() does
not return immediately, but instead it calls scsi_read_data()
recursively.
This bothers me.  bdrv_aio_read() should never immediately invoke the
callback to prevent exactly this sort of problem.  Perhaps this was a
bug that has since been fixed?  Is this still reproducible?

qcow2 metadata is synchronous, and if the disk is empty, there will be
no data I/O, so bdrv_aio_read() will never be invoked.

Maybe we should fix this in qcow2 (and the other block formats) by
scheduling a BH.

FWIW, I was told this reproduces on kvm-77 (which has the latest qemu scsi bits).

--
error compiling committee.c: too many arguments to function





reply via email to

[Prev in Thread] Current Thread [Next in Thread]