-
Notifications
You must be signed in to change notification settings - Fork 642
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
[1.3] backport failpoints(resizeFileError, lackOfDiskSpace) and dmflakey on XFS #816
Conversation
Signed-off-by: Benjamin Wang <wachao@vmware.com> (cherry picked from commit 465077b) Signed-off-by: Wei Fu <fuweid89@gmail.com>
Signed-off-by: Marcondes Viana <marju10@gmail.com> (cherry picked from commit 5ddbd0c) Signed-off-by: Wei Fu <fuweid89@gmail.com>
Update case with a combination of EXT4 filesystem's commit setting and unexpected exit event. That EXT4 filesystem's commit is to sync all its data and metadata every seconds. The kernel can help us sync even if that process has been killed. With different commit setting, we can simulate that case that kernel syncs half part of dirty pages before power failure. And for unexpected exit event, we can kill that process randomly or panic at failpoint instead of fixed code path. Signed-off-by: Wei Fu <fuweid89@gmail.com> (cherry picked from commit 4c3a80b) Signed-off-by: Wei Fu <fuweid89@gmail.com>
This also introduces mkfs options, in case we need to accomodate for non-default parameters here in the future. Signed-off-by: Thomas Jungblut <tjungblu@redhat.com> (cherry picked from commit c27eedc) Signed-off-by: Wei Fu <fuweid89@gmail.com>
cc @tjungblu |
/lgtm thank you @fuweid |
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.
LGTM
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: ahrtr, fuweid The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@fuweid the robustness test failed right after merging this PR, can you take a look? thx cc @tjungblu |
=== RUN TestRestartFromPowerFailureExt4/fp_ext4_commit1s The bbolt command wasn't panic in 10 seconds. |
I need to backport this one as well |
cherry-pick:
apt install xfsprogs
in robustness.yaml)