aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ceph/ceph_fs.h
diff options
context:
space:
mode:
authorSage Weil <sage@newdream.net>2009-10-14 17:26:40 -0700
committerSage Weil <sage@newdream.net>2009-10-15 18:14:42 -0700
commit07bd10fb9853a41a7f0bb271721cca97d15eccae (patch)
treee7720633e7ce7be5dd3e9a9f96f1d63e3095b06c /fs/ceph/ceph_fs.h
parentceph: flush dirty caps via the cap_dirty list (diff)
downloadlinux-dev-07bd10fb9853a41a7f0bb271721cca97d15eccae.tar.xz
linux-dev-07bd10fb9853a41a7f0bb271721cca97d15eccae.zip
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.h5
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 {
__u8 onetime;
} __attribute__ ((packed));
+struct ceph_mon_subscribe_ack {
+ __le32 duration; /* seconds */
+ struct ceph_fsid fsid;
+} __attribute__ ((packed));
+
/*
* mds states
* > 0 -> in