[pve-devel] [PATCH qemu 0/1] fix qemu 2.9 drive mirroring to nbd target

Alexandre Derumier aderumier at odiso.com
Wed Feb 7 23:40:34 CET 2018


Qemu 2.9 have implemented coroutine for drive mirroring
and it's currently buggy with nbd target.

When I test with big volumes (100-200G), mirroring always die
after some minutes.

This has been fixed in qemu 2.10.

Theses patches are coming from qemu-kvm-ev-2.9.0-16.el7_4.11.1
https://cbs.centos.org/koji/buildinfo?buildID=21003
(already backported from 2.10 to 2.9)



Alexandre Derumier (1):
  add nbd patches to fix qemu 2.9 drive mirroring to nbd target

 ...bd-make-it-thread-safe-fix-qcow2-over-nbd.patch | 136 +++++
 .../extra/0036-kvm-nbd-strict-nbd_wr_syncv.patch   |  66 +++
 ...read_sync-and-friends-return-0-on-success.patch | 620 +++++++++++++++++++++
 .../extra/0038-kvm-nbd-make-nbd_drop-public.patch  | 151 +++++
 ...get-rid-of-nbd_negotiate_read-and-friends.patch | 292 ++++++++++
 ...-Fix-regression-when-server-sends-garbage.patch | 153 +++++
 ...fix-build-failure-in-nbd_read_reply_entry.patch |  55 ++
 ...avoid-spurious-qio_channel_yield-re-entry.patch | 184 ++++++
 ...-avoid-read_reply_co-entry-if-send-failed.patch | 160 ++++++
 ...s-improve-nbd-fault-injector.py-startup-p.patch |  61 ++
 ...s-test-NBD-over-UNIX-domain-sockets-in-08.patch | 454 +++++++++++++++
 ...lient-nbd_co_send_request-fix-return-code.patch |  45 ++
 debian/patches/series                              |  13 +
 13 files changed, 2390 insertions(+)
 create mode 100644 debian/patches/extra/0035-kvm-nbd-make-it-thread-safe-fix-qcow2-over-nbd.patch
 create mode 100644 debian/patches/extra/0036-kvm-nbd-strict-nbd_wr_syncv.patch
 create mode 100644 debian/patches/extra/0037-kvm-nbd-read_sync-and-friends-return-0-on-success.patch
 create mode 100644 debian/patches/extra/0038-kvm-nbd-make-nbd_drop-public.patch
 create mode 100644 debian/patches/extra/0039-kvm-nbd-server-get-rid-of-nbd_negotiate_read-and-friends.patch
 create mode 100644 debian/patches/extra/0040-kvm-nbd-client-Fix-regression-when-server-sends-garbage.patch
 create mode 100644 debian/patches/extra/0041-kvm-fix-build-failure-in-nbd_read_reply_entry.patch
 create mode 100644 debian/patches/extra/0042-kvm-nbd-client-avoid-spurious-qio_channel_yield-re-entry.patch
 create mode 100644 debian/patches/extra/0043-kvm-nbd-client-avoid-read_reply_co-entry-if-send-failed.patch
 create mode 100644 debian/patches/extra/0044-kvm-qemu-iotests-improve-nbd-fault-injector.py-startup-p.patch
 create mode 100644 debian/patches/extra/0045-kvm-qemu-iotests-test-NBD-over-UNIX-domain-sockets-in-08.patch
 create mode 100644 debian/patches/extra/0046-kvm-block-nbd-client-nbd_co_send_request-fix-return-code.patch

-- 
2.11.0




More information about the pve-devel mailing list