ceph-csi/internal
Madhu Rajanna a35a835e9c 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>
2020-12-01 13:31:39 +00:00
..
cephfs cephfs: fix logic to call ceph fs resize 2020-12-01 13:31:39 +00:00
controller rbd: add new controller to regenerate omap data 2020-11-28 18:50:00 +00:00
csi-common cleanup: fix mispell words 2020-11-29 12:47:46 +05:30
journal cleanup: fix misspell words 2020-11-30 08:46:48 +01:00
liveness util: replace klog with util logger in liveness.go 2020-08-19 14:38:12 +00:00
rbd cleanup: fix misspell words 2020-11-30 08:46:48 +01:00
util rebase: split vaultConnection from VaultKMS 2020-11-30 19:16:39 +00:00