Skip to content

Prepare broker file systems for multiple containers - #1831

Closed
Weidong Cui (wdcui) wants to merge 2 commits into
uliteboxfrom
wdcui/ulitebox/container-fs
Closed

Weidong Cui (wdcui) wants to merge 2 commits into
uliteboxfrom
wdcui/ulitebox/container-fs

Conversation

@wdcui

@wdcui Weidong Cui (wdcui) commented Nov 10, 2026 •

Copy link
Copy Markdown
Member

This PR prepares the broker core's file systems for running several containers in one broker. Composer::builder_with builds composers from shared allocators, so no two of them share a device, including for virtual directories, and file systems built for different containers never share a node identity. An Arc of a backend is a backend, so file systems can share a volume, and an open file keeps the file service that opened it.

Weidong Cui (wdcui) and others added 2 commits November 9, 2026 20:45
Composers built from shared allocators never share a device, including
for their virtual directories, so file systems built for different
containers never share a node identity. A backend in an Arc can be
mounted by several file systems, as a shared volume. An open file keeps
the file service that opened it, so it works the same in any process.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: f5406de6-bab4-4f3b-b232-ae238032c2c2
Both socket tests fail only when the node identity test does.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: f5406de6-bab4-4f3b-b232-ae238032c2c2
@wdcui
Weidong Cui (wdcui) force-pushed the wdcui/ulitebox/container-fs branch from f90c8f7 to b83801a Compare November 10, 2026 04:45
@github-actions

Copy link
Copy Markdown

🤖 SemverChecks 🤖 No breaking API changes detected

Note: this does not mean API is unchanged, or even that there are no breaking changes; simply, none of the detections triggered.

@wdcui

Copy link
Copy Markdown
Member Author

Superseded by #1837, which folds in what the mount trees need from this PR (composers sharing inode allocators) and replaces "open files keep their service" with open files keeping the mount that opened them. Closing.

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