]> 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>
Wed, 17 Sep 2025 13:28:09 +0000 (18:58 +0530)
commit54de0c023cf3b0d1b1b4477d4d852b5a52fa236f
tree94da738739f9ca8363b2bc0fd057e63125dccfa7
parentb360dbac81e482c6f73d472dfb756ce35d66afcf
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