mbox series

[0/2] rbd: avoid fast-diff corruption in snapshot-based mirroring

Message ID 20230605202715.968962-1-idryomov@gmail.com
Headers show
Series rbd: avoid fast-diff corruption in snapshot-based mirroring | expand

Message

Ilya Dryomov June 5, 2023, 8:27 p.m. UTC
Hello,

This fixes a potential data corruption in the destination image in
differential backup and especially snapshot-based mirroring use cases
with fast-diff enabled.

Thanks,

                Ilya


Ilya Dryomov (2):
  rbd: move RBD_OBJ_FLAG_COPYUP_ENABLED flag setting
  rbd: get snapshot context after exclusive lock is ensured to be held

 drivers/block/rbd.c | 62 ++++++++++++++++++++++++++++++++-------------
 1 file changed, 44 insertions(+), 18 deletions(-)