summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/protocol.h
diff options
context:
space:
mode:
authorAmar Tumballi <amar@gluster.com>2009-11-28 03:09:02 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-12-01 19:48:37 -0800
commit0c4b5814e7402658493f1e16ef7fa9a8fa8b4be5 (patch)
tree76c1df16941e2560abc59bc220944e0ee7636980 /libglusterfs/src/protocol.h
parent0a6b3ce3bf4acd994cb67c9c79b7c03909443bdd (diff)
bring new MOP called NOTIFY.
which can be used as a bridge between client and server processes, when needed. This mop is needed now, so that many features in 3.0.0 can come in with this without bumping protocol version. Signed-off-by: Amar Tumballi <amar@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 201 (server should get notified about client 'umount') URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=201
Diffstat (limited to 'libglusterfs/src/protocol.h')
-rw-r--r--libglusterfs/src/protocol.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/libglusterfs/src/protocol.h b/libglusterfs/src/protocol.h
index a87228a16..ede5adae4 100644
--- a/libglusterfs/src/protocol.h
+++ b/libglusterfs/src/protocol.h
@@ -925,6 +925,14 @@ typedef struct {
typedef struct {
} __attribute__((packed)) gf_mop_ping_rsp_t;
+typedef struct {
+ uint32_t flags;
+ char buf[0];
+} __attribute__((packed)) gf_mop_notify_req_t;
+typedef struct {
+ uint32_t flags;
+ char buf[0];
+} __attribute__((packed)) gf_mop_notify_rsp_t;
typedef struct {
uint64_t ino;