]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/smb: cache subvolume (& subvolume group) path lookups 57853/head
authorAvan Thakkar <athakkar@redhat.com>
Mon, 3 Jun 2024 18:39:31 +0000 (00:09 +0530)
committerAvan Thakkar <athakkar@redhat.com>
Wed, 3 Jul 2024 04:33:17 +0000 (10:03 +0530)
commit41bd6a94a83df3702d782896ff205396990cd011
treed3179a338f7b831d65afe0c4a0e37ebfbd742224
parent1272408fafd0d87fa8a3dd308b77e8f8867b8314
mgr/smb: cache subvolume (& subvolume group) path lookups

Implement custom TTL cache for CephFS path resolver

- Added TTLCache class to manage cache with time-to-live expiration.
- Integrated TTLCache into CachingCephFSPathResolver.

Signed-off-by: Avan Thakkar <athakkar@redhat.com>
src/pybind/mgr/smb/fs.py
src/pybind/mgr/smb/module.py
src/pybind/mgr/smb/tests/test_fs.py