summaryrefslogtreecommitdiffstats
path: root/cli
diff options
context:
space:
mode:
authorKrutika Dhananjay <kdhananj@redhat.com>2015-11-23 13:06:25 +0530
committerPranith Kumar Karampuri <pkarampu@redhat.com>2015-11-23 22:20:03 -0800
commitc93e436527e9d2ceed46b939e18edc40b7018cee (patch)
tree1d53c1ad5af72eeb11260e907d90947f99c4da01 /cli
parent5a06a9eef3f767c850e879ff87c72301e02fe137 (diff)
features/shard: Eliminate extra update to postbuf in writev
After an extending write is complete, shard translator updates postbuf at two places: 1. shard_update_file_size_cbk(), and 2. shard_post_update_size_writev_handler(). This can lead to unexpected behavior if md-cache is part of the client stack and caches and serves values returned by shard translator in postbuf. This patch eliminates the update to postbuf in shard_post_update_size_writev_handler(). Change-Id: I9d107bf57baad66886eebec14aa369b6a3c88c49 BUG: 1284365 Signed-off-by: Krutika Dhananjay <kdhananj@redhat.com> Reviewed-on: http://review.gluster.org/12717 Tested-by: NetBSD Build System <jenkins@build.gluster.org> Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com>
Diffstat (limited to 'cli')
0 files changed, 0 insertions, 0 deletions