ceph-csi/internal/cephfs
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_util.go cephfs: check stderror for CLI commands 2020-11-06 21:19:17 +05:30
clone.go cephfs: check clone pending state 2020-11-06 21:19:17 +05:30
controllerserver.go cephfs: check clone pending state 2020-11-06 21:19:17 +05:30
driver.go cephfs: replace warning with WarningLogMsg in Run 2020-08-13 09:44:12 +00:00
errors.go cephfs: check clone pending state 2020-11-06 21:19:17 +05:30
fsjournal.go cephfs: check clone pending state 2020-11-06 21:19:17 +05:30
identityserver.go cleanup: address godot warnings 2020-07-21 08:36:24 +00:00
nodeserver.go cephfs: replace Errorf with ErrorLog in nodeUnstageVolume 2020-08-13 09:44:12 +00:00
snapshot.go cephfs: check stderror for CLI commands 2020-11-06 21:19:17 +05:30
util.go cephfs: check stderror for CLI commands 2020-11-06 21:19:17 +05:30
volume.go cephfs: fix logic to call ceph fs resize 2020-12-03 09:57:17 +00:00
volumemounter.go cephfs: check only the stderror message for umount 2020-11-18 09:37:57 +05:30
volumeoptions.go cephfs: Fetch subvolume features in newSnapshotOptionsFromID 2020-09-17 09:04:41 +00:00