mbox series

[v2,0/6] Some fixes and improvements for vduse-blk

Message ID 20220614051532.92-1-xieyongji@bytedance.com (mailing list archive)
Headers show
Series Some fixes and improvements for vduse-blk | expand

Message

Yongji Xie June 14, 2022, 5:15 a.m. UTC
This series includes few fixes and improvements for the
vduse-blk export.

Patch 1 fixes some compile errors with clang in 32-bit machine.

Patch 2 fixes resources leak when vduse fd is zero.

Patch 3, 4 fixes two bugs which could be triggered
by force deleting a vduse-blk export with high I/O loads.

Patch 5, 6 adds two new options for vduse-blk export.

V1 to V2:
- Add a patch to fix some compile errors with clang

Xie Yongji (6):
  libvduse: Fix some compile errors with clang
  libvduse: Fix resources leak in vduse_dev_destroy()
  vduse-blk: Don't unlink the reconnect file if device exists
  vduse-blk: Don't delete the export until all inflight I/Os completed
  vduse-blk: Add serial option
  vduse-blk: Add name option

 block/export/vduse-blk.c             | 53 ++++++++++++++++++++++------
 block/export/vhost-user-blk-server.c |  4 ++-
 block/export/virtio-blk-handler.h    |  2 +-
 docs/tools/qemu-storage-daemon.rst   |  5 +--
 qapi/block-export.json               | 11 +++---
 storage-daemon/qemu-storage-daemon.c |  9 ++---
 subprojects/libvduse/libvduse.c      | 27 +++-----------
 7 files changed, 67 insertions(+), 44 deletions(-)