[LU-17167] 'nrs_tbf_client' is badly named Created: 04/Oct/23  Updated: 04/Oct/23

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

Type: Improvement Priority: Minor
Reporter: Andreas Dilger Assignee: Etienne Aujames
Resolution: Unresolved Votes: 0
Labels: None

Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

The nrs_tbf_client structure is badly named. This might have represented the state of a single client for the original TBF implementation that was a node-based rate, but it no longer makes sense for the current TBF implementation that may have rate limits for UID/GID/JobID, etc.

It would be better to rename this as nrs_tbf_class or similar, and use "ntc" as the variable name instead of "cli".

There are also a number of functions related to this, like "nrs_tbf_cli_init()" that also need to be renamed.


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