feat(perf): Add configurable bitrot skip for reads (#2110)

Co-authored-by: houseme <housemecn@gmail.com>
Co-authored-by: 安正超 <anzhengchao@gmail.com>
This commit is contained in:
evan slack
2026-03-10 20:59:00 -06:00
committed by GitHub
parent f00d01ec2d
commit 4b480727d6
9 changed files with 47 additions and 18 deletions
+1
View File
@@ -375,6 +375,7 @@ impl SetDisks {
till_offset,
erasure.shard_size(),
checksum_algo.clone(),
false,
)
.await
{
+2
View File
@@ -568,6 +568,7 @@ impl SetDisks {
disks: &[Option<DiskStore>],
set_index: usize,
pool_index: usize,
skip_verify_bitrot: bool,
) -> Result<()>
where
W: AsyncWrite + Send + Sync + Unpin + 'static,
@@ -659,6 +660,7 @@ impl SetDisks {
till_offset,
erasure.shard_size(),
HashAlgorithm::HighwayHash256,
skip_verify_bitrot,
)
.await
{