summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/dht/src/dht-common.c
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/cluster/dht/src/dht-common.c')
-rw-r--r--xlators/cluster/dht/src/dht-common.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/xlators/cluster/dht/src/dht-common.c b/xlators/cluster/dht/src/dht-common.c
index ef9383ca6ad..f4cbf8d0744 100644
--- a/xlators/cluster/dht/src/dht-common.c
+++ b/xlators/cluster/dht/src/dht-common.c
@@ -1279,9 +1279,9 @@ preset_layout:
}
gf_msg_debug (this->name, 0,
- "Linking file %s on %s to %s (hash)(gfid = %s)",
- local->loc.path, cached_subvol->name,
- hashed_subvol->name, gfid);
+ "Creating linkto file on %s(hash) to %s on %s (gfid = %s)",
+ hashed_subvol->name, local->loc.path,
+ cached_subvol->name, gfid);
ret = dht_linkfile_create (frame,
dht_lookup_linkfile_create_cbk, this,
@@ -1456,7 +1456,10 @@ unlock:
} else {
gf_log (this->name, GF_LOG_INFO,
"attempting deletion of stale linkfile "
- "%s on %s", loc->path, subvol->name);
+ "%s on %s (hashed subvol is %s)",
+ loc->path, subvol->name,
+ (local->hashed_subvol?
+ local->hashed_subvol->name : "<null>"));
STACK_WIND (frame, dht_lookup_unlink_cbk,
subvol, subvol->fops->unlink, loc,