Initial commit of basic file creation

Currently limited to inlined files and only simpler truncate-writes.

But still this lets us test file creation/deletion.

This is also enough logic to make it clear that, even though we have
some powerful high-level primitives, mapping file operations onto these
is still going to be non-trivial.
This commit is contained in:
Christopher Haster
2023-09-17 11:02:30 -05:00
parent e7bf5ad82f
commit c74ec1c133
7 changed files with 941 additions and 147 deletions
+10
View File
@@ -1418,6 +1418,8 @@ static void run_powerloss_none(
.block_count = BLOCK_COUNT,
.block_cycles = BLOCK_CYCLES,
.cache_size = CACHE_SIZE,
.inline_size = INLINE_SIZE,
.bud_size = BUD_SIZE,
.lookahead_size = LOOKAHEAD_SIZE,
};
@@ -1487,6 +1489,8 @@ static void run_powerloss_linear(
.block_count = BLOCK_COUNT,
.block_cycles = BLOCK_CYCLES,
.cache_size = CACHE_SIZE,
.inline_size = INLINE_SIZE,
.bud_size = BUD_SIZE,
.lookahead_size = LOOKAHEAD_SIZE,
};
@@ -1573,6 +1577,8 @@ static void run_powerloss_log(
.block_count = BLOCK_COUNT,
.block_cycles = BLOCK_CYCLES,
.cache_size = CACHE_SIZE,
.inline_size = INLINE_SIZE,
.bud_size = BUD_SIZE,
.lookahead_size = LOOKAHEAD_SIZE,
};
@@ -1657,6 +1663,8 @@ static void run_powerloss_cycles(
.block_count = BLOCK_COUNT,
.block_cycles = BLOCK_CYCLES,
.cache_size = CACHE_SIZE,
.inline_size = INLINE_SIZE,
.bud_size = BUD_SIZE,
.lookahead_size = LOOKAHEAD_SIZE,
};
@@ -1839,6 +1847,8 @@ static void run_powerloss_exhaustive(
.block_count = BLOCK_COUNT,
.block_cycles = BLOCK_CYCLES,
.cache_size = CACHE_SIZE,
.inline_size = INLINE_SIZE,
.bud_size = BUD_SIZE,
.lookahead_size = LOOKAHEAD_SIZE,
};