1. 07 1月, 2009 19 次提交
  2. 31 10月, 2008 1 次提交
  3. 30 9月, 2008 1 次提交
  4. 20 3月, 2008 6 次提交
  5. 10 10月, 2007 1 次提交
  6. 11 7月, 2007 1 次提交
  7. 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
  8. 21 10月, 2006 1 次提交
  9. 04 10月, 2006 5 次提交
  10. 02 10月, 2006 1 次提交
  11. 23 9月, 2006 1 次提交
  12. 24 3月, 2006 1 次提交
  13. 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
新手
引导
客服 返回
顶部