1. 27 May, 2009 5 commits
  2. 26 May, 2009 33 commits
  3. 25 May, 2009 2 commits
    • NeilBrown's avatar
      md: export 'frozen' resync state through sysfs · b6a9ce68
      NeilBrown authored
      The md resync engine has a 'frozen' state which ensures that
      no resync/recovery.  This is used to avoid races.
      
      Export this state through the 'sync_action' sysfs attribute
      so that user-space can benefit and also avoid some races.
      Signed-off-by: default avatarNeilBrown <neilb@suse.de>
      b6a9ce68
    • NeilBrown's avatar
      md: bitmap: improve bitmap maintenance code. · be512691
      NeilBrown authored
      The code for checking which bits in the bitmap can be cleared
      has 2 problems:
       1/ it repeatedly takes and drops a spinlock, where it would make
          more sense to just hold on to it most of the time.
       2/ it doesn't make use of some opportunities to skip large sections
          of the bitmap
      
      This patch fixes those.  It will only affect CPU consumption, not
      correctness.
      Signed-off-by: default avatarNeilBrown <neilb@suse.de>
      be512691