path: root/
diff options
authorRavishankar N <>2016-03-03 23:17:17 +0530
committerPranith Kumar Karampuri <>2016-03-08 06:13:46 -0800
commitd1d364634dce0c3dcfe9c2efc883c21af0494d0d (patch)
tree2af79ed651eb41643095b752844d4df9d169b02a /
parenteea4175addff08d010c2f7c6446397561b1cd919 (diff)
afr: misc performance improvements
1. In afr_getxattr_cbk, consider the errno value before blindly launching an inode refresh and a subsequent retry on other children. 2. We want to accuse small files only when we know for sure that there is no IO happening on that inode. Otherwise, the ia_sizes obtained in the post-inode-refresh replies may mismatch due to a race between inode-refresh and ongoing writes, causing spurious heal launches. Change-Id: Ife180f4fa5e584808c1077aacdc2423897675d33 BUG: 1309462 Signed-off-by: Ravishankar N <> Reviewed-on: Smoke: Gluster Build System <> Tested-by: Pranith Kumar Karampuri <> NetBSD-regression: NetBSD Build System <> CentOS-regression: Gluster Build System <> Reviewed-by: Krutika Dhananjay <> Reviewed-by: Pranith Kumar Karampuri <>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions