[LU-12443] sanity test_271f: @@@@@@ FAIL: expect 1 READ RPC, occured Created: 17/Jun/19  Updated: 07/Feb/21  Resolved: 16/Sep/19

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.13.0

Type: Bug Priority: Major
Reporter: Mikhail Pershin Assignee: Mikhail Pershin
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Related
is related to LU-13593 Fix growing message buffer Resolved
Severity: 3
Rank (Obsolete): 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.



 Comments   
Comment by Mikhail Pershin [ 17/Jun/19 ]

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.

Comment by Gerrit Updater [ 17/Jun/19 ]

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

Comment by Gerrit Updater [ 16/Sep/19 ]

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

Comment by Peter Jones [ 16/Sep/19 ]

Landed for 2.13

Generated at Sat Feb 10 02:52:38 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.