** Also affects: ubuntu
Importance: Undecided
Status: New
** Description changed:
Description:
The badblocks routines we used from md have a bug where if a new range being
added overlaps with multiple distinct ranges, it only merges with the first one.
Consider the following operations:
badblocks_set(bb, 32, 1);
badblocks_set(bb, 34, 1);
badblocks_set(bb, 36, 1);
badblocks_show will now correctly report:
32 1
34 1
36 1
Now if I do:
badblocks_set(bb, 32, 12);
Ideally, this should collapse all ranges into a single (32, 12).. But
looks like badblocks_set only merges one set of adjacent mergeable
ranges, and then returns, resulting in:
32 3
36 1
Now if I add the same (32, 12) range again, I get:
32 5
as one more set is merged. And finally after adding (32, 12) one final
time, I get the expected
32 12.
Target Kernel:TBD
- Target Release:18.10
+ Target Release:19.04
** Tags removed: intel-kernel-18.10
** Tags added: intel-kernel-19.04
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1744634
Title:
[Bug]Crystal Ridge - 4.15: fix badblocks routines not merging more
than one range at a time
To manage notifications about this bug go to:
https://bugs.launchpad.net/intel/+bug/1744634/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs