[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 |
| Comment by Patrick Farrell [ 07/Feb/24 ] |
|
This was incorrect - this code is actually correct. |