• Oliver Steffen's avatar
    common: fix uint overflow in getStripeTargetIndex() · 91ff4e41
    Oliver Steffen authored
    expressed formula differently:
    
       (pos % stripeSetSize) / chunkSize
     = (pos % (numTargets * chunkSize)) / chunkSize
     = (pos / chunkSize) % numTargets
    
     (pos / chunkSize): number of chunks from beginning of file
    
    removes the previously overflowing stripeSetSize variable.
    
    (cherry picked from da4e5efa2b931a10b0d460458316c41f4a639563)
    91ff4e41
Name
Last commit
Last update
.ci Loading commit data...
beegfs_client_devel Loading commit data...
beegfs_client_tests Loading commit data...
beegfs_deeper_lib Loading commit data...
beeond Loading commit data...
beeond_thirdparty Loading commit data...
beeond_thirdparty_gpl Loading commit data...
build Loading commit data...
fhgfs_admon Loading commit data...
fhgfs_admon_gui Loading commit data...
fhgfs_auto_package Loading commit data...
fhgfs_client_module Loading commit data...
fhgfs_common Loading commit data...
fhgfs_common_package Loading commit data...
fhgfs_fsck Loading commit data...
fhgfs_helperd Loading commit data...
fhgfs_java_lib Loading commit data...
fhgfs_meta Loading commit data...
fhgfs_mgmtd Loading commit data...
fhgfs_online_cfg Loading commit data...
fhgfs_opentk_lib Loading commit data...
fhgfs_storage Loading commit data...
fhgfs_thirdparty Loading commit data...
fhgfs_upgrade Loading commit data...
fhgfs_utils Loading commit data...
testing Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
BUILD.txt Loading commit data...
LICENSE.txt Loading commit data...
Makefile Loading commit data...
admon Loading commit data...
admon_gui Loading commit data...
auto_package Loading commit data...
beegfs-version Loading commit data...
beegfs_admon Loading commit data...
beegfs_admon_gui Loading commit data...
beegfs_auto_package Loading commit data...
beegfs_client_module Loading commit data...
beegfs_common Loading commit data...
beegfs_common_package Loading commit data...
beegfs_ctl Loading commit data...
beegfs_fsck Loading commit data...
beegfs_helperd Loading commit data...
beegfs_java_lib Loading commit data...
beegfs_meta Loading commit data...
beegfs_mgmtd Loading commit data...
beegfs_online_cfg Loading commit data...
beegfs_opentk_lib Loading commit data...
beegfs_storage Loading commit data...
beegfs_thirdparty Loading commit data...
beegfs_upgrade Loading commit data...
beegfs_utils Loading commit data...
client_devel Loading commit data...
client_module Loading commit data...
client_tests Loading commit data...
common Loading commit data...
common_package Loading commit data...
ctl Loading commit data...
deeper_lib Loading commit data...
fsck Loading commit data...
helperd Loading commit data...
java_lib Loading commit data...
meta Loading commit data...
mgmtd Loading commit data...
opentk_lib Loading commit data...
storage Loading commit data...
thirdparty Loading commit data...
upgrade Loading commit data...
utils Loading commit data...