[LU-16184] o2iblnd: set TX deadline when adding to peer queue Created: 23/Sep/22  Updated: 22/Jun/23  Resolved: 10/Oct/22

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

Type: Bug Priority: Minor
Reporter: Serguei Smirnov Assignee: Serguei Smirnov
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Related
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

In o2iblnd, deadline is checked for txs on peer queue (ibp_tx_queue), but not set prior to adding the tx to the queue. This may cause the tx to be dropped unnecessarily with "Timed out tx for ... seconds ..." warning.

Make sure the deadline is set when adding tx to peer queue in order to avoid this problem.



 Comments   
Comment by Gerrit Updater [ 23/Sep/22 ]

"Serguei Smirnov <ssmirnov@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/48640
Subject: LU-16184 o2iblnd: fix deadline for tx on peer queue
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 1e618c0e0c6a0721ff54b22f3dd38fb5d4533da6

Comment by Gerrit Updater [ 10/Oct/22 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/48640/
Subject: LU-16184 o2iblnd: fix deadline for tx on peer queue
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 4c89ee7d7b098c7f1e6566f49fa2940db577518d

Comment by Peter Jones [ 10/Oct/22 ]

Landed for 2.16

Comment by Gerrit Updater [ 21/Oct/22 ]

"Serguei Smirnov <ssmirnov@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/48926
Subject: LU-16184 o2iblnd: fix deadline for tx on peer queue
Project: fs/lustre-release
Branch: b2_12
Current Patch Set: 1
Commit: 6b564c19884d1f80218e8a88f723d97455ddcbc3

Generated at Sat Feb 10 03:24:46 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.