[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: |
Fam Zheng |
Subject: |
Re: [Qemu-devel] [PATCH V17 11/12] quorum: Add quorum_open() and quorum_close(). |
Date: |
Tue, 18 Feb 2014 12:06:57 +0800 |
User-agent: |
Mutt/1.5.22 (2013-10-16) |
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.
Fam
- Re: [Qemu-devel] [PATCH V17 04/12] blkverify: Extract qemu_iovec_clone() and qemu_iovec_compare() from blkverify., (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