Bug 789898
Summary: | mdadm silently fails to add devices to a degraded array with bitmaps | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Alexander Murashkin <alexandermurashkin> | ||||
Component: | mdadm | Assignee: | Jes Sorensen <Jes.Sorensen> | ||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | urgent | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 16 | CC: | agk, dledford, Jes.Sorensen, mbroz | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | mdadm-3.2.3-6.fc16 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | |||||||
: | 791189 (view as bug list) | Environment: | |||||
Last Closed: | 2012-03-10 21:51:43 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 791189 | ||||||
Attachments: |
|
Description
Alexander Murashkin
2012-02-13 08:32:23 UTC
Created attachment 561801 [details]
Fixes buffer alignment in super1.c
The patch fixes specific issue - write_bitmap1 buffer alignment in super1.c. It is possible that there are other unaligned buffers. The patch does not fix silent behaviour of mdadm when there are I/O errors while writing a superblock.
Thanks for the patch! I was going to look at it today, but you beat me to it. However, rather than hard-coding 4096 as the buffer size, it should use getpagesize() to determine the size of the buffer. It also needs to be posted upstream. Do you want to go ahead with it, or do you want me to respin it for upstream? Cheers, Jes Ok so much for replying before my third coffee - it doesn't require page size alignment, just blk size alignment. 4096 bytes ought to suffice then. mdadm-3.2.3-5.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/mdadm-3.2.3-5.fc16 Alexander, I have pushed Neil's fix for this bug into mdadm-3.2.3-5 - I would appreciate it if you could test it and report back if it fixes the problem for you. Thanks, Jes Package mdadm-3.2.3-5.fc16: * should fix your issue, * was pushed to the Fedora 16 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing mdadm-3.2.3-5.fc16' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-1862/mdadm-3.2.3-5.fc16 then log in and leave karma (feedback). I have tested mdadm-3.2.3-5.fc16 sucessfully.
> It also needs to be posted upstream.
> Do you want to go ahead with it, or do you want me to respin it for upstream?
Please take care of the upstream.
mdadm-3.2.3-6.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/mdadm-3.2.3-6.fc16 mdadm-3.2.3-6.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report. |