[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH V17 11/12] quorum: Add quorum_open() and quorum_
From: |
Benoît Canet |
Subject: |
Re: [Qemu-devel] [PATCH V17 11/12] quorum: Add quorum_open() and quorum_close(). |
Date: |
Tue, 18 Feb 2014 13:31:40 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
The Tuesday 18 Feb 2014 à 12:06:57 (+0800), Fam Zheng wrote :
> On Thu, 02/13 10:09, Benoît Canet wrote:
> > The Wednesday 12 Feb 2014 à 23:06:38 (+0100), Benoît Canet wrote :
> > > +static void quorum_close(BlockDriverState *bs)
> > > +{
> > > + BDRVQuorumState *s = bs->opaque;
> > > + int i;
> > > +
> > > + for (i = 0; i < s->num_children; i++) {
> > > + bdrv_unref(s->bs[i]);
> > Quorum crash here from time to time I don't understand why.
>
> I think you could add printf or use gdb to examine every bdrv_unref on the
> crashing bs, so you can track down to the unbalanced reference.
I found the cause of the crash since: I added a spurious QDECREF() in the
external snapshot prepare function.
It's fixed now.
Thanks,
Benoît
>
> Fam
- [Qemu-devel] [PATCH V17 12/12] quorum: Add unit test., (continued)
- [Qemu-devel] [PATCH V17 12/12] quorum: Add unit test., Benoît Canet, 2014/02/12
- [Qemu-devel] [PATCH V17 07/12] quorum: Add quorum_getlength()., Benoît Canet, 2014/02/12
- [Qemu-devel] [PATCH V17 10/12] quorum: Implement recursive .bdrv_recurse_is_first_non_filter in quorum., Benoît Canet, 2014/02/12
- [Qemu-devel] [PATCH V17 09/12] quorum: Add quorum_co_flush()., Benoît Canet, 2014/02/12
- [Qemu-devel] [PATCH V17 06/12] quorum: Add quorum mechanism., Benoît Canet, 2014/02/12
- [Qemu-devel] [PATCH V17 11/12] quorum: Add quorum_open() and quorum_close()., Benoît Canet, 2014/02/12
- Re: [Qemu-devel] [PATCH V17 11/12] quorum: Add quorum_open() and quorum_close()., Max Reitz, 2014/02/14
- Re: [Qemu-devel] [PATCH V17 00/12] quorum block filter, Max Reitz, 2014/02/14