diff options
| -rw-r--r-- | xlators/cluster/dht/src/dht-common.c | 11 | ||||
| -rw-r--r-- | xlators/cluster/dht/src/dht-rename.c | 2 | 
2 files changed, 8 insertions, 5 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, diff --git a/xlators/cluster/dht/src/dht-rename.c b/xlators/cluster/dht/src/dht-rename.c index 3b023343231..ce7df8442bf 100644 --- a/xlators/cluster/dht/src/dht-rename.c +++ b/xlators/cluster/dht/src/dht-rename.c @@ -1029,7 +1029,7 @@ dht_rename (call_frame_t *frame, xlator_t *this,          local->dst_hashed = dst_hashed;          local->dst_cached = dst_cached; -        gf_msg_trace (this->name, 0, +        gf_msg_debug (this->name, 0,                        "renaming %s (hash=%s/cache=%s) => %s"                        " (hash=%s/cache=%s)",                        oldloc->path, src_hashed->name, src_cached->name,  | 
