UnionFaps
bcachefs from patreon
bcachefs patreon

More on fully persistent allocation information

🕑 Added 2019-02-18 17:55:01 +0000 UTC

Comments

Maybe keep it simple, store the allocation counts in the journal, and replay it as you do now? No need for comples alloc count logic, just keep it in sync with the journal, if you replay the journal anyway.

Forgive some ignorant questions, but why is the restored allocation state prior to journal replay consistent with the state after replay? Shouldn't the updates to allocation metadata themselves be part of the journal entry? For that matter, couldn't the journal entry include the results of allocation, so that replay never needs to go allocate?


More Creators