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

Test adjustment #118

Merged
merged 3 commits into from
Mar 15, 2024
Merged

Test adjustment #118

merged 3 commits into from
Mar 15, 2024

Conversation

DamiaSan
Copy link
Contributor

@DamiaSan DamiaSan commented Mar 1, 2024

Which issue(s) this PR fixes:

Issue #7578 , maybe #7559 #7810 #7697 #7693

What this PR does / why we need it:

With the introduction of lvol get xattr, the test need a greater timeout to be completed.
Moreover, the test exposed a strange behavior of the system when performing a global sync before to make a snapshot. No flush command arrive to spdk and I/O errors start to happen in nvme kernel driver. We encounter also frequently disconnections/reconnections between nvme driver and spdk; with kernel version older thank 6.7, all of this lead to memory corruption inside nvme driver and so to system instability.
However, I have to check better the reason of this strange behavior, but surely what I found is that with a sync /dev/nvmeXnY the problem disappear and that kernel 6.7 handle much better the errors in nvme driver.

Special notes for your reviewer:

Additional documentation or context

shuo-wu
shuo-wu previously approved these changes Mar 5, 2024
Copy link

mergify bot commented Mar 5, 2024

This pull request is now in conflict. Could you fix it @DamiaSan? 🙏

@shuo-wu
Copy link
Contributor

shuo-wu commented Mar 8, 2024

The conflict is not resolved yet. Would you update the PR again?

Vendor dependencies and spdk commit id of dapper dockerfile
have been updated.

Longhorn 7578

Signed-off-by: Damiano Cipriani <damiano.cipriani@suse.com>
Due to the introduction of lvol get xattr in go-spdk-helper, the
duration of test's run is longer, so we have to increase the global
timeout.

Longhorn 7578

Signed-off-by: Damiano Cipriani <damiano.cipriani@suse.com>
If a global sync is performed, no flush command arrive to spdk.
Instead, if for every volume a sync over the corresponding
/dev/nvmeXnY is performed, the flush command is correctly
received by spdk_tgt.

Longhorn 7559

Signed-off-by: Damiano Cipriani <damiano.cipriani@suse.com>
@shuo-wu shuo-wu merged commit da2a02e into longhorn:main Mar 15, 2024
5 checks passed
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