Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-12443

sanity test_271f: @@@@@@ FAIL: expect 1 READ RPC, occured

Details

    • Bug
    • Resolution: Fixed
    • Major
    • Lustre 2.13.0
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      Test failure shows that read-on-open happens in case when it shouldn't. The reason is bigger reply buffer than test expects.

      Attachments

        Issue Links

          Activity

            [LU-12443] sanity test_271f: @@@@@@ FAIL: expect 1 READ RPC, occured
            pjones Peter Jones added a comment -

            Landed for 2.13

            pjones Peter Jones added a comment - Landed for 2.13

            Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35243/
            Subject: LU-12443 ptlrpc: fix reply buffers shrinking and growing
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: cedbb25e984ceb85a66bc5a315fbfa05c5bcb423

            gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35243/ Subject: LU-12443 ptlrpc: fix reply buffers shrinking and growing Project: fs/lustre-release Branch: master Current Patch Set: Commit: cedbb25e984ceb85a66bc5a315fbfa05c5bcb423

            Mike Pershin (mpershin@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/35243
            Subject: LU-12443 ptlrpc: fix reply buffers shrinking and growing
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 93e651fc6eda1aa5c946926f45dc7d787ce7da1a

            gerrit Gerrit Updater added a comment - Mike Pershin (mpershin@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/35243 Subject: LU-12443 ptlrpc: fix reply buffers shrinking and growing Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 93e651fc6eda1aa5c946926f45dc7d787ce7da1a

            With new OPEN intent buffer for SECCTX, total allocated reply size become 256K, while test expect it be smaller, this is to be fixed in test script. Meanwhile the log analysis shows that server may also return bigger buffer back causing buffer re-allocation and resend from client. The problem is req_capsule_server_grow() being called after req_capsule_shrink(), it uses non-updated buffer lengths and pack bigger reply than needed.

            tappro Mikhail Pershin added a comment - With new OPEN intent buffer for SECCTX, total allocated reply size become 256K, while test expect it be smaller, this is to be fixed in test script. Meanwhile the log analysis shows that server may also return bigger buffer back causing buffer re-allocation and resend from client. The problem is req_capsule_server_grow() being called after req_capsule_shrink(), it uses non-updated buffer lengths and pack bigger reply than needed.

            People

              tappro Mikhail Pershin
              tappro Mikhail Pershin
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: