Fix checksum flushing for the case of empty small writes, fix checksum calculation skipping during read

This commit is contained in:
Vitaliy Filippov
2025-12-02 01:52:12 +03:00
parent 944499135f
commit 25ce82a729
4 changed files with 67 additions and 45 deletions
+1 -1
View File
@@ -96,7 +96,7 @@ bool blockstore_impl_t::intent_write_allowed(blockstore_op_t *op, heap_entry_t *
}
has_intent = true;
}
if (wr->type() == BS_HEAP_BIG_WRITE)
if (wr->type() == BS_HEAP_BIG_WRITE || wr->type() == BS_HEAP_BIG_INTENT)
{
return false;
}