From be002fbdba6c66ea6f04f51e45310faedcba5fd2 Mon Sep 17 00:00:00 2001 From: Anand Avati Date: Fri, 25 Feb 2011 13:23:56 +0000 Subject: dht: log filename on failed reavalidate The previous log message is pretty much useless without the path Signed-off-by: Anand Avati Signed-off-by: Anand V. Avati BUG: 2346 (Log message enhancements in GlusterFS - phase 1) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2346 --- xlators/cluster/dht/src/dht-common.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'xlators/cluster/dht/src/dht-common.c') diff --git a/xlators/cluster/dht/src/dht-common.c b/xlators/cluster/dht/src/dht-common.c index 3934b4655..40dbbe544 100644 --- a/xlators/cluster/dht/src/dht-common.c +++ b/xlators/cluster/dht/src/dht-common.c @@ -367,8 +367,9 @@ dht_revalidate_cbk (call_frame_t *frame, void *cookie, xlator_t *this, && (op_errno != ENOENT) && (op_errno != ESTALE)) { gf_log (this->name, GF_LOG_INFO, - "subvolume %s returned -1 (%s)", - prev->this->name, strerror (op_errno)); + "subvolume %s for %s returned -1 (%s)", + prev->this->name, local->loc.path, + strerror (op_errno)); } if (op_errno == ESTALE) { -- cgit