16.02.2018 23:44, Eric Blake wrote:
On 02/15/2018 07:51 AM, Vladimir Sementsov-Ogievskiy wrote:
Signed-off-by: Vladimir Sementsov-Ogievskiy
---
tests/qemu-iotests/iotests.py | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
What breaks if they aren't
On 03/08/2018 12:46 PM, Vladimir Sementsov-Ogievskiy wrote:
In case of io error in nbd_co_send_sparse_read we should not
"goto reply:", as it is fatal error and common behavior is
disconnect in this case. We should not try to send client an
s/send/send the/
error reply, representing
On 02/24/2018 09:40 AM, Max Reitz wrote:
Currently, we try to rewrite every occurrence of "backing": null into
"backing": "" in qmp_blockdev_add(). However, that breaks using the
same "backing": null construction in json:{} file names (which do not go
through qmp_blockdev_add()). Currently,
On 03/09/2018 11:27 AM, Kevin Wolf wrote:
Signed-off-by: Kevin Wolf
---
tests/qemu-iotests/208 | 211 +++
tests/qemu-iotests/208.out | 136
tests/qemu-iotests/common.rc | 2 +-
On 9 March 2018 at 13:19, Stefan Hajnoczi wrote:
> The following changes since commit 0ab4537f08e09b13788db67efd760592fb7db769:
>
> Merge remote-tracking branch
> 'remotes/stefanberger/tags/pull-tpm-2018-03-07-1' into staging (2018-03-08
> 12:56:39 +)
>
> are
16.02.2018 23:40, Eric Blake wrote:
On 02/15/2018 07:51 AM, Vladimir Sementsov-Ogievskiy wrote:
Minimal realization: only one extent in server answer is supported.
Flag NBD_CMD_FLAG_REQ_ONE is used to force this behavior.
[...]
+ memcpy(extent, payload, sizeof(*extent));
+
On 03/09/2018 11:27 AM, Kevin Wolf wrote:
Everything that refers to the protocol layer or QemuOpts is moved out of
block_crypto_create_generic(), so that the remaining function is
suitable to be called by a .bdrv_co_create implementation.
LUKS is the only driver that actually implements the old
On 03/09/2018 11:27 AM, Kevin Wolf wrote:
This adds the .bdrv_co_create driver callback to luks, which enables
image creation over QMP.
Signed-off-by: Kevin Wolf
---
qapi/block-core.json | 17 -
block/crypto.c | 34 ++
On 02/15/2018 07:51 AM, Vladimir Sementsov-Ogievskiy wrote:
Hi all.
Here is minimal realization of base:allocation context of NBD
block-status extension, which allows to get block status through
NBD.
Vladimir Sementsov-Ogievskiy (9):
nbd/server: add nbd_opt_invalid helper
nbd: change
On 03/09/2018 11:27 AM, Kevin Wolf wrote:
The crypto driver used to create the image file in a callback from the
crypto subsystem. If we want to implement .bdrv_co_create, this needs to
go away because that callback will get a reference to an already
existing block node.
Move the image file
This adds the .bdrv_co_create driver callback to parallels, which
enables image creation over QMP.
Signed-off-by: Kevin Wolf
---
qapi/block-core.json | 18 -
block/parallels.c| 199 ++-
2 files changed, 168
On 03/09/2018 03:46 PM, Kevin Wolf wrote:
This adds the .bdrv_co_create driver callback to qed, which
enables image creation over QMP.
Signed-off-by: Kevin Wolf
---
qapi/block-core.json | 25 ++-
block/qed.c | 204
On 03/09/2018 10:41 AM, Eric Blake wrote:
On 03/08/2018 12:46 PM, Vladimir Sementsov-Ogievskiy wrote:
01 and 02 are splitted and updated "[PATCH] nbd/server: fix space read",
others are new.
Vladimir Sementsov-Ogievskiy (5):
nbd/server: move nbd_co_send_structured_error up
nbd/server:
On 03/09/2018 11:27 AM, Kevin Wolf wrote:
When you request an image size close to UINT64_MAX, the addition of the
crypto header may cause an integer overflow. Catch it instead of
silently truncating the image size.
Signed-off-by: Kevin Wolf
---
block/crypto.c | 5 +
1
This adds the .bdrv_co_create driver callback to qcow, which
enables image creation over QMP.
Signed-off-by: Kevin Wolf
---
qapi/block-core.json | 21 +-
block/qcow.c | 196 ++-
2 files changed, 150 insertions(+), 67
This adds the .bdrv_co_create driver callback to qed, which
enables image creation over QMP.
Signed-off-by: Kevin Wolf
---
qapi/block-core.json | 25 ++-
block/qed.c | 204 ++-
2 files changed, 162 insertions(+), 67
On 03/09/2018 03:46 PM, Kevin Wolf wrote:
This adds the .bdrv_co_create driver callback to qcow, which
enables image creation over QMP.
Signed-off-by: Kevin Wolf
---
qapi/block-core.json | 21 +-
block/qcow.c | 196
Clarify that for protocols the brdv_file_open function is used instead
of bdrv_open and that protocol_name is expected to be set.
Signed-off-by: Fabiano Rosas
---
include/block/block_int.h | 6 ++
1 file changed, 6 insertions(+)
diff --git
The replication driver is only selected explicitly (via
driver=replication,mode=primary,...) so it is not a protocol driver.
This patch removes the protocol_name field from the brdv_replication
structure so that attempts to invoke this driver using protocol
syntax (i.e. replication:) will fail
Block drivers can be selected by either protocol syntax:
:[:options]
or explicitly:
driver=[,option=...]
For the protocol syntax to work, drivers should set the protocol_name
field of the BlockDriver structure and provide bdrv_file_open and
bdrv_parse_filename implementations.
Conversely,
The blkreplay driver is not a protocol so it should implement bdrv_open
instead of bdrv_file_open and not provide a protocol_name.
Attempts to invoke this driver using protocol syntax
(i.e. blkreplay:) will now fail gracefully:
$ qemu-img info blkreplay:foo
qemu-img: Could not open
The throttle driver is not a protocol so it should implement bdrv_open
instead of bdrv_file_open and not provide a protocol_name.
Attempts to invoke this driver using protocol syntax
(i.e. throttle:) will now fail gracefully:
$ qemu-img info throttle:foo
qemu-img: Could not open
The quorum driver is not a protocol so it should implement bdrv_open
instead of bdrv_file_open and not provide a protocol_name.
Attempts to invoke this driver using protocol syntax
(i.e. quorum:) will now fail gracefully:
$ qemu-img info quorum:foo
qemu-img: Could not open 'quorum:foo':
On 03/09/2018 11:27 AM, Kevin Wolf wrote:
The .bdrv_getlength implementation of the crypto block driver asserted
that the payload offset isn't after EOF. This is an invalid assertion to
make as the image file could be corrupted. Instead, check it and return
-EIO if the file is too small for the
On 03/08/2018 12:46 PM, Vladimir Sementsov-Ogievskiy wrote:
Signed-off-by: Vladimir Sementsov-Ogievskiy
---
It's like an RFC. I'm not sure, but this place looks like a bug. Shouldn't
we chack client-closing even before nbd_client_receive_next_request() call?
Am 09.03.2018 um 15:58 schrieb Dr. David Alan Gilbert:
> * Peter Lieven (p...@kamp.de) wrote:
>> this actually limits (as the original commit mesage suggests) the
>> number of I/O buffers that can be allocated and not the number
>> of parallel (inflight) I/O requests.
>>
>> Signed-off-by: Peter
This adds the .bdrv_co_create driver callback to vhdx, which
enables image creation over QMP.
Signed-off-by: Kevin Wolf
---
qapi/block-core.json | 37 ++-
block/vhdx.c | 174 ++-
2 files changed, 167
This series adds a .bdrv_co_create implementation to almost all format
drivers that support creating images where its still missing. The only
exception is VMDK because its support for extents will make the QAPI
design a bit more complicated.
The other format driver not covered in this series are
This adds the .bdrv_co_create driver callback to vpc, which
enables image creation over QMP.
Signed-off-by: Kevin Wolf
---
qapi/block-core.json | 33 ++-
block/vpc.c | 152 ++-
2 files changed, 147
09.03.2018 22:08, Eric Blake wrote:
On 02/15/2018 07:51 AM, Vladimir Sementsov-Ogievskiy wrote:
Hi all.
Here is minimal realization of base:allocation context of NBD
block-status extension, which allows to get block status through
NBD.
Vladimir Sementsov-Ogievskiy (9):
nbd/server: add
This adds the .bdrv_co_create driver callback to vdi, which
enables image creation over QMP.
Signed-off-by: Kevin Wolf
---
qapi/block-core.json | 21 ++-
block/vdi.c | 169 ++-
2 files changed, 148 insertions(+), 42
Originally we added parallels as a read-only format to qemu-iotests
where we did just some tests with a binary image. Since then, write and
image creation support has been added to the driver, so we can now
enable it in _supported_fmt generic.
The driver doesn't support migration yet, though, so
Am 09.03.2018 um 21:19 hat Eric Blake geschrieben:
> On 03/09/2018 11:27 AM, Kevin Wolf wrote:
> > The .bdrv_getlength implementation of the crypto block driver asserted
> > that the payload offset isn't after EOF. This is an invalid assertion to
> > make as the image file could be corrupted.
On 03/08/2018 12:46 PM, Vladimir Sementsov-Ogievskiy wrote:
nbd_trip has difficult logic of sending reply: it tries to use one
code path for all replies. It is ok for simple replies, but is not
comfortable for structured replies. Also, two types of error (and
corresponding message in local_err)
Everything that refers to the protocol layer or QemuOpts is moved out of
block_crypto_create_generic(), so that the remaining function is
suitable to be called by a .bdrv_co_create implementation.
LUKS is the only driver that actually implements the old interface, and
we don't intend to use it in
The .bdrv_getlength implementation of the crypto block driver asserted
that the payload offset isn't after EOF. This is an invalid assertion to
make as the image file could be corrupted. Instead, check it and return
-EIO if the file is too small for the payload offset.
Zero length images are
This adds the .bdrv_co_create driver callback to luks, which enables
image creation over QMP.
Signed-off-by: Kevin Wolf
---
qapi/block-core.json | 17 -
block/crypto.c | 34 ++
2 files changed, 50 insertions(+), 1
Signed-off-by: Kevin Wolf
---
tests/qemu-iotests/208 | 211 +++
tests/qemu-iotests/208.out | 136
tests/qemu-iotests/common.rc | 2 +-
tests/qemu-iotests/group | 1 +
4 files changed, 349
This series implements the .bdrv_co_create callback for luks, adds an
image creation test for it and contains some bonus fixes for bugs that
the test triggered.
Kevin Wolf (6):
luks: Separate image file creation from formatting
luks: Create block_crypto_co_create_generic()
luks: Support
On 03/08/2018 12:46 PM, Vladimir Sementsov-Ogievskiy wrote:
Split out request handling logic.
Signed-off-by: Vladimir Sementsov-Ogievskiy
---
nbd/server.c | 129 +++
1 file changed, 67 insertions(+), 62
- Skipping test 205 for unsupported formats.
- Setting execution permission on test files.
Amador Pahim (2):
qemu-iotests: skip test 205 for unsupported formats
qemu-iotests: set exec permission for tests lacking it
tests/qemu-iotests/096 | 0
tests/qemu-iotests/124 | 0
Some tests are not executables. This patch sets the executable
permission for those tests lacking that.
Signed-off-by: Amador Pahim
---
tests/qemu-iotests/096 | 0
tests/qemu-iotests/124 | 0
tests/qemu-iotests/129 | 0
tests/qemu-iotests/132 | 0
tests/qemu-iotests/136 | 0
Using bochs or cloop, qemu-img will fail with:
Format driver 'bochs' does not support image creation
Signed-off-by: Amador Pahim
---
tests/qemu-iotests/205 | 3 +++
1 file changed, 3 insertions(+)
diff --git a/tests/qemu-iotests/205 b/tests/qemu-iotests/205
index
Signed-off-by: Fam Zheng
---
tests/qemu-iotests/153 | 6 ++
tests/qemu-iotests/153.out | 4
2 files changed, 10 insertions(+)
diff --git a/tests/qemu-iotests/153 b/tests/qemu-iotests/153
index fa25eb24bd..5a82acebd3 100755
--- a/tests/qemu-iotests/153
+++
This complies to the function contract and allows bdrv_backing_options
to make the right decision.
Signed-off-by: Fam Zheng
---
block.c | 21 +++--
1 file changed, 11 insertions(+), 10 deletions(-)
diff --git a/block.c b/block.c
index 937f9fe159..1e2b0d822d
So that the current flags can influence the returned flags in the coming
patches.
For now, 0 is passed everywhere and the parameter is not used.
Signed-off-by: Fam Zheng
---
block.c | 20 +---
block/block-backend.c | 3 ++-
block/vvfat.c
When the child in question already has write access, we shouldn't change
that just because the parent being open/reopen doesn't need it. But if
we are inherenting the flags from a writable parent, we shouldn't copy
the BDRV_O_RDWR flag, which is consistent with the BDRV_OPT_READ_ONLY
option we
We write open the whole backing chain during reopen. It is not necessary and
will cause image locking problems if the backing image is shared.
Fam Zheng (4):
block: Pass "current_flags" in BdrvChildRole.inherit_options
block: Fix write flags in bdrv_backing_options
block: Use the actual
The "redundancy" option for Sheepdog image creation is currently a
string that can encode one or two integers depending on its format,
which at the same time implicitly selects a mode.
This patch turns it into a QAPI union and converts the string into such
a QAPI object before interpreting the
Instead of passing a separate BlockDriverState* into qcow2_co_create(),
make use of the BlockdevRef that is included in BlockdevCreateOptions.
Signed-off-by: Kevin Wolf
Reviewed-by: Eric Blake
Reviewed-by: Max Reitz
---
From: Alberto Garcia
This patch tweaks TestParallelOps in iotest 030 so it allocates data
in smaller regions (256KB/512KB instead of 512KB/1MB) and the
block-stream job in test_stream_commit() only needs to copy data that
is at the very end of the image.
This way when the
From: Stefan Hajnoczi
There is a race between the test's 'query-migrate' QMP command after the
QMP 'STOP' event and completing the migration:
The test case invokes 'query-migrate' upon receiving 'STOP'. At this
point the migration thread may still be in the process of
This makes the host-key-check option available in blockdev-add.
Signed-off-by: Kevin Wolf
Reviewed-by: Max Reitz
---
qapi/block-core.json | 63 +++--
block/ssh.c | 88
Most callers have their own checks, but something like this should also
be checked centrally. As it happens, x-blockdev-create can pass negative
image sizes to format drivers (because there is no QAPI type that would
reject negative numbers) and triggers the check added by this patch.
From: Fam Zheng
Signed-off-by: Fam Zheng
Message-id: 20171225025107.23985-1-f...@redhat.com
Reviewed-by: Eric Blake
Signed-off-by: Max Reitz
---
tests/qemu-iotests/153 | 8 +---
tests/qemu-iotests/153.out | 7
Signed-off-by: Kevin Wolf
Reviewed-by: Max Reitz
---
tests/qemu-iotests/206 | 436 +
tests/qemu-iotests/206.out | 209 ++
tests/qemu-iotests/group | 1 +
3 files changed, 646
From: Eric Blake
The majority of our iotests have the executable bit set; fix the
few outliers for consistency.
Signed-off-by: Eric Blake
Message-id: 20180305161824.7188-1-ebl...@redhat.com
Signed-off-by: Max Reitz
---
If we want to include the invalid option name in the error message, we
can't free the string earlier than that.
Cc: qemu-sta...@nongnu.org
Signed-off-by: Kevin Wolf
Reviewed-by: Max Reitz
Reviewed-by: Eric Blake
---
block/rbd.c | 3 ++-
Hi,
This series failed build test on s390x host. Please find the details below.
Type: series
Message-id: 20180309160224.78821-1-vsement...@virtuozzo.com
Subject: [Qemu-devel] [PATCH v5 0/2] block latency histogram
=== TEST SCRIPT BEGIN ===
#!/bin/bash
# Testing script will be invoked under the
The code to establish an RBD connection is duplicated between open and
create. In order to be able to share the code, factor out the code from
qemu_rbd_open() as a first step.
Signed-off-by: Kevin Wolf
Reviewed-by: Max Reitz
---
block/rbd.c | 100
On 03/08/2018 12:46 PM, Vladimir Sementsov-Ogievskiy wrote:
01 and 02 are splitted and updated "[PATCH] nbd/server: fix space read",
others are new.
Vladimir Sementsov-Ogievskiy (5):
nbd/server: move nbd_co_send_structured_error up
nbd/server: fix sparse read
nbd/server: fix: check
Using the QAPI visitor to turn all options into QAPI BlockdevOptionsNfs
simplifies the code a lot. It will also be useful for implementing the
QAPI based .bdrv_co_create callback.
Signed-off-by: Kevin Wolf
Reviewed-by: Max Reitz
---
block/nfs.c | 176
With the conversion to a QAPI options object, the function is now
prepared to be used in a .bdrv_co_create implementation.
Signed-off-by: Kevin Wolf
Reviewed-by: Max Reitz
---
block/rbd.c | 115 +---
1
This adds the .bdrv_co_create driver callback to sheepdog, which enables
image creation over QMP.
Signed-off-by: Kevin Wolf
Reviewed-by: Max Reitz
---
qapi/block-core.json | 24 -
block/sheepdog.c | 243
Create a BlockdevOptionsSsh object in connect_to_ssh() and take the
options from there. 'host_key_check' is still processed separately
because it's not in the schema yet.
Signed-off-by: Kevin Wolf
Reviewed-by: Max Reitz
---
block/ssh.c | 137
09.03.2018 18:40, Eric Blake wrote:
On 03/09/2018 09:33 AM, Vladimir Sementsov-Ogievskiy wrote:
v4:
Move block_latency_histogram_set from block/accounting.c to
blockdev.c, as it uses qapi type uint64List and this fact breaks
build.
Was the cross file motion necessary, or could you just fix
This adds the .bdrv_co_create driver callback to ssh, which enables
image creation over QMP.
Signed-off-by: Kevin Wolf
Reviewed-by: Max Reitz
---
qapi/block-core.json | 16 +-
block/ssh.c | 83
If the main loop thread invokes .ioeventfd_stop() just as the vq handler
function begins in the IOThread then the handler may lose the race for
the AioContext lock. By the time the vq handler is able to acquire the
AioContext lock the ioeventfd has already been removed and the handler
isn't
From: Deepa Srinivasan
Starting qemu with the following arguments causes qemu to segfault:
... -device lsi,id=lsi0 -drive file=iscsi:<...>,format=raw,if=none,node-name=
iscsi1 -device scsi-block,bus=lsi0.0,id=<...>,drive=iscsi1
This patch fixes blk_aio_ioctl() so it
Sometimes it's necessary for the main loop thread to run a BH in an
IOThread and wait for its completion. This primitive is useful during
startup/shutdown to synchronize and avoid race conditions.
Signed-off-by: Stefan Hajnoczi
Reviewed-by: Fam Zheng
The following changes since commit 0ab4537f08e09b13788db67efd760592fb7db769:
Merge remote-tracking branch
'remotes/stefanberger/tags/pull-tpm-2018-03-07-1' into staging (2018-03-08
12:56:39 +)
are available in the Git repository at:
git://github.com/stefanha/qemu.git
Commit 00d09fdbbae5f7864ce754913efc84c12fdf9f1a ("vl: pause vcpus before
stopping iothreads") and commit dce8921b2baaf95974af8176406881872067adfa
("iothread: Stop threads before main() quits") tried to work around the
fact that emulation was still active during termination by stopping
iothreads.
The QMP version of this command can take a qdev ID since 7a9877a02635,
but the HMP version is still using the deprecated block device name so
there's no way to refer to a block device added like this:
-blockdev node-name=disk0,driver=qcow2,file.driver=file,file.filename=hd.qcow2
-device
On 2018-03-08 08:44, Alberto Garcia wrote:
> On Wed 07 Mar 2018 06:54:51 PM CET, Max Reitz wrote:
>>> v4: Mention that commit 1a63a907507fbbcfaee3f622907ec24 also
>>> contributes to solve the original bug (both commits need to
>>> reverted in order to reproduce this bug reliably).
>>>
>>>
On Fri 09 Mar 2018 01:54:31 PM CET, Max Reitz wrote:
> On 2018-03-08 08:44, Alberto Garcia wrote:
>> On Wed 07 Mar 2018 06:54:51 PM CET, Max Reitz wrote:
v4: Mention that commit 1a63a907507fbbcfaee3f622907ec24 also
contributes to solve the original bug (both commits need to
If the main loop thread invokes .ioeventfd_stop() just as the vq handler
function begins in the IOThread then the handler may lose the race for
the AioContext lock. By the time the vq handler is able to acquire the
AioContext lock the ioeventfd has already been removed and the handler
isn't
From: Sergio Lopez
Commit 5b2ffbe4d99843fd8305c573a100047a8c962327 ("virtio-blk: dataplane:
notify guest as a batch") deferred guest notification to a BH in order
batch notifications, with purpose of avoiding flooding the guest with
interruptions.
This optimization came with a
From: Fam Zheng
Reported-by: Alberto Garcia
Signed-off-by: Fam Zheng
Reviewed-by: Philippe Mathieu-Daudé
Message-id: 20180306024328.19195-1-f...@redhat.com
Signed-off-by: Stefan Hajnoczi
---
README | 2
Introduce latency histogram statics for block devices.
For each accounted operation type latency region [0, +inf) is
divided into subregions by several points. Then, calculate
hits for each subregion.
Signed-off-by: Vladimir Sementsov-Ogievskiy
---
v3:
- semantics, naming and wording changed a lot
- x prefixes added to new qapi names
- bug fixed about calculation of new_size (new_nbins now)
- drop g_renew
- in _clear() set nbinst to zero too
v2:
01: add block_latency_histogram_clear()
02: fix spelling (sorry =()
some rewordings
Hi,
This series failed build test on ppcbe host. Please find the details below.
Type: series
Message-id: 20180309144918.44975-1-vsement...@virtuozzo.com
Subject: [Qemu-devel] [PATCH v3 0/2] block latency histogram
=== TEST SCRIPT BEGIN ===
#!/bin/bash
# Testing script will be invoked under the
On 03/09/2018 04:41 AM, Amador Pahim wrote:
Using bochs or cloop, qemu-img will fail with:
Format driver 'bochs' does not support image creation
Signed-off-by: Amador Pahim
---
tests/qemu-iotests/205 | 3 +++
1 file changed, 3 insertions(+)
Reviewed-by: Eric Blake
Set (and clear) histogram through new command
block-latency-histogram-set and show new statistics in
query-blockstats results.
Signed-off-by: Vladimir Sementsov-Ogievskiy
---
qapi/block-core.json | 111 ++-
block/qapi.c
On 03/09/2018 08:11 AM, Alberto Garcia wrote:
The QMP version of this command can take a qdev ID since 7a9877a02635,
but the HMP version is still using the deprecated block device name so
there's no way to refer to a block device added like this:
-blockdev
On 03/09/2018 04:41 AM, Amador Pahim wrote:
Some tests are not executables. This patch sets the executable
permission for those tests lacking that.
Signed-off-by: Amador Pahim
---
Duplicate of a patch already on Max's tree:
* Peter Lieven (p...@kamp.de) wrote:
> this actually limits (as the original commit mesage suggests) the
> number of I/O buffers that can be allocated and not the number
> of parallel (inflight) I/O requests.
>
> Signed-off-by: Peter Lieven
I've queued 1-3 (which have Juan's R-b).
Hi,
This series failed docker-mingw@fedora build test. Please find the testing
commands and
their output below. If you have Docker installed, you can probably reproduce it
locally.
Type: series
Message-id: 20180309144918.44975-1-vsement...@virtuozzo.com
Subject: [Qemu-devel] [PATCH v3 0/2]
Set (and clear) histogram through new command
block-latency-histogram-set and show new statistics in
query-blockstats results.
Signed-off-by: Vladimir Sementsov-Ogievskiy
---
qapi/block-core.json | 111 ++-
block/qapi.c
On 03/09/2018 09:07 AM, no-re...@patchew.org wrote:
Hi,
This series failed build test on ppcbe host. Please find the details below.
Type: series
Message-id: 20180309144918.44975-1-vsement...@virtuozzo.com
Subject: [Qemu-devel] [PATCH v3 0/2] block latency histogram
In file included from
Introduce latency histogram statics for block devices.
For each accounted operation type latency region [0, +inf) is
divided into subregions by several points. Then, calculate
hits for each subregion.
Signed-off-by: Vladimir Sementsov-Ogievskiy
---
v4:
Move block_latency_histogram_set from block/accounting.c to
blockdev.c, as it uses qapi type uint64List and this fact breaks
build.
v3:
- semantics, naming and wording changed a lot
- x prefixes added to new qapi names
- bug fixed about calculation of new_size (new_nbins now)
- drop
On 03/09/2018 09:33 AM, Vladimir Sementsov-Ogievskiy wrote:
v4:
Move block_latency_histogram_set from block/accounting.c to
blockdev.c, as it uses qapi type uint64List and this fact breaks
build.
Was the cross file motion necessary, or could you just fix the #includes
according to the recent
From: Fam Zheng
The AFL image is to exercise the code validating image size, which
doesn't work on 32 bit or when out of memory (there is a large
allocation before the interesting point). So check that and skip the
test, instead of faking the result.
Signed-off-by: Fam Zheng
On 03/08/2018 12:46 PM, Vladimir Sementsov-Ogievskiy wrote:
To be reused in nbd_co_send_sparse_read() in the following patch.
Signed-off-by: Vladimir Sementsov-Ogievskiy
---
nbd/server.c | 48
1 file changed, 24
On 03/09/2018 10:31 AM, Vladimir Sementsov-Ogievskiy wrote:
09.03.2018 18:40, Eric Blake wrote:
On 03/09/2018 09:33 AM, Vladimir Sementsov-Ogievskiy wrote:
v4:
Move block_latency_histogram_set from block/accounting.c to
blockdev.c, as it uses qapi type uint64List and this fact breaks
build.
09.03.2018 19:37, Eric Blake wrote:
On 03/09/2018 10:31 AM, Vladimir Sementsov-Ogievskiy wrote:
09.03.2018 18:40, Eric Blake wrote:
On 03/09/2018 09:33 AM, Vladimir Sementsov-Ogievskiy wrote:
v4:
Move block_latency_histogram_set from block/accounting.c to
blockdev.c, as it uses qapi type
09.03.2018 19:41, Eric Blake wrote:
On 03/08/2018 12:46 PM, Vladimir Sementsov-Ogievskiy wrote:
01 and 02 are splitted and updated "[PATCH] nbd/server: fix space read",
others are new.
Vladimir Sementsov-Ogievskiy (5):
nbd/server: move nbd_co_send_structured_error up
nbd/server: fix
When you request an image size close to UINT64_MAX, the addition of the
crypto header may cause an integer overflow. Catch it instead of
silently truncating the image size.
Signed-off-by: Kevin Wolf
---
block/crypto.c | 5 +
1 file changed, 5 insertions(+)
diff --git
Introduce latency histogram statics for block devices.
For each accounted operation type latency region [0, +inf) is
divided into subregions by several points. Then, calculate
hits for each subregion.
Signed-off-by: Vladimir Sementsov-Ogievskiy
---
Set (and clear) histogram through new command
block-latency-histogram-set and show new statistics in
query-blockstats results.
Signed-off-by: Vladimir Sementsov-Ogievskiy
---
qapi/block-core.json | 111 ++-
block/qapi.c
1 - 100 of 140 matches
Mail list logo