[Top][All Lists]

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

[Qemu-devel] [PATCH v2 0/3] blklogwrites improvements

From: Ari Sundholm
Subject: [Qemu-devel] [PATCH v2 0/3] blklogwrites improvements
Date: Wed, 4 Jul 2018 17:59:33 +0300

This patch set contains a trivial printf format fix, followed by two
new features for the blklogwrites driver.

The first feature is an option to append to an existing log, adopting
its sector size and other metadata in its superblock. This can be
useful, and was suggested by Kevin Wolf.

The second feature is an option for specifying how often the log
superblock is updated, in terms of number of total write entries
logged. This ensures that the log superblock is relatively up-to-date
even in the face of abnormal QEMU shutdown.

  - Fix error path of log superblock update interval set to 0

Based-on: <address@hidden>

Ari Sundholm (3):
  block/blklogwrites: Change log_sector_size from int64_t to uint64_t
  block/blklogwrites: Add an option for appending to an old log
  block/blklogwrites: Add an option for the update interval of the log

 block/blklogwrites.c | 171 +++++++++++++++++++++++++++++++++++++++++++++------
 qapi/block-core.json |   7 ++-
 2 files changed, 158 insertions(+), 20 deletions(-)


reply via email to

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