diff options
author | Yehuda Sadeh <yehuda@hq.newdream.net> | 2010-05-18 19:38:08 -0400 |
---|---|---|
committer | Sage Weil <sage@newdream.net> | 2010-10-20 18:37:25 -0400 |
commit | ae1533b62b3369e6ae32338f4a77d64d0e88f676 (patch) | |
tree | 9a54b1c1c8a52a4ae46bc0c5421d04e93ac6495f /fs/ceph/osd_client.h | |
parent | 68b4476b0bc13fef18266b4140309a30e86739d2 (diff) |
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.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/ceph/osd_client.h b/fs/ceph/osd_client.h index d583d1bf6cd..65c9c560f1a 100644 --- a/fs/ceph/osd_client.h +++ b/fs/ceph/osd_client.h | |||
@@ -134,14 +134,20 @@ struct ceph_osd_req_op { | |||
134 | __u8 cmp_mode; /* CEPH_OSD_CMPXATTR_MODE_* */ | 134 | __u8 cmp_mode; /* CEPH_OSD_CMPXATTR_MODE_* */ |
135 | } xattr; | 135 | } xattr; |
136 | struct { | 136 | struct { |
137 | const char *class_name; | ||
137 | __u8 class_len; | 138 | __u8 class_len; |
139 | const char *method_name; | ||
138 | __u8 method_len; | 140 | __u8 method_len; |
139 | __u8 argc; | 141 | __u8 argc; |
142 | const char *indata; | ||
140 | u32 indata_len; | 143 | u32 indata_len; |
141 | } cls; | 144 | } cls; |
142 | struct { | 145 | struct { |
143 | u64 cookie, count; | 146 | u64 cookie, count; |
144 | } pgls; | 147 | } pgls; |
148 | struct { | ||
149 | u64 snapid; | ||
150 | } snap; | ||
145 | }; | 151 | }; |
146 | u32 payload_len; | 152 | u32 payload_len; |
147 | }; | 153 | }; |