[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] segfault in aio_bh_poll async.c:80 WAS: Re: kvm process
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] segfault in aio_bh_poll async.c:80 WAS: Re: kvm process disappears |
Date: |
Wed, 22 May 2013 10:41:15 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130514 Thunderbird/17.0.6 |
Il 22/05/2013 08:26, Stefan Priebe - Profihost AG ha scritto:
>> Hi,
>>
>> as i can't reproduce no ;-( i just saw the kernel segfault message and
>> used addr2line and a qemu dbg package to get the code line.
>
> I've now seen this again for two or three times. It always happens
> when we do an fstrim inside the guest.
> And I've seen this first since josh async rbd patch.
This one?
commit dc7588c1eb3008bda53dde1d6b890cd299758155
Author: Josh Durgin <address@hidden>
Date: Fri Mar 29 13:03:23 2013 -0700
rbd: add an asynchronous flush
The existing bdrv_co_flush_to_disk implementation uses rbd_flush(),
which is sychronous and causes the main qemu thread to block until it
is complete. This results in unresponsiveness and extra latency for
the guest.
Fix this by using an asynchronous version of flush. This was added to
librbd with a special #define to indicate its presence, since it will
be backported to stable versions. Thus, there is no need to check the
version of librbd.
Implement this as bdrv_aio_flush, since it matches other aio functions
in the rbd block driver, and leave out bdrv_co_flush_to_disk when the
asynchronous version is available.
Reported-by: Oliver Francke <address@hidden>
Signed-off-by: Josh Durgin <address@hidden>
Signed-off-by: Stefan Hajnoczi <address@hidden>
Do you see it even with "-drive discard=off"?
Paolo
- Re: [Qemu-devel] [pve-devel] kvm process disappears, (continued)
Re: [Qemu-devel] kvm process disappears, Stefan Hajnoczi, 2013/05/10
- Re: [Qemu-devel] kvm process disappears, Stefan Priebe - Profihost AG, 2013/05/10
- Re: [Qemu-devel] kvm process disappears, Stefan Hajnoczi, 2013/05/10
- [Qemu-devel] segfault in aio_bh_poll async.c:80 WAS: Re: kvm process disappears, Stefan Priebe - Profihost AG, 2013/05/14
- Re: [Qemu-devel] segfault in aio_bh_poll async.c:80 WAS: Re: kvm process disappears, Stefan Hajnoczi, 2013/05/14
- Re: [Qemu-devel] segfault in aio_bh_poll async.c:80 WAS: Re: kvm process disappears, Stefan Priebe - Profihost AG, 2013/05/14
- Re: [Qemu-devel] segfault in aio_bh_poll async.c:80 WAS: Re: kvm process disappears, Stefan Priebe - Profihost AG, 2013/05/22
- Re: [Qemu-devel] segfault in aio_bh_poll async.c:80 WAS: Re: kvm process disappears,
Paolo Bonzini <=
- Re: [Qemu-devel] segfault in aio_bh_poll async.c:80 WAS: Re: kvm process disappears, Stefan Priebe - Profihost AG, 2013/05/22
- Re: [Qemu-devel] segfault in aio_bh_poll async.c:80 WAS: Re: kvm process disappears, Paolo Bonzini, 2013/05/23
- Re: [Qemu-devel] segfault in aio_bh_poll async.c:80 WAS: Re: kvm process disappears, Stefan Priebe, 2013/05/23
Re: [Qemu-devel] kvm process disappears, Stefan Priebe, 2013/05/27
Re: [Qemu-devel] kvm process disappears, Stefan Hajnoczi, 2013/05/28