summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/dht/src/dht-messages.h
diff options
context:
space:
mode:
authorVenkatesh Somyajulu <vsomyaju@redhat.com>2014-07-03 19:46:59 +0530
committerVijay Bellur <vbellur@redhat.com>2014-07-03 09:22:37 -0700
commitdc46d5e84f88c5cc869b78ba9db32ed4035b9121 (patch)
tree17a7ebaaaa4a8255dcc9f1cc88de3a117e6c1b0e /xlators/cluster/dht/src/dht-messages.h
parentdedef037d64fef59d74b9861562aa7f93857a53e (diff)
cluster/dht: Added logging of new layout for dir-selfheal
Added a log which logs the new layout which will be used for the directory self healing It prints: a) Subvolume name b) Error --> Is needed because layout healing depends on the error and having it in log will help in debugging c) Start Starting of the layout range d) Stop Ending of the layout range Change-Id: I48c9c697716a899165ed29b737362a75c62e09b3 BUG: 1113066 Signed-off-by: Venkatesh Somyajulu <vsomyaju@redhat.com> Reviewed-on: http://review.gluster.org/8173 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'xlators/cluster/dht/src/dht-messages.h')
-rw-r--r--xlators/cluster/dht/src/dht-messages.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/xlators/cluster/dht/src/dht-messages.h b/xlators/cluster/dht/src/dht-messages.h
index 7668e91ac99..80b20a61efd 100644
--- a/xlators/cluster/dht/src/dht-messages.h
+++ b/xlators/cluster/dht/src/dht-messages.h
@@ -45,7 +45,7 @@
*/
#define GLFS_DHT_BASE GLFS_MSGID_COMP_DHT
-#define GLFS_DHT_NUM_MESSAGES 35
+#define GLFS_DHT_NUM_MESSAGES 36
#define GLFS_MSGID_END (GLFS_DHT_BASE + GLFS_DHT_NUM_MESSAGES + 1)
/* Messages with message IDs */
@@ -429,8 +429,17 @@
* @recommendedaction None
*
*/
+
#define DHT_MSG_LAYOUT_SET_FAILED (GLFS_DHT_BASE + 35)
+/*!
+ * @messageid 109036
+ * @diagnosis Informational message regarding layout range distribution
+ * for a directory across subvolumes
+ * @recommendedaction None
+ */
+
+#define DHT_MSG_LOG_FIXED_LAYOUT (GLFS_DHT_BASE + 36)
/*------------*/
#define glfs_msg_end_x GLFS_MSGID_END, "Invalid: End of messages"