[LU-17508] calculate extent tax correctly on server Created: 06/Feb/24  Updated: 07/Feb/24

Status: Open
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Patrick Farrell Assignee: Patrick Farrell
Resolution: Unresolved Votes: 0
Labels: None

Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

The grant extent tax is in KiB, not bytes, but the server interprets it as bytes when allocating grant.  This can result in insufficient grant for a client sending writes, especially when the client starts with low (but sufficient) grants, either because the connection is new or because the server has had to shrink the client grant due to low space.  Insufficient grant causes RPCs to be forced to send, fragmenting unnecessarily.



 Comments   
Comment by Gerrit Updater [ 06/Feb/24 ]

"Patrick Farrell <pfarrell@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/53943
Subject: LU-17508 tgt: use extent tax correctly on server
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: d1061e84a032eca53ac54c4deb58d606e3c69577

Comment by Patrick Farrell [ 07/Feb/24 ]

This was incorrect - this code is actually correct.

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