ceph-csi/internal/cephfs
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_util.go cephfs: implement getMetadataPool() with go-ceph 2020-10-20 15:38:44 +00:00
clone.go cleanup: fix mispell words 2020-11-29 12:47:46 +05:30
controllerserver.go cleanup: fix mispell words 2020-11-29 12:47:46 +05:30
driver.go cephfs: replace warning with WarningLogMsg in Run 2020-08-13 09:44:12 +00:00
errors.go cephfs: remove unused invalidCommand error const 2020-12-01 09:46:52 +00:00
fsjournal.go cephfs: make getVolumeRootPathCeph as a method 2020-12-01 09:46:52 +00:00
identityserver.go cleanup: address godot warnings 2020-07-21 08:36:24 +00:00
nodeserver.go cephfs: connect to the Ceph Cluster with go-ceph 2020-10-14 15:16:56 +00:00
snapshot.go cleanup: fix mispell words 2020-11-29 12:47:46 +05:30
util.go cleanup: fix mispell words 2020-11-29 12:47:46 +05:30
volume.go cephfs: fix logic to call ceph fs resize 2020-12-01 13:31:39 +00:00
volumemounter.go cephfs: trim spaces around fuseMountOptions 2020-09-23 12:12:51 +00:00
volumeoptions.go cephfs: make getVolumeRootPathCeph as a method 2020-12-01 09:46:52 +00:00