1. 20 Apr, 2011 2 commits
    • NeilBrown's avatar
      md: Fix dev_sectors on takeover from raid0 to raid4/5 · 3b71bd93
      NeilBrown authored
      A raid0 array doesn't set 'dev_sectors' as each device might
      contribute a different number of sectors.
      So when converting to a RAID4 or RAID5 we need to set dev_sectors
      as they need the number.
      We have already verified that in fact all devices do contribute
      the same number of sectors, so use that number.
      Signed-off-by: default avatarNeilBrown <neilb@suse.de>
      3b71bd93
    • NeilBrown's avatar
      md/raid5: remove setting of ->queue_lock · 2b7da309
      NeilBrown authored
      We previously needed to set ->queue_lock to match the raid5
      device_lock so we could safely use queue_flag_* operations (e.g. for
      plugging). which test the ->queue_lock is in fact locked.
      
      However that need has completely gone away and is unlikely to come
      back to remove this now-pointless setting.
      Signed-off-by: default avatarNeilBrown <neilb@suse.de>
      2b7da309
  2. 19 Apr, 2011 1 commit
  3. 18 Apr, 2011 30 commits
  4. 17 Apr, 2011 7 commits