This patchset moves the complexity of the rbd format into librbd and adds truncation support. This passes qemu-iotests when 016 is skipped. A patch for this is in a separate email.
Changes since v2: * return values are checked in rbd_aio_rw_vector * bdrv_truncate added Josh Durgin (4): rbd: use the higher level librbd instead of just librados rbd: allow configuration of rados from the rbd filename rbd: check return values when scheduling aio rbd: Add bdrv_truncate implementation block/rbd.c | 889 +++++++++++++++++++---------------------------------- block/rbd_types.h | 71 ----- configure | 33 +-- 3 files changed, 331 insertions(+), 662 deletions(-) delete mode 100644 block/rbd_types.h -- 1.7.2.3