summaryrefslogtreecommitdiffstats
path: root/xlators/features/upcall
diff options
context:
space:
mode:
authorSakshi Bansal <sabansal@redhat.com>2015-11-17 15:11:40 +0530
committerRaghavendra G <rgowdapp@redhat.com>2015-11-26 21:04:27 -0800
commit6b315b87d80cf681b976d78b444c761fc3a1caa7 (patch)
tree42b78a927ef77891ade9aad0be1908bc3bfeab2c /xlators/features/upcall
parenta1919e91279a6c691fbd3dd6c0d97e74e78ccf22 (diff)
dht : changing variable type to avoid overflow
For layout computation we find total size of the cluster and store it in an unsigned 32 bit variable. For large clusters this value may overflow which leads to wrong computations and for some bricks the layout may overflow. Hence using unsigned 64 bit to handle large values. Change-Id: I7c3ba26ea2c4158065ea9e74705a7ede1b6759c7 BUG: 1282751 Signed-off-by: Sakshi Bansal <sabansal@redhat.com> Reviewed-on: http://review.gluster.org/12597 Reviewed-by: Susant Palai <spalai@redhat.com> Tested-by: NetBSD Build System <jenkins@build.gluster.org> Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Raghavendra G <rgowdapp@redhat.com>
Diffstat (limited to 'xlators/features/upcall')
0 files changed, 0 insertions, 0 deletions