mirror of
https://github.com/ceph/go-ceph
synced 2024-12-23 14:45:42 +00:00
rbd: add RBD_IMAGE_OPTION_MIRROR_IMAGE_MODE for Octopus
Signed-off-by: Niels de Vos <ndevos@redhat.com>
This commit is contained in:
parent
8235827b5a
commit
6c5364f422
12
rbd/options_octopus.go
Normal file
12
rbd/options_octopus.go
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
// +build !luminous,!mimic,!nautilus
|
||||||
|
|
||||||
|
package rbd
|
||||||
|
|
||||||
|
// #include <rbd/librbd.h>
|
||||||
|
import "C"
|
||||||
|
|
||||||
|
const (
|
||||||
|
// ImageOptionMirrorImageMode is the representation of
|
||||||
|
// RBD_IMAGE_OPTION_MIRROR_IMAGE_MODE from librbd
|
||||||
|
ImageOptionMirrorImageMode = C.RBD_IMAGE_OPTION_MIRROR_IMAGE_MODE
|
||||||
|
)
|
Loading…
Reference in New Issue
Block a user