diff options
author | Yehuda Sadeh <yehuda@hq.newdream.net> | 2010-05-17 15:40:28 -0400 |
---|---|---|
committer | Sage Weil <sage@newdream.net> | 2010-08-10 17:41:25 -0400 |
commit | e56fa10e92e077d456cbc33b7025032887772b33 (patch) | |
tree | ada8fefc9fdbe457a6f387b05e984478065a698b /fs/ceph/mon_client.h | |
parent | 0eb6cd49f6e3ec523787d09cf08d3179be270db4 (diff) |
ceph: generalize mon requests, add pool op support
Generalize the current statfs synchronous requests, and support pool_ops.
Signed-off-by: Yehuda Sadeh <yehuda@hq.newdream.net>
Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'fs/ceph/mon_client.h')
-rw-r--r-- | fs/ceph/mon_client.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/ceph/mon_client.h b/fs/ceph/mon_client.h index 174d794321d0..8e396f2c0963 100644 --- a/fs/ceph/mon_client.h +++ b/fs/ceph/mon_client.h | |||
@@ -50,6 +50,7 @@ struct ceph_mon_generic_request { | |||
50 | struct rb_node node; | 50 | struct rb_node node; |
51 | int result; | 51 | int result; |
52 | void *buf; | 52 | void *buf; |
53 | int buf_len; | ||
53 | struct completion completion; | 54 | struct completion completion; |
54 | struct ceph_msg *request; /* original request */ | 55 | struct ceph_msg *request; /* original request */ |
55 | struct ceph_msg *reply; /* and reply */ | 56 | struct ceph_msg *reply; /* and reply */ |
@@ -111,6 +112,10 @@ extern int ceph_monc_open_session(struct ceph_mon_client *monc); | |||
111 | 112 | ||
112 | extern int ceph_monc_validate_auth(struct ceph_mon_client *monc); | 113 | extern int ceph_monc_validate_auth(struct ceph_mon_client *monc); |
113 | 114 | ||
115 | extern int ceph_monc_create_snapid(struct ceph_mon_client *monc, | ||
116 | u32 pool, u64 *snapid); | ||
114 | 117 | ||
118 | extern int ceph_monc_delete_snapid(struct ceph_mon_client *monc, | ||
119 | u32 pool, u64 snapid); | ||
115 | 120 | ||
116 | #endif | 121 | #endif |