On Mon, Feb 27, 2017 at 02:30:41AM -0500, Jeff Cody wrote:
> Signed-off-by: Jeff Cody
> ---
> qapi/block-core.json | 47 ---
> 1 file changed, 44 insertions(+), 3 deletions(-)
>
> diff --git a/qapi/block-core.json
Signed-off-by: Jeff Cody
---
block/rbd.c | 64 +++--
1 file changed, 45 insertions(+), 19 deletions(-)
diff --git a/block/rbd.c b/block/rbd.c
index 3f1a9de..c8d4eb1 100644
--- a/block/rbd.c
+++ b/block/rbd.c
@@ -357,6
Get rid of qemu_rbd_parsename in favor of bdrv_parse_filename.
This simplifies a lot of the parsing as well, as we can treat everything
a bit simpler since nonexistent options are simply NULL pointers instead
of empy strings.
An important item to note:
Ceph has many extra option values that can
This patch is prep work for parsing options for .bdrv_parse_filename,
and using QDict options.
The function qemu_rbd_next_tok() searched for various key/value pairs,
and copied them into buffers. This will soon be an unnecessary extra
step, so we will now return found strings by reference only,
This series adds blockdev-add for rbd.
However, there is an area that will likely need to change. In the RBD
driver, all options for Ceph are supported, but the qemu driver is not
explicitly aware of all the options.
There are a few options that the QEMU driver cares about and handles, while
Signed-off-by: Jeff Cody
---
qapi/block-core.json | 47 ---
1 file changed, 44 insertions(+), 3 deletions(-)
diff --git a/qapi/block-core.json b/qapi/block-core.json
index 5f82d35..08a1419 100644
--- a/qapi/block-core.json
+++
By default, on discard requests, the posix block backend punches holes but
re-fallocates them to keep the allocated size intact. In some situations
it is however convenient, when using sparse disk images, to see disk image
sizes shrink on discard requests.
This commit adds a discard=sparse mode
On 24 February 2017 at 17:46, Jeff Cody wrote:
> The following changes since commit fe8ee082db5038a05dbd8872e946049e9a9c550e:
>
> Merge remote-tracking branch 'remotes/armbru/tags/pull-qapi-2017-02-22'
> into staging (2017-02-24 15:00:51 +)
>
> are available in the git