pub fn validate_journal_layout4(layout: &JournalLayout4) -> Result<(), Error>Expand description
Validate a mapped JournalLayout4.
Checks:
- v1 header compatibility (magic/version)
- required capabilities (journal)
layout_bytesis large enough for the base layout- initialization state is
2 - if
INDEXBUS_CAP_SUPPORTS_BLOCKINGis set, ensures the mapping is large enough to hold an appendedJournalWakeSection4at the next 64B boundary