path: root/xlators/lib/src/libxlator.h
diff options
authorAnand Avati <>2011-01-26 13:28:04 +0000
committerAnand V. Avati <>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 <> Signed-off-by: Anand V. Avati <> BUG: 1172 (ls -lh on NFS mount of 2-mirror replicate gives incorrect file size) URL:
Diffstat (limited to 'xlators/lib/src/libxlator.h')
0 files changed, 0 insertions, 0 deletions