mbox series

[0/7] block/rbd: migrate to coroutines and add write zeroes support

Message ID 20201227164236.10143-1-pl@kamp.de (mailing list archive)
Headers show
Series block/rbd: migrate to coroutines and add write zeroes support | expand

Message

Peter Lieven Dec. 27, 2020, 4:42 p.m. UTC
this series migrates the qemu rbd driver from the old aio emulation
to native coroutines and adds write zeroes support which is important
for block operations.

To archive this we first bump the librbd requirement to the already
outdated luminous release of ceph to get rid of some wrappers and
ifdef'ry in the code.

Peter Lieven (7):
  block/rbd: bump librbd requirement to luminous release
  block/rbd: store object_size in BDRVRBDState
  block/rbd: use stored image_size in qemu_rbd_getlength
  block/rbd: add bdrv_{attach,detach}_aio_context
  block/rbd: migrate from aio to coroutines
  block/rbd: add write zeroes support
  block/rbd: change request alignment to 1 byte

 block/rbd.c | 421 +++++++++++++++++-----------------------------------
 configure   |   7 +-
 2 files changed, 139 insertions(+), 289 deletions(-)