-
Notifications
You must be signed in to change notification settings - Fork 154
vmm_tests: storvsp: generate IO to the attached devices #1957
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
Conversation
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.
Pull Request Overview
This PR enhances the storvsp VMM test by adding actual I/O operations to test storage devices more thoroughly. The test previously only verified device presence and sizing but now performs 100MB write operations to both SCSI and NVMe devices to validate their functionality.
Key changes:
- Increased disk sizes from ~4MB to ~128-160MB to accommodate the new I/O operations
- Added comprehensive device enumeration with improved logging and error handling
- Implemented actual I/O testing using
dd
commands to write 100MB to each storage device
Wasn't there already a PR for this? |
yes. something happened on my end where I could no longer update that branch. I've closed that out. I also see your feedback about reading the data back. |
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.
Some style feedback
…t are shown through OpenHCL. This also verifies that the data was correctly written to disk. Design choices: - Use `dd`, since that is what's inbox in BusyBox - Ditto for the parameters to `dd` (e.g. it would have been ideal to use `oflags=sync`, but that is not supported by the inbox version of `dd`). - 1MB IOs, for 100MB, is enough to provoke a bug that we saw in other changes.
@gurasinghMS , @jstarks - I deprioritized this. I've now cleaned it up. Thanks for the previous reviews; I'm ready for a second look from you. |
This test generates IO against the translated devices. This has found a bug in in-development code, so I believe there is value here.
dd
, since that's inbox. 1MB IO matches the IO pattern seen for the bug offline.