Skip to content

engine: retain dirty markers for stacked release mounts - #406

Merged
CMGS merged 1 commit into
mainfrom
codex/release-stacked-mount
Oct 30, 2026
Merged

CMGS merged 1 commit into
mainfrom
codex/release-stacked-mount

Conversation

@CMGS

@CMGS CMGS commented Oct 30, 2026

Copy link
Copy Markdown
Contributor

When a guest stacks another filesystem at a managed writable mount path, release can unmount only the upper layer and incorrectly report the data disk as clean.

Exclude the selected mountinfo record by index, then treat any remaining record at the same path or on the same device as unclean. This preserves the dirty marker without adding guest calls or changing teardown. Three cases in the existing test table cover both mountinfo listing orders and a stacked whole-device bind with identical parsed fields.

Validation: static review of the engine-to-pool marker path and git diff --check. Tests, lint, builds, CI, and runtime checks were not run, as requested.

LOC: production +1/-1; tests +3/-0.

@CMGS
CMGS merged commit 226fc80 into main Oct 30, 2026
1 check passed
@CMGS
CMGS deleted the codex/release-stacked-mount branch October 30, 2026 14:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant