On 2018-04-21 15:29, Max Reitz wrote: > This series adds a copy-on-read block filter driver which works by > simply setting the BDRV_REQ_COPY_ON_READ flag on write requests (and > otherwise just passing everything through). > > Cover letter of v1: > http://lists.nongnu.org/archive/html/qemu-block/2018-04/msg00285.html > > > v2: > - Renamed the driver "copy-on-read" (from just "cor") [Stefan] > - Commit message typo fix in patch 2 [Stefan, Berto] > > > git-backport-diff against v2: > > Key: > [----] : patches are identical > [####] : number of functional differences between upstream/downstream patch > [down] : patch is downstream-only > The flags [FC] indicate (F)unctional and (C)ontextual differences, respectively > > 001/9:[0020] [FC] 'block: Add COR filter driver' > 002/9:[----] [--] 'block: BLK_PERM_WRITE includes ..._UNCHANGED' > 003/9:[----] [--] 'block: Add BDRV_REQ_WRITE_UNCHANGED flag' > 004/9:[----] [--] 'block: Set BDRV_REQ_WRITE_UNCHANGED for COR writes' > 005/9:[----] [--] 'block/quorum: Support BDRV_REQ_WRITE_UNCHANGED' > 006/9:[----] [--] 'block: Support BDRV_REQ_WRITE_UNCHANGED in filters' > 007/9:[----] [--] 'iotests: Clean up wrap image in 197' > 008/9:[0010] [FC] 'iotests: Copy 197 for COR filter driver' > 009/9:[0004] [FC] 'iotests: Add test for COR across nodes' Thanks for the reviews, applied to my block branch. Max