From 3e0621736013efa4ea8e1ce8fd593b42de3b6f95 Mon Sep 17 00:00:00 2001 From: Ilya Dryomov Date: Tue, 9 Oct 2018 16:43:58 +0200 Subject: [PATCH] include/rados: clarify which flags go where for copy_from Signed-off-by: Ilya Dryomov --- src/include/rados.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/include/rados.h b/src/include/rados.h index 34a1f76368d0f..fdc3c6b7c4043 100644 --- a/src/include/rados.h +++ b/src/include/rados.h @@ -601,10 +601,11 @@ struct ceph_osd_op { struct { __le64 snapid; __le64 src_version; - __u8 flags; + __u8 flags; /* CEPH_OSD_COPY_FROM_FLAG_* */ /* - * __le32 flags: CEPH_OSD_OP_FLAG_FADVISE_: mean the fadvise flags for dest object - * src_fadvise_flags mean the fadvise flags for src object + * CEPH_OSD_OP_FLAG_FADVISE_*: fadvise flags + * for src object, flags for dest object are in + * ceph_osd_op::flags. */ __le32 src_fadvise_flags; } __attribute__ ((packed)) copy_from; -- 2.39.5