[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Re: qemu-kvm hangs if multipath device is queing
From: |
Kevin Wolf |
Subject: |
[Qemu-devel] Re: qemu-kvm hangs if multipath device is queing |
Date: |
Wed, 19 May 2010 09:48:47 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100430 Fedora/3.0.4-2.fc12 Thunderbird/3.0.4 |
Am 19.05.2010 09:29, schrieb Christoph Hellwig:
> On Tue, May 18, 2010 at 03:22:36PM +0200, Kevin Wolf wrote:
>> I think it's stuck here in an endless loop:
>>
>> while (laiocb->ret == -EINPROGRESS)
>> qemu_laio_completion_cb(laiocb->ctx);
>>
>> Can you verify this by single-stepping one or two loop iterations? ret
>> and errno after the read call could be interesting, too.
>
> Maybe the compiler is just too smart. Without some form of barrier
> it could just optimize the loop away as laiocb->ret couldn't change
> in a normal single-threaded environment.
It probably could in theory, but in practice we're in a read() inside
qemu_laio_completion, so it didn't do it here.
Kevin
- Re: [Qemu-devel] Qemu-KVM 0.12.3 and Multipath -> Assertion, (continued)
- Re: [Qemu-devel] Qemu-KVM 0.12.3 and Multipath -> Assertion, Peter Lieven, 2010/05/04
- Re: [Qemu-devel] Qemu-KVM 0.12.3 and Multipath -> Assertion, Kevin Wolf, 2010/05/04
- Re: [Qemu-devel] Qemu-KVM 0.12.3 and Multipath -> Assertion, Christoph Hellwig, 2010/05/04
- Re: [Qemu-devel] Qemu-KVM 0.12.3 and Multipath -> Assertion, Peter Lieven, 2010/05/18
- Re: [Qemu-devel] Qemu-KVM 0.12.3 and Multipath -> Assertion, Kevin Wolf, 2010/05/18
- qemu-kvm hangs if multipath device is queing (was: Re: [Qemu-devel] Qemu-KVM 0.12.3 and Multipath -> Assertion), Peter Lieven, 2010/05/12
- [Qemu-devel] Re: qemu-kvm hangs if multipath device is queing, Kevin Wolf, 2010/05/14
- [Qemu-devel] Re: qemu-kvm hangs if multipath device is queing, Peter Lieven, 2010/05/18
- [Qemu-devel] Re: qemu-kvm hangs if multipath device is queing, Kevin Wolf, 2010/05/18
- [Qemu-devel] Re: qemu-kvm hangs if multipath device is queing, Christoph Hellwig, 2010/05/19
- [Qemu-devel] Re: qemu-kvm hangs if multipath device is queing,
Kevin Wolf <=
- [Qemu-devel] Re: qemu-kvm hangs if multipath device is queing, Peter Lieven, 2010/05/19
- Re: [Qemu-devel] Re: qemu-kvm hangs if multipath device is queing, Peter Lieven, 2010/05/23
- Re: [Qemu-devel] Qemu-KVM 0.12.3 and Multipath -> Assertion, André Weidemann, 2010/05/08
[Qemu-devel] Re: Qemu-KVM 0.12.3 and Multipath -> Assertion, André Weidemann, 2010/05/04