1. 07 3月, 2010 2 次提交
    • J
      nfsd4: simplify lease/grace interaction · e46b498c
      J. Bruce Fields 提交于
      The original code here assumed we'd allow the user to change the lease
      any time, but only allow the change to take effect on restart.  Since
      then we modified the code to allow setting the lease on when the server
      is down.  Update the rest of the code to reflect that fact, clarify
      variable names, and add document.
      
      Also, the code insisted that the grace period always be the longer of
      the old and new lease periods, but that's overly conservative--as long
      as it lasts at least the old lease period, old clients should still know
      to recover in time.
      Signed-off-by: NJ. Bruce Fields <bfields@citi.umich.edu>
      e46b498c
    • J
      nfsd4: simplify references to nfsd4 lease time · cf07d2ea
      J. Bruce Fields 提交于
      Instead of accessing the lease time directly, some users call
      nfs4_lease_time(), and some a macro, NFSD_LEASE_TIME, defined as
      nfs4_lease_time().  Neither layer of indirection serves any purpose.
      Signed-off-by: NJ. Bruce Fields <bfields@citi.umich.edu>
      cf07d2ea
  2. 05 3月, 2010 1 次提交
  3. 04 3月, 2010 1 次提交
  4. 03 3月, 2010 1 次提交
  5. 01 3月, 2010 3 次提交
  6. 27 2月, 2010 2 次提交
    • N
      sunrpc: remove unnecessary svc_xprt_put · ab1b18f7
      Neil Brown 提交于
      The 'struct svc_deferred_req's on the xpt_deferred queue do not
      own a reference to the owning xprt.  This is seen in svc_revisit
      which is where things are added to this queue.  dr->xprt is set to
      NULL and the reference to the xprt it put.
      
      So when this list is cleaned up in svc_delete_xprt, we mustn't
      put the reference.
      
      Also, replace the 'for' with a 'while' which is arguably
      simpler and more likely to compile efficiently.
      
      Cc: Tom Tucker <tom@opengridcomputing.com>
      Signed-off-by: NNeilBrown <neilb@suse.de>
      Cc: stable@kernel.org
      Signed-off-by: NJ. Bruce Fields <bfields@citi.umich.edu>
      ab1b18f7
    • A
      Merge branch 'linux-2.6.33' · 398007f8
      Alex Elder 提交于
      398007f8
  7. 25 2月, 2010 5 次提交
  8. 24 2月, 2010 9 次提交
  9. 23 2月, 2010 16 次提交