Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1484587
Summary: | kernel BUG at block/blk-core.c:2054 (raid1 and raid10 resync broken) | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jonathan Underwood <jonathan.underwood> | ||||
Component: | kernel | Assignee: | Kernel Maintainer List <kernel-maint> | ||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 26 | CC: | airlied, ajax, amessina, bskeggs, eparis, esandeen, hdegoede, ichavero, itamar, jarodwilson, jforbes, jglisse, jonathan, josef, jwboyer, kernel-maint, labbott, linville, m.a.young, mchehab, mjg59, nhorman, quintela | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | kernel-4.12.11-300.fc26 kernel-4.12.11-200.fc25 | Doc Type: | If docs needed, set a value | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2017-09-12 00:23:39 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Jonathan Underwood
2017-08-23 23:42:47 UTC
Jens Axboe responded that he believes this is fixed upstream with the following commit. Could this be added to the Fedora 4.12 based kernels? Fixed by: commit 0c9d5b127f695818c2c5a3868c1f28ca2969e905 Author: NeilBrown <neilb> Date: Thu Apr 6 12:06:37 2017 +1000 md/raid1: avoid reusing a resync bio after error handling. That commit is already present in 4.12 based kernels so there must be something else going on This patch is expected to fix the problem. Would it be possible to push a build for f26 with this included for testing? https://marc.info/?l=linux-raid&m=150362889201103&w=2 Here is a scratch build with that patch included: https://koji.fedoraproject.org/koji/taskinfo?taskID=21520472 Could you please add this patch to the fedora kernels until it hits 4.12 stable - it arrived too late for 4.12.10. Without this patch resync for raid1 and raid10 is broken, which I worry could lead to data loss. Have you tested this patch? Does it fix the issue for you? The scratch build didn't complete in time for me to test before work. I'll test it this evening when I get home. Created attachment 1319777 [details]
Patch to apply upstream patch and spec file changes
I have tested the scratch built kernel 4.12.9-301, and it looks like the added patch has fixed the bug.
Attached is the full patch to add it to the spec file etc, generated with git diff.
kernel-4.12.11-300.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-6764d16965 kernel-4.12.11-200.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-a3a8638a60 kernel-4.12.11-300.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-6764d16965 kernel-4.12.11-200.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-a3a8638a60 kernel-4.12.11-300.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report. kernel-4.12.11-200.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report. |