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

Snapshot checksum APIs #35

Open
wants to merge 8 commits into
base: longhorn-v24.05
Choose a base branch
from

Conversation

DamiaSan
Copy link

Which issue(s) this PR fixes:

Issue #8666

What this PR does / why we need it:

Special notes for your reviewer:

Additional documentation or context

Added a new function which generate CRC from ISO standard in
reflected format.

Longhorn 8666

Signed-off-by: Damiano Cipriani <[email protected]>
A new flag has been added to blob metadata to enable the addition
of new xattrs to a read only blob.

Longhorn 8666

Signed-off-by: Damiano Cipriani <[email protected]>
Added a new function to create a snapshot with options.

Longhorn 8666

Signed-off-by: Damiano Cipriani <[email protected]>
Added a new function to compute sanpshot's data checksum and to
store it as an xattr.

Longhorn 8666

Signed-off-by: Damiano Cipriani <[email protected]>
Added a new function to create a snapshot with provided options,
like a list of xattrs to be set in the snapshot and an option
to enable the addition of new xattrs to the snapshot after its
creation.

Longhorn 8666

Signed-off-by: Damiano Cipriani <[email protected]>
Added an option in snapshot create to enable the addition of new
xattrs to a snapshot after its creation. The status of the option
is shown in dump_info_json callback.

Longhorn 8666

Signed-off-by: Damiano Cipriani <[email protected]>
Added functions to register and get the checksum of snapshot's data.

Longhorn 8666

Signed-off-by: Damiano Cipriani <[email protected]>
Added the RPC interfaces to register and to get snapshot's data
checksum. Also a lvol test have been added to check the behavior
of the new RPCs.

Longhorn 8666

Signed-off-by: Damiano Cipriani <[email protected]>
@derekbit
Copy link
Member

Need to update go-spdk-helper as well.

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.

2 participants