1. 09 Dec, 2011 14 commits
  2. 08 Dec, 2011 15 commits
  3. 07 Dec, 2011 9 commits
  4. 06 Dec, 2011 2 commits
    • Christoph Hellwig's avatar
      xfs: fix the logspace waiting algorithm · 9f9c19ec
      Christoph Hellwig authored
      Apply the scheme used in log_regrant_write_log_space to wake up any other
      threads waiting for log space before the newly added one to
      log_regrant_write_log_space as well, and factor the code into readable
      helpers.  For each of the queues we have add two helpers:
      
       - one to try to wake up all waiting threads.  This helper will also be
         usable by xfs_log_move_tail once we remove the current opportunistic
         wakeups in it.
       - one to sleep on t_wait until enough log space is available, loosely
         modelled after Linux waitqueues.
       
      And use them to reimplement the guts of log_regrant_write_log_space and
      log_regrant_write_log_space.  These two function now use one and the same
      algorithm for waiting on log space instead of subtly different ones before,
      with an option to completely unify them in the near future.
      
      Also move the filesystem shutdown handling to the common caller given
      that we had to touch it anyway.
      
      Based on hard debugging and an earlier patch from
      Chandra Seetharaman <sekharan@us.ibm.com>.
      Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
      Reviewed-by: default avatarChandra Seetharaman <sekharan@us.ibm.com>
      Tested-by: default avatarChandra Seetharaman <sekharan@us.ibm.com>
      Signed-off-by: default avatarBen Myers <bpm@sgi.com>
      9f9c19ec
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net · b835c0f4
      Linus Torvalds authored
      * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net:
        net: Silence seq_scale() unused warning
        ipv4:correct description for tcp_max_syn_backlog
        pasemi_mac: Fix building as module
        netback: Fix alert message.
        r8169: fix Rx index race between FIFO overflow recovery and NAPI handler.
        r8169: Rx FIFO overflow fixes.
        ipv4: Fix peer validation on cached lookup.
        ipv4: make sure RTO_ONLINK is saved in routing cache
        iwlwifi: change the default behavior of watchdog timer
        iwlwifi: do not re-configure HT40 after associated
        iwlagn: fix HW crypto for TX-only keys
        Revert "mac80211: clear sta.drv_priv on reconfiguration"
        mac80211: fill rate filter for internal scan requests
        cfg80211: amend regulatory NULL dereference fix
        cfg80211: fix race on init and driver registration
      b835c0f4