1. 17 Jun, 2009 11 commits
  2. 09 Jun, 2009 4 commits
  3. 08 Jun, 2009 4 commits
    • NeilBrown's avatar
      md/raid5 - avoid deadlocks in get_active_stripe during reshape · a8c906ca
      NeilBrown authored
      
      
      md has functionality to 'quiesce' and array so that all pending
      IO completed and no new IO starts.  This is used to achieve a
      stable state before making internal changes.
      
      Currently this quiescing applies equally to normal IO, resync
      IO, and reshape IO.
      However there is a problem with applying it to reshape IO.
      Reshape can have multiple 'stripe_heads' that must be active together.
      If the quiesce come between allocating the first and the last of
      such a collection, then we deadlock, as the last will not be allocated
      until the quiesce is lifted, the quiesce will not be lifted until the
      first (which has been allocated) gets used, and that first cannot be
      used until the last is allocated.
      
      It is not necessary to inhibit reshape IO when a quiesce is
      requested.  Those places in the code that require a full quiesce will
      ensure the reshape thread is not running at all.
      
      So allow reshape requests to get access to new stripe_heads without
      being blocked by a 'quiesce'.
      
      This only affects in-place reshapes (i.e. where the array does not
      grow or shrink) and these are only newly supported.  So this patch is
      not needed in earlier kernels.
      Signed-off-by: default avatarNeilBrown <neilb@suse.de>
      a8c906ca
    • NeilBrown's avatar
      md/raid5: use conf->raid_disks in preference to mddev->raid_disk · f001a70c
      NeilBrown authored
      
      
      mddev->raid_disks can be changed and any time by a request from
      user-space.  It is a suggestion as to what number of raid_disks is
      desired.
      
      conf->raid_disks can only be changed by the raid5 module with suitable
      locks in place.  It is a statement as to the current number of
      raid_disks.
      
      There are two places where the latter should be used, but the former
      is used.  This can lead to a crash when reshaping an array.
      
      This patch changes to mddev-> to conf->
      Signed-off-by: default avatarNeilBrown <neilb@suse.de>
      f001a70c
    • Alan Cox's avatar
      pata_netcell: Fix typo · 5284c6b9
      Alan Cox authored
      
      
      The previous patch submission had a I typo I didn't catch but Bartlomiej
      noted. Guess this proves the point about any patch being risky late in an rc
      Signed-off-by: default avatarAlan Cox <alan@linux.intel.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      5284c6b9
    • Matthieu Castet's avatar
      SSB: BCM47xx: Export ssb_watchdog_timer_set · e36b80b6
      Matthieu Castet authored
      
      
      this patch export ssb_watchdog_timer_set to allow to use it in a Linux 
      watchdog driver.
      Signed-off-by: default avatarMatthieu CASTET <castet.matthieu@free.fr>
      Acked-by : Michael Buesch <mb@bu3sch.de>
      Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
      e36b80b6
  4. 07 Jun, 2009 2 commits
  5. 05 Jun, 2009 8 commits
  6. 04 Jun, 2009 3 commits
  7. 03 Jun, 2009 8 commits