From: Changlong Xie <xiecl.fnst@cn.fujitsu.com>
To: Kevin Wolf <kwolf@redhat.com>
Cc: qemu devel <qemu-devel@nongnu.org>,
qemu block <qemu-block@nongnu.org>,
Stefan Hajnoczi <stefanha@redhat.com>,
Fam Zheng <famz@redhat.com>, Max Reitz <mreitz@redhat.com>,
Jeff Cody <jcody@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>,
John Snow <jsnow@redhat.com>, Eric Blake <eblake@redhat.com>,
Markus Armbruster <armbru@redhat.com>,
"Dr. David Alan Gilbert" <dgilbert@redhat.com>,
Dong Eddie <eddie.dong@intel.com>,
Jiang Yunhong <yunhong.jiang@intel.com>,
zhanghailiang <zhang.zhanghailiang@huawei.com>,
Gonglei <arei.gonglei@huawei.com>,
Wen Congyang <wency@cn.fujitsu.com>,
Wang Weiwei <wangww.fnst@cn.fujitsu.com>
Subject: Re: [Qemu-devel] [PATCH v24 11/12] support replication driver in blockdev-add
Date: Mon, 15 Aug 2016 17:32:19 +0800 [thread overview]
Message-ID: <57B18C23.50200@cn.fujitsu.com> (raw)
In-Reply-To: <20160815083739.GA6024@noname.str.redhat.com>
On 08/15/2016 04:37 PM, Kevin Wolf wrote:
> Am 15.08.2016 um 03:49 hat Changlong Xie geschrieben:
>> On 08/09/2016 05:08 PM, Kevin Wolf wrote:
>>> Am 27.07.2016 um 09:01 hat Changlong Xie geschrieben:
>>>> From: Wen Congyang <wency@cn.fujitsu.com>
>>>>
>>>> Signed-off-by: Wen Congyang <wency@cn.fujitsu.com>
>>>> Signed-off-by: Changlong Xie <xiecl.fnst@cn.fujitsu.com>
>>>> Signed-off-by: Wang WeiWei <wangww.fnst@cn.fujitsu.com>
>>>> Signed-off-by: zhanghailiang <zhang.zhanghailiang@huawei.com>
>>>> Signed-off-by: Gonglei <arei.gonglei@huawei.com>
>>>> Reviewed-by: Eric Blake <eblake@redhat.com>
>>>
>>>> @@ -2078,6 +2079,23 @@
>>>> { 'enum' : 'ReplicationMode', 'data' : [ 'primary', 'secondary' ] }
>>>>
>>>> ##
>>>> +# @BlockdevOptionsReplication
>>>> +#
>>>> +# Driver specific block device options for replication
>>>> +#
>>>> +# @mode: the replication mode
>>>> +#
>>>> +# @top-id: #optional In secondary mode, node name or device ID of the root
>>>> +# node who owns the replication node chain. Ignored in primary mode.
>>>
>>> Can we change this to "Must not be given in primary mode"? Not sure what
>>> the code currently does, but I think it should error out if top-id is
>>
>> Replication driver will ignore "top-id" parameter in Primary mode.
>
> This is not good behaviour, which is why I requested a change.
>
Hi stefan
Would you like me send another [PATCH v25] based your block-next? Or a
separate patch until your tree is merged.
Thanks
-Xie
> Kevin
>
>>> given there.
>>>
>>>> +#
>>>> +# Since: 2.8
>>>> +##
>>>> +{ 'struct': 'BlockdevOptionsReplication',
>>>> + 'base': 'BlockdevOptionsGenericFormat',
>>>> + 'data': { 'mode': 'ReplicationMode',
>>>> + '*top-id': 'str' } }
>>>
>>> Kevin
>
>
> .
>
next prev parent reply other threads:[~2016-08-15 9:26 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-27 7:01 [Qemu-devel] [PATCH v24 00/12] Block replication for continuous checkpoints Changlong Xie
2016-07-27 7:01 ` [Qemu-devel] [PATCH v24 01/12] unblock backup operations in backing file Changlong Xie
2016-08-04 9:46 ` Stefan Hajnoczi
2016-08-16 13:13 ` Kashyap Chamarthy
2016-07-27 7:01 ` [Qemu-devel] [PATCH v24 02/12] Backup: clear all bitmap when doing block checkpoint Changlong Xie
2016-08-04 9:47 ` Stefan Hajnoczi
2016-08-16 12:55 ` Kashyap Chamarthy
2016-08-16 13:10 ` Kashyap Chamarthy
2016-07-27 7:01 ` [Qemu-devel] [PATCH v24 03/12] Backup: export interfaces for extra serialization Changlong Xie
2016-08-04 9:53 ` Stefan Hajnoczi
2016-07-27 7:01 ` [Qemu-devel] [PATCH v24 04/12] Link backup into block core Changlong Xie
2016-07-27 7:01 ` [Qemu-devel] [PATCH v24 05/12] docs: block replication's description Changlong Xie
2016-08-04 9:55 ` Stefan Hajnoczi
2016-07-27 7:01 ` [Qemu-devel] [PATCH v24 06/12] auto complete active commit Changlong Xie
2016-07-27 7:01 ` [Qemu-devel] [PATCH v24 07/12] configure: support replication Changlong Xie
2016-07-27 7:01 ` [Qemu-devel] [PATCH v24 08/12] Introduce new APIs to do replication operation Changlong Xie
2016-07-27 7:01 ` [Qemu-devel] [PATCH v24 09/12] Implement new driver for block replication Changlong Xie
2016-07-27 7:01 ` [Qemu-devel] [PATCH v24 10/12] tests: add unit test case for replication Changlong Xie
2016-07-27 7:01 ` [Qemu-devel] [PATCH v24 11/12] support replication driver in blockdev-add Changlong Xie
2016-08-09 9:08 ` Kevin Wolf
2016-08-15 1:49 ` Changlong Xie
2016-08-15 8:37 ` Kevin Wolf
2016-08-15 9:32 ` Changlong Xie [this message]
2016-09-12 14:01 ` [Qemu-devel] [Qemu-block] " Stefan Hajnoczi
2016-09-28 1:53 ` wangweiwei
2016-07-27 7:01 ` [Qemu-devel] [PATCH v24 12/12] MAINTAINERS: add maintainer for replication Changlong Xie
2016-08-08 14:50 ` [Qemu-devel] [Qemu-block] [PATCH v24 00/12] Block replication for continuous checkpoints Stefan Hajnoczi
2016-09-12 14:11 ` Stefan Hajnoczi
2016-09-28 1:30 ` wangweiwei
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=57B18C23.50200@cn.fujitsu.com \
--to=xiecl.fnst@cn.fujitsu.com \
--cc=arei.gonglei@huawei.com \
--cc=armbru@redhat.com \
--cc=dgilbert@redhat.com \
--cc=eblake@redhat.com \
--cc=eddie.dong@intel.com \
--cc=famz@redhat.com \
--cc=jcody@redhat.com \
--cc=jsnow@redhat.com \
--cc=kwolf@redhat.com \
--cc=mreitz@redhat.com \
--cc=pbonzini@redhat.com \
--cc=qemu-block@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=stefanha@redhat.com \
--cc=wangww.fnst@cn.fujitsu.com \
--cc=wency@cn.fujitsu.com \
--cc=yunhong.jiang@intel.com \
--cc=zhang.zhanghailiang@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.