mirror of https://github.com/ceph/go-ceph
rbd: add RBD_IMAGE_OPTION_FLATTEN for Mimic
Signed-off-by: Niels de Vos <ndevos@redhat.com>
This commit is contained in:
parent
b76c077b3c
commit
ba93f46cb4
|
@ -69,9 +69,6 @@ const (
|
|||
RbdImageOptionFeaturesClear = ImageOptionFeaturesClear
|
||||
// RbdImageOptionDataPool deprecated alias for ImageOptionDataPool
|
||||
RbdImageOptionDataPool = ImageOptionDataPool
|
||||
|
||||
// introduced with Ceph Mimic
|
||||
//RbdImageOptionFlatten = C.RBD_IMAGE_OPTION_FLATTEN
|
||||
)
|
||||
|
||||
// ImageOptions represents a group of configurable image options.
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
// +build !luminous
|
||||
|
||||
package rbd
|
||||
|
||||
// #include <rbd/librbd.h>
|
||||
import "C"
|
||||
|
||||
const (
|
||||
// ImageOptionFlatten is the representation of RBD_IMAGE_OPTION_FLATTEN
|
||||
// from librbd
|
||||
ImageOptionFlatten = C.RBD_IMAGE_OPTION_FLATTEN
|
||||
)
|
Loading…
Reference in New Issue