]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/smb: move prune function to be a staging store method 64310/head
authorJohn Mulligan <jmulligan@redhat.com>
Wed, 2 Jul 2025 18:25:32 +0000 (14:25 -0400)
committerJohn Mulligan <jmulligan@redhat.com>
Wed, 2 Jul 2025 20:29:41 +0000 (16:29 -0400)
commit3633bfbb219834d5d2489c8955bac297d693cee0
tree409fa809b9feea0adbd70cdf11c2ff9b7229f174
parentee6b29bb31193ccf021b4b06520e7e2abc3cfe5e
mgr/smb: move prune function to be a staging store method

The prune function was tightly linked to the staging store. Re-implement
it as more generic operation on the staging store.
Continue shrinking handler.py a bit and preparing to make it simpler to
add future SMBResource types.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
src/pybind/mgr/smb/handler.py
src/pybind/mgr/smb/staging.py