[LU-10682] o2iblnd txs can be dropped silently Created: 20/Feb/18  Updated: 09/Apr/18  Resolved: 03/Mar/18

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.11.0, Lustre 2.10.4

Type: Bug Priority: Major
Reporter: Amir Shehata (Inactive) Assignee: Amir Shehata (Inactive)
Resolution: Fixed Votes: 0
Labels: None

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

 Description   
2256 »·······/* grab pending txs while I have the lock */
2257 »·······list_add(&txs, &peer_ni->ibp_tx_queue);
2258 »·······list_del_init(&peer_ni->ibp_tx_queue);

This code is erroneous. We should be moving all the transmits on peer_ni->ibp_tx_queue to the local txs variable then we afterward we iterate through them and send any pending txs.

However currently these txs are simply dropped. We should be using list_splice()



 Comments   
Comment by Gerrit Updater [ 22/Feb/18 ]

Amir Shehata (amir.shehata@intel.com) uploaded a new patch: https://review.whamcloud.com/31374
Subject: LU-10682 lnd: pending transmits dropped silently
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: fcd33574c384665e0ce6826820aff446268caa32

Comment by Gerrit Updater [ 03/Mar/18 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/31374/
Subject: LU-10682 lnd: pending transmits dropped silently
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: f5c6228f0351787aefb76cb8f807eede3371ea2e

Comment by Peter Jones [ 03/Mar/18 ]

Landed for 2.11

Comment by Gerrit Updater [ 05/Mar/18 ]

Minh Diep (minh.diep@intel.com) uploaded a new patch: https://review.whamcloud.com/31520
Subject: LU-10682 lnd: pending transmits dropped silently
Project: fs/lustre-release
Branch: b2_10
Current Patch Set: 1
Commit: 43fd133e6c38199eebb49c2a8c5f5b2febc81f9e

Comment by Gerrit Updater [ 05/Apr/18 ]

John L. Hammond (john.hammond@intel.com) merged in patch https://review.whamcloud.com/31520/
Subject: LU-10682 lnd: pending transmits dropped silently
Project: fs/lustre-release
Branch: b2_10
Current Patch Set:
Commit: cfe31e7b2dc68bad1175d313c05e1aaa4d519c86

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