1. 01 2月, 2012 2 次提交
  2. 22 12月, 2010 1 次提交
  3. 17 12月, 2010 4 次提交
  4. 11 12月, 2010 1 次提交
  5. 02 10月, 2010 1 次提交
  6. 17 9月, 2010 1 次提交
  7. 10 2月, 2010 1 次提交
  8. 10 8月, 2009 2 次提交
  9. 18 6月, 2009 8 次提交
  10. 24 12月, 2008 2 次提交
  11. 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
  12. 24 6月, 2008 1 次提交
  13. 07 12月, 2007 1 次提交
  14. 11 7月, 2007 5 次提交
  15. 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
  16. 21 10月, 2006 1 次提交
  17. 23 9月, 2006 2 次提交
  18. 24 3月, 2006 1 次提交
  19. 21 3月, 2006 2 次提交
  20. 07 1月, 2006 1 次提交
  21. 23 6月, 2005 1 次提交