Skip to content

Add the checkpoint/restore support to EROFS #9577

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

btw616
Copy link
Contributor

@btw616 btw616 commented Oct 24, 2023

This PR adds the checkpoint/restore support to EROFS. A test for checkpoint/restore will be included in the rootfs support PR (#9486).

cc @ayushr2

This patch introduces CtxRestoreFilesystemFDMap in vfs to replace
the CtxRestoreServerFDMap defined in gofer, which is a preparation
for adding the checkpoint/restore support in EROFS. It allows the
configureRestore() in boot/vfs.go to be agnostic to the filesystems
that will be used in the sentry when configuring restore.

Signed-off-by: Tiwei Bie <[email protected]>
copybara-service bot pushed a commit that referenced this pull request Oct 24, 2023
This PR adds the checkpoint/restore support to EROFS. A test for checkpoint/restore will be included in the rootfs support PR (#9486).

cc @ayushr2

FUTURE_COPYBARA_INTEGRATE_REVIEW=#9577 from btw616:erofs-checkpoint-restore-support 78a667c
PiperOrigin-RevId: 576143292
@copybara-service copybara-service bot merged commit f4b7b8f into google:master Oct 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants