An error occurred fetching the project authors.
  1. 09 Nov, 2007 1 commit
  2. 19 Oct, 2007 1 commit
  3. 17 Oct, 2007 3 commits
  4. 16 Oct, 2007 1 commit
  5. 12 Oct, 2007 1 commit
  6. 10 Oct, 2007 1 commit
  7. 24 Jul, 2007 1 commit
  8. 17 Jul, 2007 5 commits
  9. 13 Jul, 2007 1 commit
    • Dan Williams's avatar
      xor: make 'xor_blocks' a library routine for use with async_tx · 685784aa
      Dan Williams authored
      The async_tx api tries to use a dma engine for an operation, but will fall
      back to an optimized software routine otherwise.  Xor support is
      implemented using the raid5 xor routines.  For organizational purposes this
      routine is moved to a common area.
      
      The following fixes are also made:
      * rename xor_block => xor_blocks, suggested by Adrian Bunk
      * ensure that xor.o initializes before md.o in the built-in case
      * checkpatch.pl fixes
      * mark calibrate_xor_blocks __init, Adrian Bunk
      
      Cc: Adrian Bunk <bunk@stusta.de>
      Cc: NeilBrown <neilb@suse.de>
      Cc: Herbert Xu <herbert@gondor.apana.org.au>
      Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
      685784aa
  10. 24 May, 2007 1 commit
  11. 11 May, 2007 1 commit
    • NeilBrown's avatar
      md: improve the is_mddev_idle test · 435b71be
      NeilBrown authored
      During a 'resync' or similar activity, md checks if the devices in the
      array are otherwise active and winds back resync activity when they are.
      This test in done in is_mddev_idle, and it is somewhat fragile - it
      sometimes thinks there is non-sync io when there isn't.
      
      The test compares the total sectors of io (disk_stat_read) with the sectors
      of resync io (disk->sync_io).  This has problems because total sectors gets
      updated when a request completes, while resync io gets updated when the
      request is submitted.  The time difference can cause large differenced
      between the two which do not actually imply non-resync activity.  The test
      currently allows for some fuzz (+/- 4096) but there are some cases when it
      is not enough.
      
      The test currently looks for any (non-fuzz) difference, either positive or
      negative.  This clearly is not needed.  Any non-sync activity will cause
      the total sectors to grow faster than the sync_io count (never slower) so
      we only need to look for a positive differences.
      
      If we do this then the amount of in-flight sync io will never cause the
      appearance of non-sync IO.  Once enough non-sync IO to worry about starts
      happening, resync will be slowed down and the measurements will thus be
      more precise (as there is less in-flight) and control of resync will still
      be suitably responsive.
      Signed-off-by: default avatarNeil Brown <neilb@suse.de>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      435b71be
  12. 10 May, 2007 1 commit
    • Linus Torvalds's avatar
      Revert "md: improve partition detection in md array" · 44ce6294
      Linus Torvalds authored
      This reverts commit 5b479c91.
      
      Quoth Neil Brown:
      
        "It causes an oops when auto-detecting raid arrays, and it doesn't
         seem easy to fix.
      
         The array may not be 'open' when do_md_run is called, so
         bdev->bd_disk might be NULL, so bd_set_size can oops.
      
         This whole approach of opening an md device before it has been
         assembled just seems to get more and more painful.  I think I'm going
         to have to come up with something clever to provide both backward
         comparability with usage expectation, and sane integration into the
         rest of the kernel."
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      44ce6294
  13. 09 May, 2007 6 commits
  14. 07 May, 2007 1 commit
  15. 05 Apr, 2007 1 commit
  16. 27 Mar, 2007 2 commits
  17. 01 Mar, 2007 3 commits
  18. 14 Feb, 2007 2 commits
  19. 12 Feb, 2007 1 commit
  20. 26 Jan, 2007 2 commits
  21. 22 Dec, 2006 1 commit
    • NeilBrown's avatar
      [PATCH] md: fix a few problems with the interface (sysfs and ioctl) to md · 3f9d7b0d
      NeilBrown authored
      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: default avatarNeil Brown <neilb@suse.de>
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      3f9d7b0d
  22. 10 Dec, 2006 3 commits