On 04.08.21 11:37, Vladimir Sementsov-Ogievskiy wrote:
We want to simplify initialization interface of copy-before-write
filter as we are going to make it public. So, let's detect fleecing
scheme exactly in block-copy code, to not pass this information through
extra levels.

Why not just set BDRV_REQ_SERIALISING unconditionally: because we are
going to implement new more efficient fleecing scheme which will not
rely on backing feature.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsement...@virtuozzo.com>
---
  block/copy-before-write.h  |  2 +-
  include/block/block-copy.h |  3 +--
  block/backup.c             | 21 +--------------------
  block/block-copy.c         | 24 +++++++++++++++++++++---
  block/copy-before-write.c  |  4 ++--
  5 files changed, 26 insertions(+), 28 deletions(-)

Reviewed-by: Hanna Reitz <hre...@redhat.com>


Reply via email to