]> git.apps.os.sepia.ceph.com Git - ceph.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, 6 Oct 2025 11:48:59 +0000 (17:18 +0530)
commit5f9eb71c2a7fe8ba256cf6dddbcc70dea8837075
treee746ad964be2c75b855f2ea19d59b180ff6f95e8
parent6520c6d7708a810dae772286330e05578b0e24f1
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