• Linus Torvalds's avatar
    Merge tag 'md-3.3' of git://neil.brown.name/md · 2943c833
    Linus Torvalds authored
    md update for 3.3
    
    Big change is new hot-replacement.
    A slot in an array can hold 2 devices - one that
    wants-replacement and one that is the replacement.
    Once the replacement is built - either from the
    original or (in the case of errors) from elsewhere,
    the wants-replacement device will be removed.
    
    * tag 'md-3.3' of git://neil.brown.name/md: (36 commits)
      md/raid1: Mark device want_replacement when we see a write error.
      md/raid1: If there is a spare and a want_replacement device, start replacement.
      md/raid1: recognise replacements when assembling arrays.
      md/raid1: handle activation of replacement device when recovery completes.
      md/raid1: Allow a failed replacement device to be removed.
      md/raid1: Allocate spare to store replacement devices and their bios.
      md/raid1:  Replace use of mddev->raid_disks with conf->raid_disks.
      md/raid10: If there is a spare and a want_replacement device, start replacement.
      md/raid10: recognise replacements when assembling array.
      md/raid10: Allow replacement device to be replace old drive.
      md/raid10: handle recovery of replacement devices.
      md/raid10:  Handle replacement devices during resync.
      md/raid10: writes should get directed to replacement as well as original.
      md/raid10: allow removal of failed replacement devices.
      md/raid10: preferentially read from replacement device if possible.
      md/raid10:  change read_balance to return an rdev
      md/raid10: prepare data structures for handling replacement.
      md/raid5: Mark device want_replacement when we see a write error.
      md/raid5: If there is a spare and a want_replacement device, start replacement.
      md/raid5: recognise replacements when assembling array.
      ...
    2943c833
md.c 215 KB