summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorRavishankar N <ravishankar@redhat.com>2016-03-08 16:43:12 +0530
committerVijay Bellur <vbellur@redhat.com>2016-03-08 18:16:32 -0800
commite9fa7aeb1a32e22ff0749d67995e689028ca5a19 (patch)
treeadda41eb8093e6b9d988b3a7248412c58486389a /contrib
parent30d9fcc3b2426a0edeb20d6925e7ac63bae83354 (diff)
afr: misc performance improvements
Backport of http://review.gluster.org/#/c/13595/ 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: I9858485d1061db67353ccf99c59530731649c847 BUG: 1309462 Signed-off-by: Ravishankar N <ravishankar@redhat.com> Reviewed-on: http://review.gluster.org/13644 Smoke: Gluster Build System <jenkins@build.gluster.com> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com> Reviewed-by: Krutika Dhananjay <kdhananj@redhat.com> CentOS-regression: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions