ceph-csi/internal/cephfs
Rakshith R 82f1323af4 cephfs: safeguard localClusterState struct from race conditions
Multiple go-routines may simultaneously check for a clusterID's
presence in clusterAdditionalInfo and create an entry if it is
absent. This set of operation needs to be serialized.

Therefore, this commit safeguards clusterAdditionalInfo map
from concurrent writes with a mutex to prevent the above problem.

Signed-off-by: Rakshith R <rar@redhat.com>
2023-10-10 21:04:05 +00:00
..
core cephfs: safeguard localClusterState struct from race conditions 2023-10-10 21:04:05 +00:00
errors cleanup: move core functions to core pkg 2021-09-23 06:39:37 +00:00
mounter build: address nolintlint errors from new golangci-lint 2023-06-05 04:49:46 +00:00
store cephfs: set Pool parameter to empty for Snapshot-backed volumes 2023-08-17 16:13:48 +00:00
util cephfs: fix make go-lint error 2023-08-30 09:07:46 +00:00
controllerserver.go cephfs: add support for RWX clone from ROX 2023-08-31 11:51:18 +00:00
driver_test.go cephfs: add CSI-Addons support to the cephfs 2023-07-14 13:24:00 +00:00
driver.go cephfs: add CSI-Addons support to the cephfs 2023-07-14 13:24:00 +00:00
fuserecovery.go build: address gofmt warnings 2023-06-05 04:49:46 +00:00
identityserver.go ci: fix all linter errors found in golangci-lint 2022-06-03 12:55:54 +00:00
nodeserver.go cephfs: add mountOptions during NodeStage call 2023-06-19 09:51:40 +00:00
validator.go cephfs: correct comment for validateExpandVolumeRequest 2021-09-07 14:33:02 +00:00