summaryrefslogtreecommitdiffstats
path: root/libglusterfs
diff options
context:
space:
mode:
authorPranith Kumar K <pkarampu@redhat.com>2020-05-29 14:24:53 +0530
committerRinku Kothiya <rkothiya@redhat.com>2020-08-27 20:24:44 +0000
commit2b08fde39de3182bfa11e4a22490aa80c004ab03 (patch)
tree6540068a1408f5d8a0de1702a823d73d518200e9 /libglusterfs
parent09fcf1c85f9fb68fbe0ad958310e9740fbfa19d7 (diff)
cluster/afr: Delay post-op for fsync
Problem: AFR doesn't delay post-op for fsync fop. For fsync heavy workloads this leads to un-necessary fxattrop/finodelk for every fsync leading to bad performance. Fix: Have delayed post-op for fsync. Add special flag in xdata to indicate that afr shouldn't delay post-op in cases where either the process will terminate or graph-switch would happen. Otherwise it leads to un-necessary heals when the graph-switch/process-termination happens before delayed-post-op completes. Fixes: #1253 Change-Id: I531940d13269a111c49e0510d49514dc169f4577 Signed-off-by: Pranith Kumar K <pkarampu@redhat.com>
Diffstat (limited to 'libglusterfs')
0 files changed, 0 insertions, 0 deletions