Skip to content

0.26.7 - Optimize page writing in volume jobs

Compare
Choose a tag to compare
@tonyastolfi tonyastolfi released this 20 Sep 21:15
· 46 commits to main since this release
723515b

Added env var LLFS_WRITE_NEW_PAGES_ASAP : defaults to 1 (set to 0 to revert behavior).

When appending a job to a Volume, we now begin writing page data immediately, before even writing the prepare job slot. This is still correct since it's the PageAllocator state update that signals post-recovery that the pages were written. It's desirable because it allows us to maximize I/O throughput, even with the current one-at-a-time PageAllocator ref count update design.