1. 05 1月, 2012 1 次提交
  2. 10 12月, 2011 1 次提交
  3. 02 12月, 2011 2 次提交
  4. 25 8月, 2011 1 次提交
  5. 20 7月, 2011 1 次提交
  6. 13 7月, 2011 1 次提交
  7. 28 5月, 2011 1 次提交
  8. 25 4月, 2011 2 次提交
  9. 16 4月, 2011 1 次提交
  10. 29 3月, 2011 1 次提交
  11. 12 3月, 2011 4 次提交
  12. 26 1月, 2011 1 次提交
  13. 07 1月, 2011 4 次提交
  14. 25 10月, 2010 1 次提交
  15. 24 10月, 2010 2 次提交
  16. 20 10月, 2010 1 次提交
  17. 05 10月, 2010 1 次提交
    • A
      fs/locks.c: prepare for BKL removal · b89f4321
      Arnd Bergmann 提交于
      This prepares the removal of the big kernel lock from the
      file locking code. We still use the BKL as long as fs/lockd
      uses it and ceph might sleep, but we can flip the definition
      to a private spinlock as soon as that's done.
      All users outside of fs/lockd get converted to use
      lock_flocks() instead of lock_kernel() where appropriate.
      
      Based on an earlier patch to use a spinlock from Matthew
      Wilcox, who has attempted this a few times before, the
      earliest patch from over 10 years ago turned it into
      a semaphore, which ended up being slower than the BKL
      and was subsequently reverted.
      
      Someone should do some serious performance testing when
      this becomes a spinlock, since this has caused problems
      before. Using a spinlock should be at least as good
      as the BKL in theory, but who knows...
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Acked-by: NMatthew Wilcox <willy@linux.intel.com>
      Cc: Christoph Hellwig <hch@lst.de>
      Cc: Trond Myklebust <trond.myklebust@fys.uio.no>
      Cc: "J. Bruce Fields" <bfields@fieldses.org>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Cc: Miklos Szeredi <mszeredi@suse.cz>
      Cc: Frederic Weisbecker <fweisbec@gmail.com>
      Cc: Ingo Molnar <mingo@redhat.com>
      Cc: John Kacur <jkacur@redhat.com>
      Cc: Sage Weil <sage@newdream.net>
      Cc: linux-kernel@vger.kernel.org
      Cc: linux-fsdevel@vger.kernel.org
      b89f4321
  18. 31 7月, 2010 2 次提交
  19. 25 6月, 2010 1 次提交
  20. 23 6月, 2010 2 次提交
  21. 15 5月, 2010 2 次提交
  22. 03 3月, 2010 1 次提交
  23. 10 2月, 2010 3 次提交
  24. 27 1月, 2010 1 次提交
  25. 16 12月, 2009 2 次提交
    • T
      NFSv4: Fix a regression in the NFSv4 state manager · 38045412
      Trond Myklebust 提交于
      Commit 5601a00d (nfs: run state manager
      in privileged mode) introduces a regression in the NFSv4 code when
      compiled with CONFIG_NFS_V4_1. The calls to nfs4_end_drain_session()
      from the main loop in nfs4_state_manager() Oops due to the lack of an
      NFSv4.1 session when running NFSv4.0.
      
      The fix is to move those two calls back into nfs41_init_clientid() and
      nfs4_reset_session().
      
      The calls to nfs4_end_drain_session() that remain inside
      nfs4_state_manager() are safe, since the NFSv4.0 code will never set the
      NFS4CLNT_SESSION_DRAINING bit.
      Signed-off-by: NTrond Myklebust <Trond.Myklebust@netapp.com>
      38045412
    • T
      NFSv4: Release the sequence id before restarting a CLOSE rpc call · 72211dbe
      Trond Myklebust 提交于
      If the CLOSE or OPEN_DOWNGRADE call triggers a state recovery, and has
      to be resent, then we must release the seqid. Otherwise the open
      recovery will wait for the close to finish, which causes a deadlock.
      
      This is mainly a NFSv4.1 problem, although it can theoretically happen
      with NFSv4.0 too, in a OPEN_DOWNGRADE situation.
      Signed-off-by: NTrond Myklebust <Trond.Myklebust@netapp.com>
      72211dbe