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

PWX-35567: Add Spec handling for volume flag checksummed #2395

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

vivekpx
Copy link
Contributor

@vivekpx vivekpx commented Jan 9, 2024

What this PR does / why we need it:
Add Spec handling for volume flag checksummed

Which issue(s) this PR fixes (optional)
Closes # PWX-35567

Testing Notes

Special notes for your reviewer:

@@ -147,6 +147,7 @@ var (
mountOptionsRegex = regexp.MustCompile(api.SpecMountOptions + `=([A-Za-z0-9:;@=#]+),?`)
sharedv4MountOptionsRegex = regexp.MustCompile(api.SpecSharedv4MountOptions + `=([A-Za-z0-9:;@=#]+),?`)
cowOnDemandRegex = regexp.MustCompile(api.SpecCowOnDemand + "=([A-Za-z]+),?")
checksumDataRegex = regexp.MustCompile(api.SpecChecksumData + "=([A-Za-z]+),?")
Copy link
Contributor

Choose a reason for hiding this comment

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

is this regex correct?
Can you not give checksum_data=0|1?
parsebool will allow it.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, parsebool allows it, fixed it.

@vivekpx vivekpx requested a review from sulakshm January 9, 2024 04:38
@vivekpx vivekpx changed the title Add checksum data option vol spec xattr Add checksum data option to vol spec xattr Jan 9, 2024
@github-actions github-actions bot added size/s and removed size/xl labels Jan 9, 2024
@vivekpx vivekpx changed the title Add checksum data option to vol spec xattr PWX-35567: Add Spec handling for volume flag checksummed Jan 9, 2024
Copy link

This PR is stale because it has been in review for 3 days with no activity.

Copy link
Contributor

@ggriffiths ggriffiths left a comment

Choose a reason for hiding this comment

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

Will need to re-request from another reviewer

@vivekpx vivekpx requested review from sulakshm and nikhil-bhupale and removed request for sulakshm and adikulkarni0 March 6, 2024 08:32
Copy link

github-actions bot commented Jun 5, 2024

This PR is stale because it has been open for 180 days with no activity. Update this PR or it will be automatically closed in 6 months.

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.

None yet

3 participants