Skip to contentSkip to conversation

Block patches

GIT PULL Applied Jeff Cody 2 participants 4 messages Feb 28, 2017 Block layer

lore
Share & tools
lore

Jeff Cody

author
#0 lore raw

The following changes since commit 8f2d7c341184a95d05476ea3c45dbae2b9ddbe51:

Merge remote-tracking branch 'remotes/berrange/tags/pull-qcrypto-2017-02-27-1' into staging (2017-02-27 15:33:21 +0000)

are available in the git repository at:

https://github.com/codyprime/qemu-kvm-jtc.git tags/block-pull-request

for you to fetch changes up to 51654aa52a94612edfaf76dcb51c0a0b7821c90d:

iscsi: add missing colons to the qapi docs (2017-02-27 23:33:41 -0500)

----------------------------------------------------------------
Block patches for 2.9
----------------------------------------------------------------

Jeff Cody (1):
iscsi: add missing colons to the qapi docs

John Snow (1):
block/mirror: fix broken sparseness detection

 block/mirror.c       |  2 +-
 qapi/block-core.json | 18 +++++++++---------
 2 files changed, 10 insertions(+), 10 deletions(-)
Signature · 1 line
2.9.3
author
#1 lore raw

[Qemu-devel] [PULL 1/2] block/mirror: fix broken sparseness detection

From: John Snow <[email protected]>

int64_t is in all likelihood the actual scalar type we want. Yep, really.

---
 block/mirror.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
block/mirror.c +1 -1
index 3d50857..1b34b36 100644
@@ -386,7 +386,7 @@ static uint64_t coroutine_fn mirror_iteration(MirrorBlockJob *s)
                             nb_chunks * sectors_per_chunk);
     bitmap_set(s->in_flight_bitmap, sector_num / sectors_per_chunk, nb_chunks);
     while (nb_chunks > 0 && sector_num < end) {
-        int ret;
+        int64_t ret;
         int io_sectors, io_sectors_acct;
         BlockDriverState *file;
         enum MirrorMethod {
Signature · 1 line
2.9.3
author
#2 lore raw

[Qemu-devel] [PULL 2/2] iscsi: add missing colons to the qapi docs

In reply to Jeff Cody

The missing colons make the iscsi part of the documentation not render quite as nicely, so add those in.

---
 qapi/block-core.json | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)
qapi/block-core.json +9 -9
index 5f82d35..cf24c04 100644
@@ -2625,29 +2625,29 @@
 ##
 # @BlockdevOptionsIscsi:
 #
-# @transport        The iscsi transport type
+# @transport:       The iscsi transport type
 #
-# @portal           The address of the iscsi portal
+# @portal:          The address of the iscsi portal
 #
-# @target           The target iqn name
+# @target:          The target iqn name
 #
-# @lun              #optional LUN to connect to. Defaults to 0.
+# @lun:             #optional LUN to connect to. Defaults to 0.
 #
-# @user             #optional User name to log in with. If omitted, no CHAP
+# @user:            #optional User name to log in with. If omitted, no CHAP
 #                   authentication is performed.
 #
-# @password-secret  #optional The ID of a QCryptoSecret object providing
+# @password-secret: #optional The ID of a QCryptoSecret object providing
 #                   the password for the login. This option is required if
 #                   @user is specified.
 #
-# @initiator-name   #optional The iqn name we want to identify to the target
+# @initiator-name:  #optional The iqn name we want to identify to the target
 #                   as. If this option is not specified, an initiator name is
 #                   generated automatically.
 #
-# @header-digest    #optional The desired header digest. Defaults to
+# @header-digest:   #optional The desired header digest. Defaults to
 #                   none-crc32c.
 #
-# @timeout          #optional Timeout in seconds after which a request will
+# @timeout:         #optional Timeout in seconds after which a request will
 #                   timeout. 0 means no timeout and is the default.
 #
 # Driver specific block device options for iscsi
Signature · 1 line
2.9.3
#3 lore raw
In reply to Jeff Cody
Quoted 8 lines · Jeff Cody

The following changes since commit 8f2d7c341184a95d05476ea3c45dbae2b9ddbe51:

Merge remote-tracking branch 'remotes/berrange/tags/pull-qcrypto-2017-02-27-1' into staging (2017-02-27 15:33:21 +0000)

are available in the git repository at:

https://github.com/codyprime/qemu-kvm-jtc.git tags/block-pull-request

Quoted 7 lines

for you to fetch changes up to 51654aa52a94612edfaf76dcb51c0a0b7821c90d:

iscsi: add missing colons to the qapi docs (2017-02-27 23:33:41 -0500)

----------------------------------------------------------------
Block patches for 2.9
----------------------------------------------------------------

Applied, thanks.

-- PMM