diff options
authorManikandan Selvaganesh <>2015-12-17 10:55:37 +0530
committerNiels de Vos <>2016-02-12 00:28:36 -0800
commita31f716d3bde1a8c403feff62b05b3eeba0b3ec2 (patch)
parentf44b0b04402886d8a69100fb0c1fab5e8b243579 (diff)
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 -> Change-Id: Ie666ba99c7bb16b9ce249b581e09857734589f51 BUG: 1288195 Signed-off-by: Manikandan Selvaganesh <> Reviewed-on: Smoke: Gluster Build System <> CentOS-regression: Gluster Build System <> NetBSD-regression: NetBSD Build System <> Reviewed-by: Niels de Vos <> Reviewed-by: Vijaikumar Mallikarjuna <>
1 files changed, 3 insertions, 3 deletions
diff --git a/xlators/features/marker/src/marker-quota.c b/xlators/features/marker/src/marker-quota.c
index 3156cd8..1c54937 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;