Add a regression test for EC bitmap recovery losing a parity chunk

This commit is contained in:
Vitaliy Filippov
2026-06-15 01:52:04 +03:00
parent 9dda449f48
commit af2b1e28e3
7 changed files with 175 additions and 17 deletions
-8
View File
@@ -145,14 +145,6 @@ struct bs_test_t
}
};
static bool memcheck(uint8_t *buf, uint8_t byte, size_t len)
{
for (size_t i = 0; i < len; i++)
if (buf[i] != byte)
return false;
return true;
}
// Check that journaled data corruption is preserved after flushing
// TODO more variations:
// - block 4k, block 16k