From: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
To: qemu-devel@nongnu.org, qemu-block@nongnu.org
Cc: famz@redhat.com, stefanha@redhat.com, mreitz@redhat.com,
kwolf@redhat.com, jcody@redhat.com, eblake@redhat.com,
jsnow@redhat.com, den@openvz.org, vsementsov@virtuozzo.com
Subject: [Qemu-devel] [PATCH 0/2] fix image fleecing
Date: Tue, 3 Jul 2018 21:07:49 +0300 [thread overview]
Message-ID: <20180703180751.243496-1-vsementsov@virtuozzo.com> (raw)
Hi all.
It's a continuation of discussion under
"[PATCH v2 2/3] block/fleecing-filter: new filter driver for fleecing" [1].
Here is my try to implement Kevin's idea, that all backup writes (for
fleecing case) should be serialized. (However, I've skipped for now
fixing related permissions).
Looks like these patches may replace patch [1], to make fleecing scheme
safe. But I'm not sure, a look by Kevin is necessary.
A test is still needed, to prove that this patch is necessary and that it
works..
Vladimir Sementsov-Ogievskiy (2):
block: add BDRV_REQ_SERIALISING flag
block/backup: fix fleecing scheme: use serialized writes
include/block/block.h | 5 ++++-
block/backup.c | 21 ++++++++++++++++++---
block/io.c | 4 ++++
3 files changed, 26 insertions(+), 4 deletions(-)
--
2.11.1
next reply other threads:[~2018-07-03 18:08 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-03 18:07 Vladimir Sementsov-Ogievskiy [this message]
2018-07-03 18:07 ` [Qemu-devel] [PATCH 1/2] block: add BDRV_REQ_SERIALISING flag Vladimir Sementsov-Ogievskiy
2018-07-04 14:44 ` Vladimir Sementsov-Ogievskiy
2018-07-04 15:08 ` Kevin Wolf
2018-07-04 16:11 ` Vladimir Sementsov-Ogievskiy
2018-07-04 16:20 ` Kevin Wolf
2018-07-04 16:36 ` Vladimir Sementsov-Ogievskiy
2018-07-04 17:06 ` Vladimir Sementsov-Ogievskiy
2018-07-05 8:34 ` Kevin Wolf
2018-07-03 18:07 ` [Qemu-devel] [PATCH 2/2] block/backup: fix fleecing scheme: use serialized writes Vladimir Sementsov-Ogievskiy
2018-07-04 10:39 ` Kevin Wolf
2018-07-04 12:31 ` Vladimir Sementsov-Ogievskiy
2018-07-04 13:20 ` Vladimir Sementsov-Ogievskiy
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=20180703180751.243496-1-vsementsov@virtuozzo.com \
--to=vsementsov@virtuozzo.com \
--cc=den@openvz.org \
--cc=eblake@redhat.com \
--cc=famz@redhat.com \
--cc=jcody@redhat.com \
--cc=jsnow@redhat.com \
--cc=kwolf@redhat.com \
--cc=mreitz@redhat.com \
--cc=qemu-block@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=stefanha@redhat.com \
/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).