summaryrefslogtreecommitdiffstats
path: root/rpc/xdr/src/cli1-xdr.x
diff options
context:
space:
mode:
authorPranith Kumar K <pkarampu@redhat.com>2017-09-05 13:30:53 +0530
committerPranith Kumar Karampuri <pkarampu@redhat.com>2017-09-06 02:31:29 +0000
commite50fc8f4e7eb51386f47bea9e6ca8d8490c09003 (patch)
tree32bb1c642c183f3d5f37d9020cc24733a5ae624e /rpc/xdr/src/cli1-xdr.x
parent91430817ce5bcbeabf057e9c978485728a85fb2b (diff)
features/shard: Increment counts in locks
Problem: Because create_count/eexist_count are incremented without locks, all the shards may not be created because call_count will be lesser than what it needs to be. This can lead to crash in shard_common_inode_write_do() because inode on which we want to do fd_anonymous() is NULL Fix: Increment the counts in frame->lock Change-Id: Ibc87dcb1021e9f4ac2929f662da07aa7662ab0d6 BUG: 1488354 Signed-off-by: Pranith Kumar K <pkarampu@redhat.com> Reviewed-on: https://review.gluster.org/18203 Smoke: Gluster Build System <jenkins@build.gluster.org> Reviewed-by: Krutika Dhananjay <kdhananj@redhat.com> CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
Diffstat (limited to 'rpc/xdr/src/cli1-xdr.x')
0 files changed, 0 insertions, 0 deletions