1. 21 10月, 2006 1 次提交
  2. 06 10月, 2006 1 次提交
    • N
      [PATCH] knfsd: tidy up up meaning of 'buffer size' in nfsd/sunrpc · c6b0a9f8
      NeilBrown 提交于
      There is some confusion about the meaning of 'bufsz' for a sunrpc server.
      In some cases it is the largest message that can be sent or received.  In
      other cases it is the largest 'payload' that can be included in a NFS
      message.
      
      In either case, it is not possible for both the request and the reply to be
      this large.  One of the request or reply may only be one page long, which
      fits nicely with NFS.
      
      So we remove 'bufsz' and replace it with two numbers: 'max_payload' and
      'max_mesg'.  Max_payload is the size that the server requests.  It is used
      by the server to check the max size allowed on a particular connection:
      depending on the protocol a lower limit might be used.
      
      max_mesg is the largest single message that can be sent or received.  It is
      calculated as the max_payload, rounded up to a multiple of PAGE_SIZE, and
      with PAGE_SIZE added to overhead.  Only one of the request and reply may be
      this size.  The other must be at most one page.
      
      Cc: Greg Banks <gnb@sgi.com>
      Cc: "J. Bruce Fields" <bfields@fieldses.org>
      Signed-off-by: NNeil Brown <neilb@suse.de>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      c6b0a9f8
  3. 04 10月, 2006 2 次提交
  4. 02 10月, 2006 10 次提交
  5. 01 7月, 2006 1 次提交
  6. 24 3月, 2006 1 次提交
  7. 02 2月, 2006 1 次提交
  8. 07 11月, 2005 2 次提交
  9. 18 8月, 2005 1 次提交
    • S
      [PATCH] nfsd to unlock kernel before exiting · c4f92dba
      Steven Rostedt 提交于
      The nfsd holds the big kernel lock upon exit, when it really shouldn't.
      Not to mention that this breaks Ingo's RT patch. This is a trivial fix
      to release the lock.
      
      Ingo, this patch also works with your kernel, and stops the problem with
      nfsd.
      
      Note, there's a "goto out;" where "out:" is right above svc_exit_thread.
      The point of the goto also holds the kernel_lock, so I don't see any
      problem here in releasing it.
      Signed-off-by: NSteven Rostedt <rostedt@goodmis.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      c4f92dba
  10. 24 6月, 2005 1 次提交
  11. 23 6月, 2005 2 次提交
  12. 17 4月, 2005 2 次提交