mbox series

[0/3] rbd: reduce the potential for erroneous blocklisting

Message ID 20230725043559.123889-1-idryomov@gmail.com
Headers show
Series rbd: reduce the potential for erroneous blocklisting | expand

Message

Ilya Dryomov July 25, 2023, 4:35 a.m. UTC
Hello,

This came out of snapshot-based mirroring work.  Patches 1 and 2 are
preparatory, patch 3 fixes the issue (in as much as reasonable).

Thanks,

                Ilya


Ilya Dryomov (3):
  rbd: make get_lock_owner_info() return a single locker or NULL
  rbd: harden get_lock_owner_info() a bit
  rbd: retrieve and check lock owner twice before blocklisting

 drivers/block/rbd.c                  | 115 ++++++++++++++++++---------
 include/linux/ceph/cls_lock_client.h |  10 +++
 2 files changed, 87 insertions(+), 38 deletions(-)