aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ceph/osd_client.h
diff options
context:
space:
mode:
authorYehuda Sadeh <yehuda@hq.newdream.net>2010-05-18 16:38:08 -0700
committerSage Weil <sage@newdream.net>2010-10-20 15:37:25 -0700
commitae1533b62b3369e6ae32338f4a77d64d0e88f676 (patch)
tree9a54b1c1c8a52a4ae46bc0c5421d04e93ac6495f /fs/ceph/osd_client.h
parent68b4476b0bc13fef18266b4140309a30e86739d2 (diff)
downloadkernel_samsung_tuna-ae1533b62b3369e6ae32338f4a77d64d0e88f676.zip
kernel_samsung_tuna-ae1533b62b3369e6ae32338f4a77d64d0e88f676.tar.gz
kernel_samsung_tuna-ae1533b62b3369e6ae32338f4a77d64d0e88f676.tar.bz2
ceph-rbd: osdc support for osd call and rollback operations
This will be used for rbd snapshots administration. Signed-off-by: Yehuda Sadeh <yehuda@hq.newdream.net>
Diffstat (limited to 'fs/ceph/osd_client.h')
-rw-r--r--fs/ceph/osd_client.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/ceph/osd_client.h b/fs/ceph/osd_client.h
index d583d1b..65c9c56 100644
--- a/fs/ceph/osd_client.h
+++ b/fs/ceph/osd_client.h
@@ -134,14 +134,20 @@ struct ceph_osd_req_op {
__u8 cmp_mode; /* CEPH_OSD_CMPXATTR_MODE_* */
} xattr;
struct {
+ const char *class_name;
__u8 class_len;
+ const char *method_name;
__u8 method_len;
__u8 argc;
+ const char *indata;
u32 indata_len;
} cls;
struct {
u64 cookie, count;
} pgls;
+ struct {
+ u64 snapid;
+ } snap;
};
u32 payload_len;
};