qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 0/3] Add support for sequential backups


From: Stefan Reiter
Subject: Re: [PATCH 0/3] Add support for sequential backups
Date: Mon, 14 Sep 2020 13:46:27 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0

Friendly ping :)

On 8/26/20 2:13 PM, Stefan Reiter wrote:
Backups can already be done for multiple drives in a transaction. However, these
jobs will start all at once, potentially hogging a lot of disk IO all at once.
This problem is made worse, since IO throttling is only available on a per-job
basis.

Add a flag to QMP to support sequential transactions for backups. This way,
every job will be executed one after the other, while still providing the
benefit of transactions (i.e. once one fails, all remaining ones will be
cancelled).

We've internally (in Proxmox VE) been doing sequential backups for a long time
with great success, albeit in a different fashion. This series is the result of
aligning our internal changes closer to upstream, and might be useful for other
people as well.


Stefan Reiter (3):
   job: add sequential transaction support
   blockdev: add sequential mode to *-backup transactions
   backup: initialize bcs bitmap on job create, not start

  block/backup.c        |  4 ++--
  blockdev.c            | 25 ++++++++++++++++++++++---
  include/qemu/job.h    | 12 ++++++++++++
  job.c                 | 24 ++++++++++++++++++++++++
  qapi/transaction.json |  6 +++++-
  5 files changed, 65 insertions(+), 6 deletions(-)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]