summaryrefslogtreecommitdiffstats
path: root/xlators/protocol/server/src/server-messages.h
diff options
context:
space:
mode:
authorNiels de Vos <ndevos@redhat.com>2015-06-21 17:04:29 +0200
committerJeff Darcy <jdarcy@redhat.com>2016-02-04 09:31:32 -0800
commit9b71092f3d6cea1cca4804b0588152c79bd34e1d (patch)
tree26aaedcb1081ccf35347a5b77f4286bec5caa226 /xlators/protocol/server/src/server-messages.h
parent41beab5444969f235c665042965a650b5a2866e6 (diff)
protocol: implement seek() FOP
Network protocol extensions for the seek() FOP. The format is based on the SEEK procedure in NFSv4.2. Change-Id: I060768a8a4b9b1c80f4a24c0f17d630f7f028690 BUG: 1220173 Signed-off-by: Niels de Vos <ndevos@redhat.com> Reviewed-on: http://review.gluster.org/11482 Smoke: Gluster Build System <jenkins@build.gluster.com> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> CentOS-regression: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com> Reviewed-by: Jeff Darcy <jdarcy@redhat.com>
Diffstat (limited to 'xlators/protocol/server/src/server-messages.h')
-rw-r--r--xlators/protocol/server/src/server-messages.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/xlators/protocol/server/src/server-messages.h b/xlators/protocol/server/src/server-messages.h
index 700af57143a..7f560663af8 100644
--- a/xlators/protocol/server/src/server-messages.h
+++ b/xlators/protocol/server/src/server-messages.h
@@ -40,7 +40,7 @@
*/
#define GLFS_PS_BASE GLFS_MSGID_COMP_PS
-#define GLFS_NUM_MESSAGES 88
+#define GLFS_NUM_MESSAGES 89
#define GLFS_MSGID_END (GLFS_PS_BASE + GLFS_NUM_MESSAGES + 1)
/* Messages with message IDs */
#define glfs_msg_start_x GLFS_PS_BASE, "Invalid: Start of messages"
@@ -830,6 +830,15 @@
*/
#define PS_MSG_SERVER_IPC_INFO (GLFS_PS_BASE + 88)
+
+/*!
+ * @messageid
+ * @diagnosis
+ * @recommendedaction
+ *
+ */
+
+#define PS_MSG_SEEK_INFO (GLFS_PS_BASE + 89)
/*------------*/
#define glfs_msg_end_x GLFS_MSGID_END, "Invalid: End of messages"