1. 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
  2. 13 2月, 2007 1 次提交
  3. 06 12月, 2006 1 次提交
  4. 23 9月, 2006 7 次提交
  5. 21 3月, 2006 4 次提交
  6. 07 1月, 2006 3 次提交
  7. 24 9月, 2005 2 次提交
    • T
      Revert "[PATCH] RPC,NFS: new rpc_pipefs patch" · f134585a
      Trond Myklebust 提交于
      This reverts 17f4e6febca160a9f9dd4bdece9784577a2f4524 commit.
      f134585a
    • C
      [PATCH] RPC,NFS: new rpc_pipefs patch · 278c995c
      Christoph Hellwig 提交于
       Currently rpc_mkdir/rpc_rmdir and rpc_mkpipe/mk_unlink have an API that's
       a little unfortunate.  They take a path relative to the rpc_pipefs root and
       thus need to perform a full lookup.  If you look at debugfs or usbfs they
       always store the dentry for directories they created and thus can pass in
       a dentry + single pathname component pair into their equivalents of the
       above functions.
      
       And in fact rpc_pipefs actually stores a dentry for all but one component so
       this change not only simplifies the core rpc_pipe code but also the callers.
      
       Unfortuntately this code path is only used by the NFS4 idmapper and
       AUTH_GSSAPI for which I don't have a test enviroment.  Could someone give
       it a spin?  It's the last bit needed before we can rework the
       lookup_hash API
      Signed-off-by: NChristoph Hellwig <hch@lst.de>
      Signed-off-by: NTrond Myklebust <Trond.Myklebust@netapp.com>
      278c995c
  8. 23 6月, 2005 2 次提交
  9. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4