summaryrefslogtreecommitdiffstats
path: root/xlators/lib/src/libxlator.h
diff options
context:
space:
mode:
authorAnand Avati <avati@gluster.com>2011-01-26 13:28:04 +0000
committerAnand V. Avati <avati@dev.gluster.com>2011-02-22 02:11:20 -0800
commit46f0277dfcca246b12700b2c6893abcc14480623 (patch)
tree3bc8d9f1205d480b080528359e0177844f802b4f /xlators/lib/src/libxlator.h
parentd3c622abaa6788e3b62628d2847618713b896cdf (diff)
replicate: set read-child to the subvolume which replied first (fastest)
In the old logic read-child was set to the last subvolume which replied. Now it is updated to the first subvolume. This way we can ensure that local servers are preferred for reads _most_ of the times. Signed-off-by: Anand Avati <avati@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 1172 (ls -lh on NFS mount of 2-mirror replicate gives incorrect file size) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1172
Diffstat (limited to 'xlators/lib/src/libxlator.h')
0 files changed, 0 insertions, 0 deletions