[LU-12621] o2iblnd QP sizing -EINVAL retries Created: 31/Jul/19  Updated: 28/Sep/19  Resolved: 20/Sep/19

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

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

Issue Links:
Related
Rank (Obsolete): 9223372036854775807

 Description   

The logic currently in Lustre that loops reducing the queue sizes is silly.

The ib_query_device() in kiblnd_hdev_get_attr() is done to save off the max_mr_size in the hdev.

The code could save off max_qp_wr and use that cap the send queue calculations to avoid creating a QP above that limit.

 

 

 

 



 Comments   
Comment by Gerrit Updater [ 06/Sep/19 ]

Amir Shehata (ashehata@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/36073
Subject: LU-12621 o2iblnd: cache max_qp_wr
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: e9f6d3c6cddb5a47a1af25b294634c17e3b66214

Comment by Gerrit Updater [ 20/Sep/19 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/36073/
Subject: LU-12621 o2iblnd: cache max_qp_wr
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 7ee319ed7f9dfa365a66b20b03f2141c54fb0293

Comment by Peter Jones [ 20/Sep/19 ]

Landed for 2.13

Comment by Gerrit Updater [ 21/Sep/19 ]

Minh Diep (mdiep@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/36253
Subject: LU-12621 o2iblnd: cache max_qp_wr
Project: fs/lustre-release
Branch: b2_12
Current Patch Set: 1
Commit: e13ff349e6a1a59df377245f27f660de5771e709

Comment by Gerrit Updater [ 28/Sep/19 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/36253/
Subject: LU-12621 o2iblnd: cache max_qp_wr
Project: fs/lustre-release
Branch: b2_12
Current Patch Set:
Commit: 41acf6bdd51c7a015d61f746a82a9155c01d8596

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