diff options
author | Sage Weil <sage@newdream.net> | 2009-10-14 17:26:40 -0700 |
---|---|---|
committer | Sage Weil <sage@newdream.net> | 2009-10-15 18:14:42 -0700 |
commit | 07bd10fb9853a41a7f0bb271721cca97d15eccae (patch) | |
tree | e7720633e7ce7be5dd3e9a9f96f1d63e3095b06c /fs/ceph/ceph_fs.h | |
parent | afcdaea3f2a78ce4873bd7e98a6d603bda23d167 (diff) | |
download | kernel_samsung_tuna-07bd10fb9853a41a7f0bb271721cca97d15eccae.zip kernel_samsung_tuna-07bd10fb9853a41a7f0bb271721cca97d15eccae.tar.gz kernel_samsung_tuna-07bd10fb9853a41a7f0bb271721cca97d15eccae.tar.bz2 |
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 56af192..9b16e2e 100644 --- a/fs/ceph/ceph_fs.h +++ b/fs/ceph/ceph_fs.h @@ -162,6 +162,11 @@ struct ceph_mon_subscribe_item { __u8 onetime; } __attribute__ ((packed)); +struct ceph_mon_subscribe_ack { + __le32 duration; /* seconds */ + struct ceph_fsid fsid; +} __attribute__ ((packed)); + /* * mds states * > 0 -> in |