ceph-csi/internal/csi-addons/rbd
Rakshith R 3a1d55db16 rbd: do not execute rbd sparsify when volume is in use
This commit makes sure sparsify() is not run when rbd
image is in use.
Running rbd sparsify with workload doing io and too
frequently is not desirable.
When a image is in use fstrim is run and sparsify will
be run only when image is not mapped.

Signed-off-by: Rakshith R <rar@redhat.com>
(cherry picked from commit 98fdadfde7)

# Conflicts:
#	internal/rbd/errors.go
2023-07-12 10:42:49 +00:00
..
identity.go rbd: add replication capability & service to csiaddons server 2022-08-18 08:19:20 +00:00
network_fence_test.go cleanup: remove import alias for fence library 2022-04-18 10:29:08 +00:00
network_fence.go ci: fix all linter errors found in golangci-lint 2022-06-03 12:55:54 +00:00
reclaimspace_test.go rbd: implement NodeReclaimSpace 2021-12-23 17:43:23 +00:00
reclaimspace.go rbd: do not execute rbd sparsify when volume is in use 2023-07-12 10:42:49 +00:00