mirror of
https://github.com/ceph/go-ceph
synced 2025-01-28 00:53:24 +00:00
87f4563118
Signed-off-by: Sven Anderson <sven@redhat.com>
22 lines
480 B
Go
22 lines
480 B
Go
//go:build !luminous && !mimic
|
|
// +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
|
|
}
|