mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-13 10:33:35 +00:00
rebase: use go-ceph v0.3.0
v0.3.0 adds support for rbd.FeatureSet that can be used to parse the features of an RBD image. This will be used in the followup commit that adds rbdVolume.getImageInfo(). Signed-off-by: Niels de Vos <ndevos@redhat.com>
This commit is contained in:
committed by
mergify[bot]
parent
323cc0e3bb
commit
772d1dfa77
20
vendor/github.com/ceph/go-ceph/rbd/features_nautilus.go
generated
vendored
Normal file
20
vendor/github.com/ceph/go-ceph/rbd/features_nautilus.go
generated
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
// +build !luminous,!mimic
|
||||
|
||||
package rbd
|
||||
|
||||
// #include <rbd/librbd.h>
|
||||
import "C"
|
||||
|
||||
const (
|
||||
// FeatureMigrating is the representation of RBD_FEATURE_MIGRATING from
|
||||
// librbd
|
||||
FeatureMigrating = uint64(C.RBD_FEATURE_MIGRATING)
|
||||
|
||||
// FeatureNameMigrating is the representation of
|
||||
// RBD_FEATURE_NAME_MIGRATING from librbd
|
||||
FeatureNameMigrating = C.RBD_FEATURE_NAME_MIGRATING
|
||||
)
|
||||
|
||||
func init() {
|
||||
featureNameToBit[FeatureNameMigrating] = FeatureMigrating
|
||||
}
|
Reference in New Issue
Block a user