summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/timer.c
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-12 00:22:44 -0700
commit633d88ea7ef621bcce9a408188bc57858f6ca942 (patch)
tree8b0b851f42e9fc8044a6a9759faf999dcaa7e999 /libglusterfs/src/timer.c
parentceac3b4172e7c689941ec3e734eca6c537e69368 (diff)
features/index: Ignore regular files when examining state of the inode wrt ENTRY_CHANGES
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: I616d9a4b3704066f4a2770d3ca307f7dca9122e0 BUG: 1331323 Signed-off-by: Krutika Dhananjay <kdhananj@redhat.com> Reviewed-on: http://review.gluster.org/14870 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: Anuradha Talur <atalur@redhat.com> Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com>
Diffstat (limited to 'libglusterfs/src/timer.c')
0 files changed, 0 insertions, 0 deletions