Skip to contentSkip to conversation

block: modify top-id's comments

PATCH In review Wang WeiWei 4 participants 5 messages Sep 28, 2016 – Sep 30, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 block: modify top-id's comments

---
 qapi/block-core.json | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
qapi/block-core.json +1 -1
index ada3202..0935b81 100644
@@ -2184,7 +2184,7 @@
 # @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.
+#          node who owns the replication node chain. Must not be given in primary mode.
 #
 # Since: 2.8
 ##
Signature · 1 line
1.9.3
#1 lore raw

Am 28.09.2016 um 07:30 hat Wang WeiWei geschrieben:

Quoted 15 lines
---
 qapi/block-core.json | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
qapi/block-core.json +0 -0
index ada3202..0935b81 100644

qapi/block-core.json line 2190

Quoted 8 lines
qapi/block-core.json +1 -1
@@ -2184,7 +2184,7 @@
 # @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.
+#          node who owns the replication node chain. Must not be given in primary mode.
 #
 # Since: 2.8
 ##

The matching code in block/replication.c is missing to actually error out if the option is given in primary mode.

Kevin

#2 lore raw
In reply to Wang WeiWei

On Wed, Sep 28, 2016 at 01:30:39PM +0800, Wang WeiWei wrote:

Please send a proper commit message and commit description. "modify top-id's comments" says almost nothing and there is no commit description. I don't know why you are making this change so I can't review and apply it.

Quoted 29 lines
---
 qapi/block-core.json | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
qapi/block-core.json +1 -1
index ada3202..0935b81 100644
@@ -2184,7 +2184,7 @@
 # @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.
+#          node who owns the replication node chain. Must not be given in primary mode.
 #
 # Since: 2.8
 ##
Signature · 1 line
1.9.3
#3 lore raw
Quoted 8 lines · Stefan Hajnoczi

On Wed, Sep 28, 2016 at 01:30:39PM +0800, Wang WeiWei wrote:

Please send a proper commit message and commit description. "modify top-id's comments" says almost nothing and there is no commit description. I don't know why you are making this change so I can't review and apply it.

Quoted 7 lines

qapi/block-core.json line 2187

Quoted 7 lines

+++ b/qapi/block-core.json

qapi/block-core.json +1 -1
@@ -2184,7 +2184,7 @@
 # @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.
+#          node who owns the replication node chain. Must not be given in primary mode.

That, and your line exceeds 80 columns; please wrap it.

Signature · 2 lines
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org
author
#4 lore raw

Ok, I'wll wrap it.

Quoted 19 lines · Eric Blake
Quoted 8 lines · Stefan Hajnoczi

On Wed, Sep 28, 2016 at 01:30:39PM +0800, Wang WeiWei wrote:

Please send a proper commit message and commit description. "modify top-id's comments" says almost nothing and there is no commit description. I don't know why you are making this change so I can't review and apply it.

Quoted 7 lines

qapi/block-core.json line 2187

Quoted 7 lines

+++ b/qapi/block-core.json

qapi/block-core.json +1 -1
@@ -2184,7 +2184,7 @@
 # @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.
+#          node who owns the replication node chain. Must not be given in primary mode.

That, and your line exceeds 80 columns; please wrap it.