summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/afr/src/pump.c
diff options
context:
space:
mode:
authorPavan Sondur <pavan@gluster.com>2010-09-08 05:18:24 +0000
committerVijay Bellur <vijay@dev.gluster.com>2010-09-08 04:13:06 -0700
commit440ffb55f08beabc7f2ee98f22852ce103613b30 (patch)
tree19960864226fbef239fd7f03501f7157e15425f0 /xlators/cluster/afr/src/pump.c
parent94d232ec8ab0dbbda643039fb3e41495cae5e7e9 (diff)
mgmt/glusterd: Various replace brick changes.v3.1.0qa18
Signed-off-by: Pavan Vilas Sondur <pavan@gluster.com> Signed-off-by: Vijay Bellur <vijay@dev.gluster.com> BUG: 1235 (Bug for all pump/migrate commits) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1235
Diffstat (limited to 'xlators/cluster/afr/src/pump.c')
-rw-r--r--xlators/cluster/afr/src/pump.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/xlators/cluster/afr/src/pump.c b/xlators/cluster/afr/src/pump.c
index 5e2c2d43aca..977de07dcd9 100644
--- a/xlators/cluster/afr/src/pump.c
+++ b/xlators/cluster/afr/src/pump.c
@@ -469,12 +469,23 @@ gf_pump_traverse_directory (loc_t *loc)
entry_loc.ino = iatt.ia_ino;
entry_loc.inode->ino = iatt.ia_ino;
+ memcpy (entry_loc.inode->gfid, iatt.ia_gfid, 16);
gf_log (this->name, GF_LOG_DEBUG,
"lookup %s => %"PRId64,
entry_loc.path,
iatt.ia_ino);
+ ret = syncop_lookup (this, &entry_loc, NULL,
+ &iatt, &xattr_rsp, &parent);
+
+
+ gf_log (this->name, GF_LOG_DEBUG,
+ "second lookup ret=%d: %s => %"PRId64,
+ ret,
+ entry_loc.path,
+ iatt.ia_ino);
+
pump_update_resume_state (this, entry_loc.path);
if (!IS_ENTRY_CWD(entry->d_name) &&