summaryrefslogtreecommitdiffstats
path: root/xlators/features/shard/src/shard-messages.h
diff options
context:
space:
mode:
authorKrutika Dhananjay <kdhananj@redhat.com>2015-10-29 17:04:38 +0530
committerPranith Kumar Karampuri <pkarampu@redhat.com>2016-01-21 21:31:59 -0800
commit424825a649ea0cd9bd4955fbfe9d5ba472e6bc38 (patch)
tree1941204296e340a7103679a0eae7b20173fd0e16 /xlators/features/shard/src/shard-messages.h
parent317eea0e182f45c0ccd14b1e83c832ba435ee283 (diff)
features/shard: Implement fallocate FOP
Backport of: http://review.gluster.org/13196 Change-Id: Iab0c41319af42210c871a3ed6cf52a987c5d88d7 BUG: 1299712 Signed-off-by: Krutika Dhananjay <kdhananj@redhat.com> Reviewed-on: http://review.gluster.org/13259 Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com> Tested-by: Pranith Kumar Karampuri <pkarampu@redhat.com> 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>
Diffstat (limited to 'xlators/features/shard/src/shard-messages.h')
-rw-r--r--xlators/features/shard/src/shard-messages.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/xlators/features/shard/src/shard-messages.h b/xlators/features/shard/src/shard-messages.h
index be019a7ca5e..588cb687d5d 100644
--- a/xlators/features/shard/src/shard-messages.h
+++ b/xlators/features/shard/src/shard-messages.h
@@ -40,7 +40,7 @@
*/
#define GLFS_COMP_BASE_SHARD GLFS_MSGID_COMP_SHARD
-#define GLFS_NUM_MESSAGES 17
+#define GLFS_NUM_MESSAGES 18
#define GLFS_MSGID_END (GLFS_COMP_BASE_SHARD + GLFS_NUM_MESSAGES + 1)
#define glfs_msg_start_x GLFS_COMP_BASE_SHARD, "Invalid: Start of messages"
@@ -173,5 +173,12 @@
*/
#define SHARD_MSG_FOP_NOT_SUPPORTED (GLFS_COMP_BASE_SHARD + 17)
+/*!
+ * @messageid 133018
+ * @diagnosis
+ * @recommendedaction
+*/
+#define SHARD_MSG_INVALID_FOP (GLFS_COMP_BASE_SHARD + 18)
+
#define glfs_msg_end_x GLFS_MSGID_END, "Invalid: End of messages"
#endif /* !_SHARD_MESSAGES_H_ */