ceph: fix client race condition validating r_parent before applying state

Merge Request Required Information

JIRA: https://issues.redhat.com/browse/RHEL-117609

Add validation to ensure the cached parent directory inode matches the directory info in MDS replies. This prevents client-side race conditions where concurrent operations (e.g. rename) cause r_parent to become stale between request initiation and reply processing, which could lead to applying state changes to incorrect directory inodes.

Signed-off-by: Alex Markuze amarkuze@redhat.com

Edited by Alex Markuze

Merge request reports

Loading