1. 05 11月, 2012 1 次提交
  2. 01 11月, 2012 1 次提交
  3. 21 3月, 2012 1 次提交
  4. 01 2月, 2012 2 次提交
  5. 22 12月, 2010 1 次提交
  6. 17 12月, 2010 4 次提交
  7. 11 12月, 2010 1 次提交
  8. 02 10月, 2010 1 次提交
  9. 17 9月, 2010 1 次提交
  10. 10 2月, 2010 1 次提交
  11. 10 8月, 2009 2 次提交
  12. 18 6月, 2009 8 次提交
  13. 24 12月, 2008 2 次提交
  14. 08 10月, 2008 1 次提交
    • S
      NFS: Client mounts hang when exported directory do not exist · 8491945f
      Steve Dickson 提交于
      This patch fixes a regression that was introduced by the string based mounts.
      
      nfs_mount() statically returns -EACCES for every error returned
      by the remote mounted. This is incorrect because -EACCES is
      an non-fatal error to the mount.nfs command. This error causes
      mount.nfs to retry the mount even in the case when the exported
      directory does not exist.
      
      This patch maps the errors returned by the remote mountd into
      valid errno values, exactly how it was done pre-string based
      mounts. By returning the correct errno enables mount.nfs
      to do the right thing.
      Signed-off-by: NSteve Dickson <steved@redhat.com>
      [Trond.Myklebust@netapp.com: nfs_stat_to_errno() now correctly returns
       negative errors, so remove the sign change.]
      Signed-off-by: NTrond Myklebust <Trond.Myklebust@netapp.com>
      8491945f
  15. 24 6月, 2008 1 次提交
  16. 07 12月, 2007 1 次提交
  17. 11 7月, 2007 5 次提交
  18. 01 5月, 2007 1 次提交
    • C
      SUNRPC: RPC buffer size estimates are too large · 2bea90d4
      Chuck Lever 提交于
      The RPC buffer size estimation logic in net/sunrpc/clnt.c always
      significantly overestimates the requirements for the buffer size.
      A little instrumentation demonstrated that in fact rpc_malloc was never
      allocating the buffer from the mempool, but almost always called kmalloc.
      
      To compute the size of the RPC buffer more precisely, split p_bufsiz into
      two fields; one for the argument size, and one for the result size.
      
      Then, compute the sum of the exact call and reply header sizes, and split
      the RPC buffer precisely between the two.  That should keep almost all RPC
      buffers within the 2KiB buffer mempool limit.
      
      And, we can finally be rid of RPC_SLACK_SPACE!
      Signed-off-by: NChuck Lever <chuck.lever@oracle.com>
      Signed-off-by: NTrond Myklebust <Trond.Myklebust@netapp.com>
      2bea90d4
  19. 21 10月, 2006 1 次提交
  20. 23 9月, 2006 2 次提交
  21. 24 3月, 2006 1 次提交
  22. 21 3月, 2006 1 次提交
    • C
      SUNRPC: eliminate rpc_call() · dead28da
      Chuck Lever 提交于
      Clean-up: replace rpc_call() helper with direct call to rpc_call_sync.
      
      This makes NFSv2 and NFSv3 synchronous calls more computationally
      efficient, and reduces stack consumption in functions that used to
      invoke rpc_call more than once.
      
      Test plan:
      Compile kernel with CONFIG_NFS enabled.  Connectathon on NFS version 2,
      version 3, and version 4 mount points.
      Signed-off-by: NChuck Lever <cel@netapp.com>
      Signed-off-by: NTrond Myklebust <Trond.Myklebust@netapp.com>
      dead28da