1. 10 5月, 2007 1 次提交
  2. 08 5月, 2007 1 次提交
  3. 05 4月, 2007 1 次提交
  4. 28 3月, 2007 2 次提交
  5. 02 3月, 2007 3 次提交
  6. 15 2月, 2007 2 次提交
  7. 13 2月, 2007 1 次提交
  8. 27 1月, 2007 2 次提交
  9. 23 12月, 2006 1 次提交
    • N
      [PATCH] md: fix a few problems with the interface (sysfs and ioctl) to md · 3f9d7b0d
      NeilBrown 提交于
      While developing more functionality in mdadm I found some bugs in md...
      
      - When we remove a device from an inactive array (write 'remove' to
        the 'state' sysfs file - see 'state_store') would should not
        update the superblock information - as we may not have
        read and processed it all properly yet.
      
      - initialise all raid_disk entries to '-1' else the 'slot sysfs file
        will claim '0' for all devices in an array before the array is
        started.
      
      - all '\n' not to be present at the end of words written to
        sysfs files
      
      - when we use SET_ARRAY_INFO to set the md metadata version,
        set the flag to say that there is persistant metadata.
      
      - allow GET_BITMAP_FILE to be called on an array that hasn't
        been started yet.
      Signed-off-by: NNeil Brown <neilb@suse.de>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      3f9d7b0d
  10. 11 12月, 2006 3 次提交
  11. 09 12月, 2006 3 次提交
  12. 08 12月, 2006 1 次提交
  13. 09 11月, 2006 2 次提交
  14. 04 11月, 2006 1 次提交
  15. 29 10月, 2006 2 次提交
  16. 22 10月, 2006 1 次提交
  17. 17 10月, 2006 1 次提交
  18. 06 10月, 2006 1 次提交
  19. 04 10月, 2006 1 次提交
  20. 03 10月, 2006 6 次提交
  21. 28 8月, 2006 1 次提交
    • N
      [PATCH] md: avoid backward event updates in md superblock when degraded. · 84692195
      NeilBrown 提交于
      If we
        - shut down a clean array,
        - restart with one (or more) drive(s) missing
        - make some changes
        - pause, so that they array gets marked 'clean',
      the event count on the superblock of included drives
      will be the same as that of the removed drives.
      So adding the removed drive back in will cause it
      to be included with no resync.
      
      To avoid this, we only update the eventcount backwards when the array
      is not degraded.  In this case there can (should) be no non-connected
      drives that we can get confused with, and this is the particular case
      where updating-backwards is valuable.
      Signed-off-by: NNeil Brown <neilb@suse.de>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      84692195
  22. 11 7月, 2006 3 次提交