From 0c4b5814e7402658493f1e16ef7fa9a8fa8b4be5 Mon Sep 17 00:00:00 2001 From: Amar Tumballi Date: Sat, 28 Nov 2009 03:09:02 +0000 Subject: 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 Signed-off-by: Anand V. Avati BUG: 201 (server should get notified about client 'umount') URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=201 --- libglusterfs/src/protocol.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'libglusterfs/src/protocol.h') diff --git a/libglusterfs/src/protocol.h b/libglusterfs/src/protocol.h index a87228a167e..ede5adae4e8 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; -- cgit