Skip to content

NeoDOS v0.51.5 — VFS synchronization hardening (#83, #519)

Choose a tag to compare

@alexis900 alexis900 released this 09 Oct 12:10
· 193 commits to develop since this release
353394b

Patch release: no ABI/API change (kernel ABI v8, SSDT RAX 0–99, 37 assigned).

Highlights

  • VFS lock-contention reduction and synchronization hardening (#83, #519).
    • MOUNT_MANAGER joins the enforced filesystem lock hierarchy
      (VFS → MOUNT_MANAGER → PAGE_CACHE → BLOCK_DEVICES).
    • Production FS PAGE_CACHE/BLOCK_DEVICES access goes through
      preempt-disabling, order-checked helpers.
    • flush_cache_if_needed writes back one page per lock acquisition (bounded)
      instead of holding both locks across a multi-page burst.
    • Path resolution no longer allocates under the VFS lock; the boot storage
      probe runs outside the block-device registry lock.
    • The global VFS and BLOCK_DEVICES locks remain; this is not a
      lock-free VFS and no throughput claim is made.
  • Bundles the changes accumulated on develop since v0.51.4 (NeoFS v2 lazy
    free-list persistence, per-file snapshot extraction, snapshot generations,
    trait-based FSCK, module reorganizations, etc.).

Validation

  • Kernel suite: 861/861 PASS (was 860; +1 lock-order test).
  • Boot banner: NeoDOS Kernel v0.51.5.
  • neodev check-deps: 0 new violations (142 baselined).
  • markdownlint + scripts/sync-roadmap.sh check: OK.
  • SMP4: VirtualBox 4/4 boots to shell with DHCP ACK; QEMU TCG no VFS
    deadlock.

Known issues / limitations

  • #603 — scheduler work-stealing victim_rq.pop().unwrap() panic
    (src/scheduler/smp.rs:95), pre-existing, intermittent, not on a VFS path
    (family #490). neodev test still reports OVERALL: PASSED
    (861 kernel + Command + Shell) with a "Panics detected" advisory.
  • #83 (per-drive VFS synchronization) and #519 (remaining global-lock
    contention) remain open.
  • No reliable SMP throughput benchmark (single synchronous device;
    BLOCK_DEVICES dominates).

This release does not close any issue.

Full diff: develop → master via #604; VFS work in #602.