mbox series

[0/3] mirror: Make sure that source and target size match

Message ID 20200507145228.323412-1-kwolf@redhat.com (mailing list archive)
Headers show
Series mirror: Make sure that source and target size match | expand

Message

Kevin Wolf May 7, 2020, 2:52 p.m. UTC
Same thing as the recent fix for backup, except that mirror already
forbids resizing during the job. So what remains is checking that the
sizes match at the start of the job.

Kevin Wolf (3):
  iotests/229: Use blkdebug to inject an error
  mirror: Make sure that source and target size match
  iotests: Mirror with different source/target size

 block/mirror.c             | 21 ++++++++++--------
 tests/qemu-iotests/041     | 45 ++++++++++++++++++++++++++++++++++++++
 tests/qemu-iotests/041.out |  4 ++--
 tests/qemu-iotests/229     | 15 +++++++++----
 tests/qemu-iotests/229.out |  6 ++---
 5 files changed, 73 insertions(+), 18 deletions(-)