ceph-csi/internal/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
..
driver rbd: add capability to automatically enable read affinity 2023-02-14 08:29:46 +00:00
clone.go rbd: remove the clone in case of failure 2022-06-30 05:50:16 +00:00
controllerserver_test.go rbd: add support for rbd striping 2022-06-09 18:59:00 +00:00
controllerserver.go rbd: remove context where its not being used 2023-06-07 08:36:47 +00:00
diskusage.go rbd: do not execute rbd sparsify when volume is in use 2023-07-12 10:42:49 +00:00
encryption_test.go rbd: add unit test for ParseEncryptionOpts 2023-06-07 08:36:47 +00:00
encryption.go rbd: add unit test for ParseEncryptionOpts 2023-06-07 08:36:47 +00:00
errors.go rbd: do not execute rbd sparsify when volume is in use 2023-07-12 10:42:49 +00:00
globals.go rbd: add functions for initializing global variables 2021-12-10 07:35:26 +00:00
identityserver.go ci: fix all linter errors found in golangci-lint 2022-06-03 12:55:54 +00:00
migration_test.go rbd: change iteration variable name in the migration test to be specific 2021-10-11 10:06:30 +00:00
migration.go rbd: remove redundant util.Credentials arg from flattenRbdImage() 2022-01-06 12:28:18 +00:00
mirror.go cleanup: correct typos in test description and source code 2022-04-18 10:29:08 +00:00
nodeserver_test.go rbd: add capability to automatically enable read affinity 2023-02-14 08:29:46 +00:00
nodeserver.go rbd: remove context where its not being used 2023-06-07 08:36:47 +00:00
rbd_attach_test.go rbd: fix parsing mapOptions 2022-03-14 15:21:25 +00:00
rbd_attach.go rbd: Rename encryption to blockEncryption prep for fscrypt 2022-10-17 17:33:52 +00:00
rbd_healer.go rbd: healer detect Kubernetes version for right StagingTargetPath 2022-06-24 12:23:29 +00:00
rbd_journal.go rbd: remove context where its not being used 2023-06-07 08:36:47 +00:00
rbd_util_test.go cleanup: fix static checks 2023-02-02 14:53:59 +00:00
rbd_util.go rbd: discover if StagingTargetPath in NodeExpandVolume 2023-01-31 08:20:36 +00:00
replicationcontrollerserver_test.go rbd: return error if last sync time not present 2022-11-03 08:10:19 +00:00
replicationcontrollerserver.go rbd: check for empty lastSyncTime 2022-11-03 08:10:19 +00:00
snapshot.go rbd: support file encrypted snapshots 2022-10-17 17:33:52 +00:00