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