Introduced coalesce_size and crystallize_size, deduplicated test cfg

- coalesce_size - The amount of data allowed to coalesce into single
  data entries.

- crystallize_size - How much data is allowed to be written to btree
  inner nodes before needing to be compacted into a block.

Also deduplicated the test config is something I've been wanting to do
for a while. It doesn't make sense to need to modify several different
instantiations of lfs_config every time a config option is added or
removed...
This commit is contained in:
Christopher Haster
2023-09-24 02:22:19 -05:00
parent 2b950bb16b
commit dc8dce8f0c
6 changed files with 79 additions and 107 deletions
+2 -1
View File
@@ -279,7 +279,8 @@ struct lfs_config {
// TODO document
lfs_size_t inline_size;
lfs_size_t bud_size;
lfs_size_t coalesce_size;
lfs_size_t crystallize_size;
};
// File info structure