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
storage e2e: auto detect sector size #101924
Conversation
@mkimuram: GitHub didn't allow me to request PR reviews from the following users: nixpanic. Note that only kubernetes members and repo collaborators can review this PR, and authors cannot review their own PRs. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@mkimuram: This issue is currently awaiting triage. If a SIG or subproject determines this is a relevant issue, they will accept it by applying the The Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
I've tested with csi-hostpath driver by below commands and confirmed that it works.
I haven't tested with the backend which has 4k sector disk, but the detection logic should work in the same way. |
Unfortunately I dont own the environment so I cannot test it... I think this is looking okay to me as long as it is okay for us to use the JessieDnsutils image instead of the previous one. |
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.
Looks good to me, thanks for this improvement!
(I'm not part of sig-storage, so I can't /approve
)
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jsafrane, mkimuram, nixpanic The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What type of PR is this?
/kind bug
/kind failing-test
What this PR does / why we need it:
Multi-volume test with block volume mode fails for a backend other than 512KB sector disk, for direct-I/O needs an access with the block size that is aligned to the sector size. This PR add a feature to detect sector size for the test and use the block size detected.
Which issue(s) this PR fixes:
Fixes #101873
Special notes for your reviewer:
/sig storage
/cc @Jiawei0227 @msau42 @nixpanic @jsafrane
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: