diff options
author | Aravinda VK <avishwan@redhat.com> | 2014-06-20 12:59:43 +0530 |
---|---|---|
committer | Venky Shankar <vshankar@redhat.com> | 2014-07-09 01:52:24 -0700 |
commit | 56c7b07c746ba7ae86117f19bbf304e1150184fb (patch) | |
tree | 3841752e4b874d3735584314bc93072566c40e7b /xlators/protocol/server/src/server-helpers.c | |
parent | 72d96e27b3a8cb990c00422289b42e9b90c44b18 (diff) |
geo-rep: Avoid duplicate stat in xsync changelog processing
When A file/dir is identified for metadata sync, it was doing
duplicate stat to get the metadata to sync.
With this patch it avoids doing one additional stat call. Xsync
performance will improve.
rsync will copy files metadata, so no need to include for
processing.
BUG: 1111490
Change-Id: I79dad6375fa4742d9aaca7d9856993c184a744dc
Signed-off-by: Aravinda VK <avishwan@redhat.com>
Reviewed-on: http://review.gluster.org/8124
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Tested-by: Venky Shankar <vshankar@redhat.com>
Diffstat (limited to 'xlators/protocol/server/src/server-helpers.c')
0 files changed, 0 insertions, 0 deletions