summaryrefslogtreecommitdiffstats
path: root/rpc
diff options
context:
space:
mode:
authorKrutika Dhananjay <kdhananj@redhat.com>2016-07-07 14:33:20 +0530
committerPranith Kumar Karampuri <pkarampu@redhat.com>2016-07-15 19:12:36 -0700
commit8dccf7e222fa01c5e15a0ec1f0bc422abcde3779 (patch)
treecc2d8b994877634a87d1b010ea07e75aacb9fdc5 /rpc
parentddcfe83b06b6498710c2d9d36027a8ad305b686e (diff)
features/index: Ignore regular files when examining state of the inode wrt ENTRY_CHANGES
Backport of: http://review.gluster.org/14870 This prevents unnecessary sys_lstat() syscall when xattrop is operating on regular files. Also, to avoid (even) the one-time execution of sys_lstat() syscalls on disperse volumes or replicate volumes when granular entry self-heal is disabled, we pass a key in afr_selfheal_undo_pending() indicating to index that this xattrop is on a granular directory index. Index will accordingly decide whether or not to attempt the index state initialization. Change-Id: I86b69e83b6216c3371d997a4983d75d4be6a28b2 BUG: 1355609 Signed-off-by: Krutika Dhananjay <kdhananj@redhat.com> Reviewed-on: http://review.gluster.org/14921 Smoke: Gluster Build System <jenkins@build.gluster.org> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> CentOS-regression: Gluster Build System <jenkins@build.gluster.org> Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com>
Diffstat (limited to 'rpc')
0 files changed, 0 insertions, 0 deletions