Skip to content
  1. Jun 09, 2009
    • NeilBrown's avatar
      md/raid5: use conf->raid_disks in preference to mddev->raid_disk · f001a70c
      NeilBrown authored
      
      
      mddev->raid_disks can be changed and any time by a request from
      user-space.  It is a suggestion as to what number of raid_disks is
      desired.
      
      conf->raid_disks can only be changed by the raid5 module with suitable
      locks in place.  It is a statement as to the current number of
      raid_disks.
      
      There are two places where the latter should be used, but the former
      is used.  This can lead to a crash when reshaping an array.
      
      This patch changes to mddev-> to conf->
      
      Signed-off-by: default avatarNeilBrown <neilb@suse.de>
      f001a70c
  2. Jun 06, 2009
  3. Jun 05, 2009
  4. Jun 04, 2009
  5. Jun 03, 2009
Loading