diff options
author | Aravinda VK <avishwan@redhat.com> | 2013-12-18 00:02:58 +0530 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2014-01-22 21:02:38 -0800 |
commit | e48c5f8a84a1ec27492bcede0a028755a440be45 (patch) | |
tree | 51c97c189e2918f9b29897cb067cd73e8fe98e09 /xlators/storage/posix/src/posix.h | |
parent | 505463a476c948bafd319c40376ba5bb4ac8ec78 (diff) |
geo-rep: optimizing update stime after directory synchronization
Since xsync crawl generates new changelog when number of entries
reaches 8K or when directory is reached. If a directory has number
of files less than 8K then respective changelog file will have less
entries. Since xsync generated changelog files processed one after
the other, so syncjobs are underutilized. hence low bandwidth
utilization.
With this patch, changelog will be generated for 8K entries only,
but stime will be accumulated. Multiple dirs stime will be
updated together since the generated changelog will have entries
accross the dirs.
Change-Id: Ib0b40962a070f855f47f887d0840e412fb7928e1
Signed-off-by: Aravinda VK <avishwan@redhat.com>
Reviewed-on: http://review.gluster.org/6744
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/storage/posix/src/posix.h')
0 files changed, 0 insertions, 0 deletions