Merge ~ltrager/maas:lp1695229_2.2 into maas:2.2
Proposed by
Lee Trager
Status: | Merged |
---|---|
Approved by: | Lee Trager |
Approved revision: | a2fc6337e0c83fa1b98922ec656e53147756b47c |
Merge reported by: | MAAS Lander |
Merged at revision: | not available |
Proposed branch: | ~ltrager/maas:lp1695229_2.2 |
Merge into: | maas:2.2 |
Diff against target: |
84 lines (+21/-6) 2 files modified
src/metadataserver/builtin_scripts/badblocks.py (+9/-2) src/metadataserver/builtin_scripts/tests/test_badblocks.py (+12/-4) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Lee Trager (community) | Approve | ||
Review via email: mp+326704@code.launchpad.net |
Commit message
Backport from master: Run badblocks using the physical blocksize of the disk.
By default badblocks always runs using a blocksize of 1024 and uses a 32bit int for the number of blocks it can test. For large disks the number of blocks exceeds the 32bit int limit and causes badblocks to fail. Many large uses use a larger physical blocksize which avoids hitting the 32bit int limit which helps avoid hitting LP:1695229.
To post a comment you must log in.
Approved in https:/ /code.launchpad .net/~ltrager/ maas/+git/ maas/+merge/ 326204