1. 10 5月, 2007 3 次提交
  2. 28 3月, 2007 3 次提交
  3. 05 3月, 2007 1 次提交
    • N
      [PATCH] md: fix for raid6 reshape · 6d3baf2e
      NeilBrown 提交于
      Recent patch for raid6 reshape had a change missing that showed up in
      subsequent review.
      
      Many places in the raid5 code used "conf->raid_disks-1" to mean "number of
      data disks".  With raid6 that had to be changed to "conf->raid_disk -
      conf->max_degraded" or similar.  One place was missed.
      
      This bug means that if a raid6 reshape were aborted in the middle the
      recorded position would be wrong.  On restart it would either fail (as the
      position wasn't on an appropriate boundary) or would leave a section of the
      array unreshaped, causing data corruption.
      Signed-off-by: NNeil Brown <neilb@suse.de>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      6d3baf2e
  4. 02 3月, 2007 2 次提交
  5. 10 2月, 2007 1 次提交
    • N
      [PATCH] md: fix various bugs with aligned reads in RAID5 · 387bb173
      Neil Brown 提交于
      It is possible for raid5 to be sent a bio that is too big for an underlying
      device.  So if it is a READ that we pass stright down to a device, it will
      fail and confuse RAID5.
      
      So in 'chunk_aligned_read' we check that the bio fits within the parameters
      for the target device and if it doesn't fit, fall back on reading through
      the stripe cache and making lots of one-page requests.
      
      Note that this is the earliest time we can check against the device because
      earlier we don't have a lock on the device, so it could change underneath
      us.
      
      Also, the code for handling a retry through the cache when a read fails has
      not been tested and was badly broken.  This patch fixes that code.
      Signed-off-by: NNeil Brown <neilb@suse.de>
      Cc: "Kai" <epimetreus@fastmail.fm>
      Cc: <stable@suse.de>
      Cc: <org@suse.de>
      Cc: Jens Axboe <jens.axboe@oracle.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      387bb173
  6. 27 1月, 2007 2 次提交
  7. 14 12月, 2006 1 次提交
  8. 11 12月, 2006 7 次提交
  9. 08 12月, 2006 1 次提交
  10. 09 11月, 2006 1 次提交
  11. 04 10月, 2006 1 次提交
  12. 03 10月, 2006 5 次提交
  13. 11 7月, 2006 6 次提交
  14. 01 7月, 2006 1 次提交
  15. 30 6月, 2006 1 次提交
  16. 27 6月, 2006 4 次提交