From 99588612db403dffdb6380ceaaec1a8b10a3be5d Mon Sep 17 00:00:00 2001 From: Pranith Kumar K Date: Mon, 6 Jun 2011 03:10:39 +0000 Subject: cluster/afr: Log errors in afr self-heal with GF_LOG_ERROR Signed-off-by: Pranith Kumar K Signed-off-by: Anand Avati BUG: 2986 (Failed operations should should be logged `E' or `W') URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2986 --- xlators/cluster/afr/src/afr-lk-common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xlators/cluster/afr/src/afr-lk-common.c') diff --git a/xlators/cluster/afr/src/afr-lk-common.c b/xlators/cluster/afr/src/afr-lk-common.c index 8b214536a7f..b068b218242 100644 --- a/xlators/cluster/afr/src/afr-lk-common.c +++ b/xlators/cluster/afr/src/afr-lk-common.c @@ -563,7 +563,7 @@ afr_unlock_inodelk_cbk (call_frame_t *frame, void *cookie, xlator_t *this, op_errno, (long) cookie); if (op_ret < 0 && op_errno != ENOTCONN && op_errno != EBADFD) { - gf_log (this->name, GF_LOG_INFO, + gf_log (this->name, GF_LOG_ERROR, "%s: unlock failed %s", local->loc.path, strerror (op_errno)); } -- cgit