Details
-
Improvement
-
Resolution: Unresolved
-
Major
-
None
-
Lustre 2.16.0
-
3
-
9223372036854775807
Description
For isolation of workloads across multiple sub-tenants of a filesystem, it would be useful to allow registering an NRS TBF rule for a nodemap. This can be proxied to some extent by setting a TBF rule for a project ID, but this doesn't work if there are multiple project IDs used by a single nodemap.
I will rebase it later.
For your question,
To make NRS TBF so smart to detect the node map changing (adding and removing), maybe we should both name and id of node map into the key of a TBF class. Each matching will compare both name and id of the node map? In the current version and previous version, we only compare one of them (either name, or id), not both.
And the adding/removing node map will change the id, I think. Thus NRS TBF can detect the change during the matching.
However, this means more memory used for each TBF class.