vitastor-disk: Write csum_block_size 0 in JE_START without data checksums #126
@@ -372,6 +372,11 @@ int main(int argc, char *argv[])
|
||||
{
|
||||
self.dsk.csum_block_size = stoull_full(self.options["csum_block_size"], 0);
|
||||
}
|
||||
if (!self.dsk.data_csum_type)
|
||||
{
|
||||
// A manual layout skips calc_lengths() which zeroes the 4096 default
|
||||
self.dsk.csum_block_size = 0;
|
||||
}
|
||||
if (self.options["io"] != "")
|
||||
{
|
||||
self.dsk.data_io = self.dsk.meta_io = self.dsk.journal_io = self.options["io"];
|
||||
|
||||
Reference in New Issue
Block a user