ceph-csi/internal/rbd
Prasanna Kumar Kalever 83cc1b0e58 rbd: handle when krbdFeatures is zero
krbdFeatures is set to zero when kernel version < 3.8, i.e. in  case where
/sys/bus/rbd/supported_features is absent and we are unable to prepare
the krbd attributes based on kernel version.

When krbdFeatures is set to zero fallback to NBD only when autofallback
is turned ON.

Fixes: #2678
Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
2022-05-15 15:10:08 +00:00
..
driver rbd: check nbd tool features only for rbd driver 2022-04-11 21:18:27 +00:00
clone.go rbd: unset parent PVC metadata on CreateVolume From Volume 2022-05-12 15:54:09 +00:00
controllerserver.go rbd: unset snapshot metadata on CreateVolume From snapshot 2022-05-12 15:54:09 +00:00
diskusage.go rbd: implement CSI-Addons ControllerReclaimSpace 2021-12-23 17:43:23 +00:00
encryption.go rbd: support pvc-pvc clone with different sc & encryption 2022-05-06 10:32:21 +00:00
errors.go rbd: check local image state during promote operation 2021-12-01 20:19:05 +00:00
globals.go rbd: add functions for initializing global variables 2021-12-10 07:35:26 +00:00
identityserver.go internal: reformat long lines in internal/rbd package to 120 chars 2021-06-28 14:43:49 +00:00
migration_test.go rbd: change iteration variable name in the migration test to be specific 2021-10-11 10:06:30 +00:00
migration.go rbd: remove redundant util.Credentials arg from flattenRbdImage() 2022-01-06 12:28:18 +00:00
mirror.go cleanup: correct typos in test description and source code 2022-04-18 10:29:08 +00:00
nodeserver_test.go cleanup: generalize the parseBool function 2021-11-01 08:17:36 +00:00
nodeserver.go rbd: handle when krbdFeatures is zero 2022-05-15 15:10:08 +00:00
rbd_attach_test.go rbd: fix parsing mapOptions 2022-03-14 15:21:25 +00:00
rbd_attach.go rbd: check nbd tool features only for rbd driver 2022-04-11 21:18:27 +00:00
rbd_healer.go rbd: export RunVolumeHealer() so that rbd/driver can start it 2021-12-10 07:35:26 +00:00
rbd_journal.go cleanup: simplify setVolumeMetadata and rename it 2022-05-12 15:54:09 +00:00
rbd_util_test.go rbd: handle when krbdFeatures is zero 2022-05-15 15:10:08 +00:00
rbd_util.go rbd: handle when krbdFeatures is zero 2022-05-15 15:10:08 +00:00
replicationcontrollerserver_test.go rbd: enabe journal based mirroring 2021-12-01 14:12:30 +00:00
replicationcontrollerserver.go cleanup: correct typos in test description and source code 2022-04-18 10:29:08 +00:00
snapshot.go rbd: remove redundant util.Credentials arg from flattenRbdImage() 2022-01-06 12:28:18 +00:00