]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/smb: move prune function to be a staging store method 64444/head
authorJohn Mulligan <jmulligan@redhat.com>
Wed, 2 Jul 2025 18:25:32 +0000 (14:25 -0400)
committerAdam King <adking@redhat.com>
Thu, 10 Jul 2025 16:02:39 +0000 (12:02 -0400)
commit28a3503f23ee07498ed11b7ddae08db515880605
treef36225ef33421c01c71d567f32f57c955209e96b
parentad66cb0e7e7c81a77549524bc845232eea425c6f
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>
(cherry picked from commit 3633bfbb219834d5d2489c8955bac297d693cee0)
src/pybind/mgr/smb/handler.py
src/pybind/mgr/smb/staging.py