summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/afr/src/afr-self-heal-data.c
diff options
context:
space:
mode:
authorPranith Kumar K <pkarampu@redhat.com>2013-01-25 10:58:19 +0530
committerAnand Avati <avati@redhat.com>2013-01-29 12:29:51 -0800
commit36a9ac82f05aeb01b0656bb82631a87db6a11803 (patch)
tree43d9c7e3fc740c33900c522d907fece666f9027a /xlators/cluster/afr/src/afr-self-heal-data.c
parent4cbb14cf6fc3f1b52ff0062a9fee88e2170ad454 (diff)
cluster/afr: Change order of unwind, resume for writev
Generally inode-write fops do transaction.unwind then transaction.resume, but writev needs to make sure that delayed post-op frame is placed in fdctx before unwind happens. This prevents the race of flush doing the changelog wakeup first in fuse thread and then this writev placing its delayed post-op frame in fdctx. This helps flush make sure all the delayed post-ops are completed. Change-Id: Ia78ca556f69cab3073c21172bb15f34ff8c3f4be BUG: 888174 Signed-off-by: Pranith Kumar K <pkarampu@redhat.com> Reviewed-on: http://review.gluster.org/4428 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'xlators/cluster/afr/src/afr-self-heal-data.c')
0 files changed, 0 insertions, 0 deletions