From a31f716d3bde1a8c403feff62b05b3eeba0b3ec2 Mon Sep 17 00:00:00 2001 From: Manikandan Selvaganesh Date: Thu, 17 Dec 2015 10:55:37 +0530 Subject: quota : avoid "contribution node is empty" error logs In versions older than 3.7, "contribution node list is empty which is an error" gets logged numerous number of times. It is completely fixed in 3.7. Since the entire marker and quota code has almost been refactored, it is hard to backport the complete fix and also it could not be fixed with the older approach. As a temporary fix, to avoid numerous logs, the patch just supresses the log level. 3.6 Patch -> http://review.gluster.org/#/c/13304/ Change-Id: Ie666ba99c7bb16b9ce249b581e09857734589f51 BUG: 1288195 Signed-off-by: Manikandan Selvaganesh Reviewed-on: http://review.gluster.org/12990 Smoke: Gluster Build System CentOS-regression: Gluster Build System NetBSD-regression: NetBSD Build System Reviewed-by: Niels de Vos Reviewed-by: Vijaikumar Mallikarjuna --- xlators/features/marker/src/marker-quota.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'xlators/features') diff --git a/xlators/features/marker/src/marker-quota.c b/xlators/features/marker/src/marker-quota.c index 3156cd82508..1c54937150a 100644 --- a/xlators/features/marker/src/marker-quota.c +++ b/xlators/features/marker/src/marker-quota.c @@ -1293,9 +1293,9 @@ mq_get_parent_inode_local (xlator_t *this, quota_local_t *local) local->ctx = ctx; if (list_empty (&ctx->contribution_head)) { - gf_log_callingfn (this->name, GF_LOG_WARNING, - "contribution node list is empty which " - "is an error"); + gf_log_callingfn (this->name, GF_LOG_TRACE, + "contribution node list is empty which " + "is an error"); ret = -1; goto out; } -- cgit