Skip to content

fix: donate EROFS submount FDs in goferless mode#13663

Open
copybara-service[bot] wants to merge 1 commit into
masterfrom
test/cl945300154
Open

fix: donate EROFS submount FDs in goferless mode#13663
copybara-service[bot] wants to merge 1 commit into
masterfrom
test/cl945300154

Conversation

@copybara-service

Copy link
Copy Markdown

fix: donate EROFS submount FDs in goferless mode

When an EROFS rootfs runs without a gofer process, runsc still has to provide image FDs for EROFS config mounts. The goferless path only opened the rootfs image, so boot could run out of gofer FDs while preparing submounts.

This patch donates EROFS submount image FDs in config mount order and adds a test to cover such case.

FUTURE_COPYBARA_INTEGRATE_REVIEW=#13597 from tianyuzhou95:albert/erofs-mount-fix 87177a7

@copybara-service copybara-service Bot added the exported Issue was exported automatically label Jul 9, 2026
@copybara-service copybara-service Bot force-pushed the test/cl945300154 branch 2 times, most recently from ecca239 to ba1bfc8 Compare July 9, 2026 23:31
When an EROFS rootfs runs without a gofer process, runsc still has to provide image FDs for EROFS config mounts. The goferless path only opened the rootfs image, so boot could run out of gofer FDs while preparing submounts.

This patch donates EROFS submount image FDs in config mount order and adds a test to cover such case.

FUTURE_COPYBARA_INTEGRATE_REVIEW=#13597 from tianyuzhou95:albert/erofs-mount-fix 87177a7
PiperOrigin-RevId: 945300154
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

exported Issue was exported automatically

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant