Merge ~ltrager/maas:lp1695229 into maas:master
Proposed by
Lee Trager
Status: | Merged |
---|---|
Approved by: | Lee Trager |
Approved revision: | d98df423956d58e9060d94e18302765d009ec7f9 |
Merge reported by: | MAAS Lander |
Merged at revision: | not available |
Proposed branch: | ~ltrager/maas:lp1695229 |
Merge into: | maas:master |
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 |
---|---|---|---|
Andres Rodriguez (community) | Approve | ||
Review via email: mp+326204@code.launchpad.net |
Commit message
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.
What is the TIMEOUT current? What's the value for it ?