diff options
author | Sage Weil <sage@newdream.net> | 2009-10-14 20:26:40 -0400 |
---|---|---|
committer | Sage Weil <sage@newdream.net> | 2009-10-15 21:14:42 -0400 |
commit | 07bd10fb9853a41a7f0bb271721cca97d15eccae (patch) | |
tree | e7720633e7ce7be5dd3e9a9f96f1d63e3095b06c /fs/ceph/ceph_fs.h | |
parent | afcdaea3f2a78ce4873bd7e98a6d603bda23d167 (diff) |
ceph: correct subscribe_ack msgpool payload size
Defined a struct for the SUBSCRIBE_ACK, and use that to size
the msgpool.
Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'fs/ceph/ceph_fs.h')
-rw-r--r-- | fs/ceph/ceph_fs.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/ceph/ceph_fs.h b/fs/ceph/ceph_fs.h index 56af192cb430..9b16e2e06ea6 100644 --- a/fs/ceph/ceph_fs.h +++ b/fs/ceph/ceph_fs.h | |||
@@ -162,6 +162,11 @@ struct ceph_mon_subscribe_item { | |||
162 | __u8 onetime; | 162 | __u8 onetime; |
163 | } __attribute__ ((packed)); | 163 | } __attribute__ ((packed)); |
164 | 164 | ||
165 | struct ceph_mon_subscribe_ack { | ||
166 | __le32 duration; /* seconds */ | ||
167 | struct ceph_fsid fsid; | ||
168 | } __attribute__ ((packed)); | ||
169 | |||
165 | /* | 170 | /* |
166 | * mds states | 171 | * mds states |
167 | * > 0 -> in | 172 | * > 0 -> in |