mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-05-22 15:26:42 +00:00
Multiple go-routines may simultaneously create the subVolumeGroupCreated map or write into it for a particular group. This commit safeguards subVolumeGroupCreated map from concurrent creation/writes while allowing for multiple readers. Signed-off-by: Rakshith R <rar@redhat.com> (cherry picked from commit d516a1d66d84e9fa62fc3e58d429f89205851741)