ceph-csi/internal
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
..
cephfs cephfs: use shallow volumes for the ROX accessMode 2023-02-21 20:09:13 +00:00
controller cleanup: ReconcilePersistentVolume consider passing it by pointer 2022-06-28 19:12:53 +00:00
csi-addons rbd: do not execute rbd sparsify when volume is in use 2023-07-12 10:42:49 +00:00
csi-common util: make inode metrics optional in FilesystemNodeGetVolumeStats() 2022-10-13 19:02:47 +00:00
journal rbd: update namespace name in rados object 2022-10-28 15:50:01 +00:00
kms cleanup: fix static checks 2023-02-02 14:53:59 +00:00
liveness cleanup: move log functions to new internal/util/log package 2021-08-26 09:34:05 +00:00
nfs cephfs: use shallow volumes for the ROX accessMode 2023-02-21 20:09:13 +00:00
rbd rbd: do not execute rbd sparsify when volume is in use 2023-07-12 10:42:49 +00:00
util util: Limit cryptsetup PBKDF memory usage 2023-04-27 16:47:12 +00:00