mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-14 10:20:20 +00:00
19 lines
421 B
Go
19 lines
421 B
Go
|
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
|
||
|
}
|