Fix punch_holes not updating entry crc (bug when perfect_csum_update==true)

This commit is contained in:
Vitaliy Filippov
2026-05-18 01:17:56 +03:00
parent 9e507fd333
commit 625d5b7b9e
3 changed files with 85 additions and 13 deletions
+1 -1
View File
@@ -616,7 +616,7 @@ int journal_flusher_co::check_and_punch_checksums()
bs->heap->calc_block_checksums((uint32_t*)(new_csums+csum_off), vec.buf, punch_bmp, vec.offset, vec.offset+vec.len, true, NULL);
}
}
// Modified, we should add_punch_holes and then write the block to disk
// Modified, we should punch_holes and then write the block to disk
return EBUSY;
}