]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
client: check client config and snaprealm flag before snapdir lookup
authorDhairya Parmar <dparmar@redhat.com>
Tue, 8 Jul 2025 21:25:36 +0000 (02:55 +0530)
committerDhairya Parmar <dparmar@redhat.com>
Mon, 29 Sep 2025 08:40:47 +0000 (14:10 +0530)
commit22fd58185de8138b9432bb18425a5fd09a66beb1
tree657165e07e66c7e4759e555fdd253e54e6619c2a
parent100c8e1a7d4ef89971bbd5ff15292ab6c495526f
client: check client config and snaprealm flag before snapdir lookup

this commit adds a new client config client_respect_subvolume_snapshot_visibility
which acts as knob to have a per-client control over the snapshot visibility and
checks it along with the snaprealm flag while looking up a subvolume inode.

Conficts:
Confict arose due to upstream 7ab995b715968a4d03cf91aa7c6f44e25757a45e not being part of
ceph-9.0-rhel-patches branch. Relevant code removed.

Fixes: https://tracker.ceph.com/issues/71740
Signed-off-by: Dhairya Parmar <dparmar@redhat.com>
(cherry picked from commit 1d20ac737af627667e31a09e2291d6c0e0b40ede)
Resolves: https://jsw.ibm.com/browse/ISCE-1465
src/client/Client.cc
src/client/Client.h
src/client/ClientSnapRealm.h
src/common/options/mds-client.yaml.in