]> git.apps.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>
Thu, 25 Sep 2025 16:41:08 +0000 (22:11 +0530)
commit1d20ac737af627667e31a09e2291d6c0e0b40ede
treea83bdcd4ab11586ff7b34868ebb6f5669b29132f
parent9540f543011a9aa08886a14159323cc68722faa4
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.

Fixes: https://tracker.ceph.com/issues/71740
Signed-off-by: Dhairya Parmar <dparmar@redhat.com>
src/client/Client.cc
src/client/Client.h
src/client/ClientSnapRealm.h
src/common/options/mds-client.yaml.in