An error occurred fetching the project authors.
  1. 18 May, 2021 11 commits
  2. 20 Apr, 2021 1 commit
  3. 19 Apr, 2021 4 commits
  4. 16 Apr, 2021 1 commit
    • J. Bruce Fields's avatar
      nfsd: ensure new clients break delegations · 217fd6f6
      J. Bruce Fields authored
      If nfsd already has an open file that it plans to use for IO from
      another, it may not need to do another vfs open, but it still may need
      to break any delegations in case the existing opens are for another
      client.
      
      Symptoms are that we may incorrectly fail to break a delegation on a
      write open from a different client, when the delegation-holding client
      already has a write open.
      
      Fixes: 28df3d15 ("nfsd: clients don't need to break their own delegations")
      Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
      Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
      217fd6f6
  5. 15 Apr, 2021 1 commit
  6. 22 Mar, 2021 4 commits
  7. 09 Mar, 2021 2 commits
  8. 06 Mar, 2021 1 commit
  9. 28 Jan, 2021 3 commits
  10. 25 Jan, 2021 6 commits
  11. 09 Dec, 2020 1 commit
    • Dai Ngo's avatar
      NFSD: Fix 5 seconds delay when doing inter server copy · ca9364dd
      Dai Ngo authored
      Since commit b4868b44 ("NFSv4: Wait for stateid updates after
      CLOSE/OPEN_DOWNGRADE"), every inter server copy operation suffers 5
      seconds delay regardless of the size of the copy. The delay is from
      nfs_set_open_stateid_locked when the check by nfs_stateid_is_sequential
      fails because the seqid in both nfs4_state and nfs4_stateid are 0.
      
      Fix by modifying nfs4_init_cp_state to return the stateid with seqid 1
      instead of 0. This is also to conform with section 4.8 of RFC 7862.
      
      Here is the relevant paragraph from section 4.8 of RFC 7862:
      
         A copy offload stateid's seqid MUST NOT be zero.  In the context of a
         copy offload operation, it is inappropriate to indicate "the most
         recent copy offload operation" using a stateid with a seqid of zero
         (see Section 8.2.2 of [RFC5661]).  It is inappropriate because the
         stateid refers to internal state in the server and there may be
         several asynchronous COPY operations being performed in parallel on
         the same file by the server.  Therefore, a copy offload stateid with
         a seqid of zero MUST be considered invalid.
      
      Fixes: ce0887ac ("NFSD add nfs4 inter ssc to nfsd4_copy")
      Signed-off-by: default avatarDai Ngo <dai.ngo@oracle.com>
      Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
      ca9364dd
  12. 30 Nov, 2020 1 commit
  13. 16 Oct, 2020 1 commit
  14. 25 Sep, 2020 3 commits