ceph-csi/internal
Madhu Rajanna e8267de3c9 cephfs: fix logic to call ceph fs resize
clusterAdditionalInfo map is holding a localClusterState
for checking ceph cluster supports resize and subvolumegroup
is created or not, currently we are checking if the key is present
in a map and localClusterStatelocalClusterState.resizeSupported
is set to false to call ceph fs subvolume resize to check command is
supported or not, if a structure is  initialized all its members
are set to default value. so we will never going to check the
ceph fs subvolume  resize command is supported in backend or not, we are
always using ceph fs subvolume create to resize subvolume. in some
ceph version ceph fs subvolume create wont work to resize a subvolume.
This commit changes the resizeSupported from bool to *bool for
proper handling of this scenario.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit a35a835e9c)
2020-12-03 09:57:17 +00:00
..
cephfs cephfs: fix logic to call ceph fs resize 2020-12-03 09:57:17 +00:00
csi-common cleanup: address gomnd warnings 2020-07-21 08:36:24 +00:00
journal journal: fix reading omaps from objects with large key counts 2020-11-06 07:46:07 +00:00
liveness util: replace klog with util logger in liveness.go 2020-08-19 15:35:13 +00:00
rbd rbd: add minsnapshotsonimage flag 2020-11-18 20:11:43 +05:30
util rbd: add minsnapshotsonimage flag 2020-11-18 20:11:43 +05:30