-
Notifications
You must be signed in to change notification settings - Fork 205
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
Enhance localdisk storage backend to manually add blob objects #1337
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,7 +45,8 @@ tar = "0.4.38" | |
regex = "1.7.0" | ||
|
||
[features] | ||
backend-localdisk = ["gpt"] | ||
backend-localdisk = [] | ||
backend-localdisk-gpt = ["gpt", "backend-localdisk"] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm a bit confused about this new feature, can you explain what it's for? I only see one feature on other backends. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It's to support localdisk without gpt. Gpt is just one way to discover nydus blobs inside a disk, but not the only way. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. OK, got it. |
||
backend-localfs = [] | ||
backend-oss = ["base64", "httpdate", "hmac", "sha1", "reqwest", "url"] | ||
backend-registry = ["base64", "reqwest", "url"] | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The variable disable_gpt has been used here to control the localdisk mode. Is it necessary to use the feature
backend-localdisk-gpt
for conditional compilation at the same time?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's keep it for simplicity?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK