summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/dht/src/dht-rebalance.c
diff options
context:
space:
mode:
authorshishir gowda <shishirng@gluster.com>2012-04-11 16:07:43 +0530
committerAnand Avati <avati@redhat.com>2012-04-11 10:20:25 -0700
commitdf8e2f53b70f4f49af70df308010dddfe5ca35ec (patch)
tree1c669002b56c8ba507729710b78e18e8aa67f958 /xlators/cluster/dht/src/dht-rebalance.c
parentdde9cfcaf3016968fade7591ddfc1c95851e9e59 (diff)
dht/rebalance: Correct log messagesv3.3.0beta3
Change-Id: Ica73707922c1bf1a0975a8057d39c1441b987b0a BUG: 808376 Signed-off-by: shishir gowda <shishirng@gluster.com> Reviewed-on: http://review.gluster.com/3127 Reviewed-by: Amar Tumballi <amarts@redhat.com> Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'xlators/cluster/dht/src/dht-rebalance.c')
-rw-r--r--xlators/cluster/dht/src/dht-rebalance.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/xlators/cluster/dht/src/dht-rebalance.c b/xlators/cluster/dht/src/dht-rebalance.c
index 5c9300049fe..611ea590102 100644
--- a/xlators/cluster/dht/src/dht-rebalance.c
+++ b/xlators/cluster/dht/src/dht-rebalance.c
@@ -1190,16 +1190,17 @@ gf_defrag_migrate_data (xlator_t *this, gf_defrag_info_t *defrag, loc_t *loc,
ret = syncop_getxattr (this, &entry_loc, &dict,
GF_XATTR_LINKINFO_KEY);
if (ret < 0) {
- gf_log (this->name, GF_LOG_TRACE, "getxattr "
- "failed for %s", entry_loc.path);
+ gf_log (this->name, GF_LOG_TRACE, "failed to "
+ "get link-to key for %s",
+ entry_loc.path);
continue;
}
ret = syncop_setxattr (this, &entry_loc, migrate_data,
0);
if (ret)
- gf_log (this->name, GF_LOG_ERROR, "setxattr "
- "failed for %s", entry_loc.path);
+ gf_log (this->name, GF_LOG_ERROR, "migrate-data"
+ " failed for %s", entry_loc.path);
if (ret == -1) {
op_errno = errno;
@@ -1208,7 +1209,7 @@ gf_defrag_migrate_data (xlator_t *this, gf_defrag_info_t *defrag, loc_t *loc,
if (!ret)
gf_log (this->name, GF_LOG_DEBUG,
- "setxattr on %s failed: %s",
+ "migrate-data on %s failed: %s",
entry_loc.path,
strerror (op_errno));
else if (ret == 1)