1. 01 Sep, 2011 2 commits
    • J. Bruce Fields's avatar
      nfsd4: eliminate impossible open replay case · fff6ca9c
      J. Bruce Fields authored
      If open fails with any error other than nfserr_replay_me, then the main
      nfsd4_proc_compound() loop continues unconditionally to
      nfsd4_encode_operation(), which will always call encode_seqid_op_tail.
      Thus the condition we check for here does not occur.
      Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
      fff6ca9c
    • J. Bruce Fields's avatar
      nfsd4: extend state lock over seqid replay logic · 5ec094c1
      J. Bruce Fields authored
      There are currently a couple races in the seqid replay code: a
      retransmission could come while we're still encoding the original reply,
      or a new seqid-mutating call could come as we're encoding a replay.
      
      So, extend the state lock over the encoding (both encoding of a replayed
      reply and caching of the original encoded reply).
      
      I really hate doing this, and previously added the stateowner
      reference-counting code to avoid it (which was insufficient)--but I
      don't see a less complicated alternative at the moment.
      Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
      5ec094c1
  2. 31 Aug, 2011 9 commits
  3. 27 Aug, 2011 13 commits
  4. 26 Aug, 2011 7 commits
  5. 19 Aug, 2011 7 commits
  6. 16 Aug, 2011 1 commit
  7. 08 Aug, 2011 1 commit