mirror of
https://github.com/ceph/go-ceph
synced 2024-12-22 06:10:09 +00:00
460837e900
The LIBRADOS_OP_FLAG_* constants can be passed to rbd_writesame() and other operations that will be added in the future. Signed-off-by: Niels de Vos <ndevos@redhat.com>
13 lines
233 B
Go
13 lines
233 B
Go
// +build !mimic
|
|
|
|
package rados
|
|
|
|
// #include <rados/librados.h>
|
|
import "C"
|
|
|
|
const (
|
|
// OpFlagFAdviseFUA optionally support FUA (force unit access) on write
|
|
// requests.
|
|
OpFlagFAdviseFUA = OpFlags(C.LIBRADOS_OP_FLAG_FADVISE_FUA)
|
|
)
|