ceph-csi/internal/util
Madhu Rajanna 37d5b883ca rbd: take lock on targetpath during node operation
We should not be dependent on the CO to ensure
that it will serialize the request instead of
that we need to have own internal locks to ensure
that we dont do concurrent operations for same
request.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit 38c0e64307)
2024-12-06 12:39:39 +05:30
..
fscrypt cleanup: refactor functions to accept a context parameter 2024-03-12 13:54:19 +00:00
k8s util: added RunsOnKubernetes() function 2023-11-08 21:17:00 +00:00
log build: address gocritic warnings 2023-06-05 04:49:46 +00:00
reftracker build: address nolintlint errors from new golangci-lint 2023-06-05 04:49:46 +00:00
cephcmds_test.go util: add helper ExecCommandWithTimeout function 2021-12-23 13:36:21 +00:00
cephcmds.go ci: fix all linter errors found in golangci-lint 2022-06-03 12:55:54 +00:00
cephconf.go cleanup: remove ceph.conf WA options which are already fixed 2022-02-04 15:42:32 +00:00
cluster_mapping_test.go deploy: added json field tags for csi config map 2023-12-21 17:44:46 +00:00
cluster_mapping.go ci: fix all linter errors found in golangci-lint 2022-06-03 12:55:54 +00:00
conn_pool_test.go build: address nolintlint errors from new golangci-lint 2023-06-05 04:49:46 +00:00
conn_pool.go cleanup: use os.ReadFile to read file 2022-01-24 05:25:11 +00:00
connection.go nfs: use go-ceph API for creating/deleting exports 2022-04-14 08:01:45 +00:00
credentials_test.go build: address gofmt warnings 2023-06-05 04:49:46 +00:00
credentials.go cleanup: fix static checks 2023-02-02 14:53:59 +00:00
crushlocation_test.go util: exclude empty label values for crushlocation map 2024-08-06 20:03:03 +05:30
crushlocation.go util: exclude empty label values for crushlocation map 2024-08-06 20:03:03 +05:30
crypto_test.go cleanup: refactor functions to accept a context parameter 2024-03-12 13:54:19 +00:00
crypto.go cleanup: refactor functions to accept a context parameter 2024-03-12 13:54:19 +00:00
cryptsetup.go util: Limit cryptsetup PBKDF memory usage 2023-04-27 10:43:45 +00:00
csiconfig_test.go deploy: added json field tags for csi config map 2023-12-21 17:44:46 +00:00
csiconfig.go deploy: added json field tags for csi config map 2023-12-21 17:44:46 +00:00
errors_test.go cleanup: addresses paralleltest linter 2021-06-25 11:55:12 +00:00
errors.go cleanup: rename errorPair to pairError 2022-01-24 05:25:11 +00:00
getsecret_test.go cleanup: refactor functions to accept a context parameter 2024-03-12 13:54:19 +00:00
httpserver.go build: address gosec warning 2023-06-05 04:49:46 +00:00
idlocker_test.go util: remove deleteLock test as it is enforced by the controller 2021-07-22 15:07:49 +00:00
idlocker.go rbd: take lock on targetpath during node operation 2024-12-06 12:39:39 +05:30
pidlimit_test.go cleanup: resolves gofumpt issues of internal codes 2021-07-14 19:50:56 +00:00
pidlimit.go util: support systems using the new cgroup v2 structure 2022-05-07 20:38:48 +00:00
read_affinity_test.go util: added read affinity related functions and unit testcases 2023-11-08 21:17:00 +00:00
read_affinity.go cephfs: add read affinity mount option 2023-11-22 13:13:01 +00:00
stripsecrets.go cleanup: resolve nlreturn linter issues 2021-07-22 06:05:01 +00:00
topology_test.go rbd: fix topology snapshot pool 2022-03-30 04:40:30 +00:00
topology.go util: moved GetNodeLabels() under internal/util/k8s 2023-11-08 21:17:00 +00:00
util_test.go cephfs: Fix cephfs PVC sizing 2023-10-12 17:31:46 +00:00
util.go cleanup: incorrect fuserecovery logging 2024-05-09 14:53:29 +05:30
validate.go cleanup: resolve nlreturn linter issues 2021-07-22 06:05:01 +00:00
volid_test.go cleanup: do not pass EncodingVersion to GenerateVolID() 2024-03-18 06:23:28 +00:00
volid.go cleanup: do not pass EncodingVersion to GenerateVolID() 2024-03-18 06:23:28 +00:00