summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/ec/src/ec-common.c
diff options
context:
space:
mode:
authorKrutika Dhananjay <kdhananj@redhat.com>2019-09-12 11:07:10 +0530
committerRinku Kothiya <rkothiya@redhat.com>2020-08-19 17:58:23 +0000
commit19dc7b37fc9f6d6037958e5dd3c0c6a4a993e2af (patch)
treeee4d272f68d239c39aa57e264adbd23e303ada6c /xlators/cluster/ec/src/ec-common.c
parent96e7ff7396a8e18ca69d5198be0a8d29bcc37129 (diff)
features/shard: Convert shard block indices to uint64
This patch fixes a crash in FOPs that operate on really large sharded files where number of participant shards could sometimes exceed signed int32 max. The patch also adds GF_ASSERTs to ensure that number of participating shards is always greater than 0 for files that do have more than one shard. Change-Id: I354de58796f350eb1aa42fcdf8092ca2e69ccbb6 Fixes: #1348 Signed-off-by: Krutika Dhananjay <kdhananj@redhat.com> (cherry picked from commit cdf01cc47eb2efb427b5855732d9607eec2abc8a)
Diffstat (limited to 'xlators/cluster/ec/src/ec-common.c')
0 files changed, 0 insertions, 0 deletions