qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Ari Sundholm <ari@tuxera.com>
To: qemu-devel@nongnu.org
Cc: Ari Sundholm <ari@tuxera.com>, Kevin Wolf <kwolf@redhat.com>,
	Max Reitz <mreitz@redhat.com>,
	qemu-block@nongnu.org
Subject: [Qemu-devel] [PATCH 0/3] blklogwrites improvements
Date: Wed, 4 Jul 2018 17:46:34 +0300	[thread overview]
Message-ID: <1530715597-30975-1-git-send-email-ari@tuxera.com> (raw)

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.

Based-on: <1530629328-10193-1-git-send-email-ari@tuxera.com>

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
    superblock

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

-- 
2.7.4

             reply	other threads:[~2018-07-04 14:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-04 14:46 Ari Sundholm [this message]
2018-07-04 14:46 ` [Qemu-devel] [PATCH 1/3] block/blklogwrites: Change log_sector_size from int64_t to uint64_t Ari Sundholm
2018-07-04 14:46 ` [Qemu-devel] [PATCH 2/3] block/blklogwrites: Add an option for appending to an old log Ari Sundholm
2018-07-04 14:46 ` [Qemu-devel] [PATCH 3/3] block/blklogwrites: Add an option for the update interval of the log superblock Ari Sundholm

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1530715597-30975-1-git-send-email-ari@tuxera.com \
    --to=ari@tuxera.com \
    --cc=kwolf@redhat.com \
    --cc=mreitz@redhat.com \
    --cc=qemu-block@nongnu.org \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).