2020-02-18 13:40:53 +00:00
|
|
|
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
|
|
|
|
)
|
2020-02-18 13:43:50 +00:00
|
|
|
|
|
|
|
func init() {
|
|
|
|
featureNameToBit[FeatureNameMigrating] = FeatureMigrating
|
|
|
|
}
|