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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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(-)

-- 
2.39.2




[Index of Archives]     [CEPH Users]     [Ceph Large]     [Ceph Dev]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux