1. 26 4月, 2013 1 次提交
    • J
      Merge Trond's nfs-for-next · c85b03ab
      J. Bruce Fields 提交于
      Merging Trond's nfs-for-next branch, mainly to get
      b7993ceb "SUNRPC: Allow rpc_create() to
      request that TCP slots be unlimited", which a small piece of the
      gss-proxy work depends on.
      c85b03ab
  2. 24 4月, 2013 1 次提交
  3. 22 4月, 2013 2 次提交
  4. 20 4月, 2013 3 次提交
  5. 17 4月, 2013 3 次提交
  6. 16 4月, 2013 2 次提交
  7. 15 4月, 2013 3 次提交
  8. 13 4月, 2013 1 次提交
  9. 11 4月, 2013 2 次提交
  10. 10 4月, 2013 4 次提交
  11. 09 4月, 2013 9 次提交
  12. 08 4月, 2013 1 次提交
    • J
      nfsd4: cleanup handling of nfsv4.0 closed stateid's · 9411b1d4
      J. Bruce Fields 提交于
      Closed stateid's are kept around a little while to handle close replays
      in the 4.0 case.  So we stash them in the last-used stateid in the
      oo_last_closed_stateid field of the open owner.  We can free that in
      encode_seqid_op_tail once the seqid on the open owner is next
      incremented.  But we don't want to do that on the close itself; so we
      set NFS4_OO_PURGE_CLOSE flag set on the open owner, skip freeing it the
      first time through encode_seqid_op_tail, then when we see that flag set
      next time we free it.
      
      This is unnecessarily baroque.
      
      Instead, just move the logic that increments the seqid out of the xdr
      code and into the operation code itself.
      
      The justification given for the current placement is that we need to
      wait till the last minute to be sure we know whether the status is a
      sequence-id-mutating error or not, but examination of the code shows
      that can't actually happen.
      Reported-by: NYanchuan Nian <ycnian@gmail.com>
      Tested-by: NYanchuan Nian <ycnian@gmail.com>
      Signed-off-by: NJ. Bruce Fields <bfields@redhat.com>
      9411b1d4
  13. 06 4月, 2013 8 次提交