summaryrefslogtreecommitdiffstats
path: root/xlators/performance/md-cache/src/md-cache-messages.h
diff options
context:
space:
mode:
authorPoornima G <pgurusid@redhat.com>2016-08-02 14:51:23 +0530
committerRaghavendra G <rgowdapp@redhat.com>2016-08-15 21:20:44 -0700
commit2b0e83e908b3be2043e92a974ba92ae942bff4d1 (patch)
treeaf2049acbe03abe69019739fd89e268992cc0a5d /xlators/performance/md-cache/src/md-cache-messages.h
parent206fd324e33127d4c370007f223f8c12ab06b714 (diff)
md-cache: Add logging to increase debuggability
Change-Id: I147d16ec3c20d3372892fdd5f62010e52f82f8bd BUG: 1211863 Signed-off-by: Poornima G <pgurusid@redhat.com> Reviewed-on: http://review.gluster.org/15069 Smoke: Gluster Build System <jenkins@build.gluster.org> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> CentOS-regression: Gluster Build System <jenkins@build.gluster.org> Reviewed-by: Vijay Bellur <vbellur@redhat.com> Reviewed-by: Raghavendra G <rgowdapp@redhat.com>
Diffstat (limited to 'xlators/performance/md-cache/src/md-cache-messages.h')
-rw-r--r--xlators/performance/md-cache/src/md-cache-messages.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/xlators/performance/md-cache/src/md-cache-messages.h b/xlators/performance/md-cache/src/md-cache-messages.h
index a4259bacf1b..1fe26ccc8b2 100644
--- a/xlators/performance/md-cache/src/md-cache-messages.h
+++ b/xlators/performance/md-cache/src/md-cache-messages.h
@@ -40,7 +40,7 @@
*/
#define GLFS_MD_CACHE_BASE GLFS_MSGID_COMP_MD_CACHE
-#define GLFS_MD_CACHE_NUM_MESSAGES 2
+#define GLFS_MD_CACHE_NUM_MESSAGES 3
#define GLFS_MSGID_END (GLFS_MD_CACHE_BASE + GLFS_MD_CACHE_NUM_MESSAGES + 1)
/* Messages with message IDs */
@@ -67,6 +67,8 @@
#define MD_CACHE_MSG_DISCARD_UPDATE (GLFS_MD_CACHE_BASE + 2)
+#define MD_CACHE_MSG_CACHE_UPDATE (GLFS_MD_CACHE_BASE + 3)
+
/*------------*/
#define glfs_msg_end_x GLFS_MSGID_END, "Invalid: End of messages"