Skip to content
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

Refactor the nydus-api crate to prepare for API v2 #364

Merged
merged 2 commits into from
Apr 2, 2022

Conversation

jiangliu
Copy link
Collaborator

@jiangliu jiangliu commented Apr 1, 2022

Refactor the nydus-api crate to prepare for support v2 API.

Refactor API v1 implementation to prepare for v2:
- add more unit test cases
- make Arc<Waker> as optional
- handle Interrupted when poll()

Signed-off-by: Liu Jiang <gerry@linux.alibaba.com>
Move common code which will be shared v1/v2 API from http_endpoint.rs
into http.rs.

Signed-off-by: Liu Jiang <gerry@linux.alibaba.com>
@hsiangkao
Copy link
Contributor

Looks good.

@hsiangkao hsiangkao self-requested a review April 2, 2022 06:50
Copy link
Contributor

@hsiangkao hsiangkao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Towards fscache end-to-end.

@hsiangkao hsiangkao merged commit 822ad36 into dragonflyoss:master Apr 2, 2022
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.

3 participants