This bug is missing log files that will aid in diagnosing the problem.
While running an Ubuntu kernel (not a mainline or third-party kernel)
please enter the following command in a terminal window:

apport-collect 1744634

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable
to run this command, please add a comment stating that fact and change
the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the
Ubuntu Kernel Team.

** Changed in: linux (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1744634

Title:
  [Bug]Crystal Ridge: fix badblocks routines not merging more than one
  range at a time

Status in intel:
  Triaged
Status in linux package in Ubuntu:
  Incomplete

Bug description:
  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:19.10

To manage notifications about this bug go to:
https://bugs.launchpad.net/intel/+bug/1744634/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to