1. 17 9月, 2010 2 次提交
    • N
      md: fix v1.x metadata update when a disk is missing. · ddcf3522
      NeilBrown 提交于
      If an array with 1.x metadata is assembled with the last disk missing,
      md doesn't properly record the fact that the disk was missing.
      
      This is unlikely to cause a real problem as the event count will be
      different to the count on the missing disk so it won't be included in
      the array.  However it could still cause confusion.
      
      So make sure we clear all the relevant slots, not just the early ones.
      Signed-off-by: NNeilBrown <neilb@suse.de>
      ddcf3522
    • N
      md: call md_update_sb even for 'external' metadata arrays. · 126925c0
      NeilBrown 提交于
      Now that we depend on md_update_sb to clear variable bits in
      mddev->flags (rather than trying not to set them) it is important to
      always call md_update_sb when appropriate.
      
      md_check_recovery has this job but explicitly avoids it for ->external
      metadata arrays.  This is not longer appropraite, or needed.
      
      However we do want to avoid taking the mddev lock if only
      MD_CHANGE_PENDING is set as that is not cleared by md_update_sb for
      external-metadata arrays.
      Reported-by: N"Kwolek, Adam" <adam.kwolek@intel.com>
      Signed-off-by: NNeilBrown <neilb@suse.de>
      126925c0
  2. 15 9月, 2010 9 次提交
  3. 14 9月, 2010 10 次提交
  4. 13 9月, 2010 19 次提交