[LU-14392] gnilnd: re-enable large I/o buffers Created: 31/Jan/21  Updated: 13/Dec/21  Resolved: 13/Dec/21

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

Type: Bug Priority: Minor
Reporter: Shaun Tancheff Assignee: Shaun Tancheff
Resolution: Fixed Votes: 0
Labels: None

Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

Currently contiguous memory in lnet_md_build() is split into pages for described by an array of bio_vec entries.
Previously DVS would pass large buffers (~2.5M) through lnet (via gnilnd) as a single iovec entry. However this now (indirectly) breaks the 1M handshake of LNET_MAX_IOV being 256 (1 page of bio_vec) which is enforced in parts of LNet.
Here we make a new GNILND_MAX_IOV with a 4M i/o maximum and pass a hint through that LNet should accept the large buffer w/o complaint.



 Comments   
Comment by Gerrit Updater [ 31/Jan/21 ]

Shaun Tancheff (shaun.tancheff@hpe.com) uploaded a new patch: https://review.whamcloud.com/41373
Subject: LU-14392 gnilnd: re-enable large I/o buffers
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 0cc799e7c9df42dbf310a3b865d666ca5af1ae1e

Comment by Gerrit Updater [ 13/Dec/21 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/41373/
Subject: LU-14392 gnilnd: re-enable large I/o buffers
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: b5166e5fe1409a8467f02d4cfec127aa8be4753c

Comment by Peter Jones [ 13/Dec/21 ]

Landed for 2.15

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