[LU-10802] mismatch problem for wildcard in jobid TBF Created: 12/Mar/18  Updated: 17/Mar/20  Resolved: 09/Apr/18

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.12.0, Lustre 2.10.4

Type: Bug Priority: Minor
Reporter: Qian Yingjin (Inactive) Assignee: Qian Yingjin (Inactive)
Resolution: Fixed Votes: 0
Labels: patch

Issue Links:
Related
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

One user reported that:

oss#lctl set_param ost.OSS.ost_io.nrs_policies="tbf jobid"
oss#lctl set_param ost.OSS.ost_io.nrs_tbf_rule="start runas jobid={*.500} rate=10"
oss# lctl get_param ost.OSS.ost_io.nrs_tbf_rule
ost.OSS.ost_io.nrs_tbf_rule=
regular_requests:
CPT 0:
runas {*.500} 10, ref 0
default {*} 10000, ref 2
high_priority_requests:
CPT 0:
runas {*.500} 10, ref 0
default {*} 10000, ref 1

------------------------------------------------------------------------------------------------------------

cli#lfs setstripe -c 1 -i 0 /mnt/lustre_2_10/qos/a1
cli#dd if=/dev/zero of=/mnt/lustre_2_10/qos/a1 count=1000 bs=1M
1000+0 records in
1000+0 records out
1048576000 bytes (1.0 GB) copied, 12.2554 s, 85.6 MB/s

The rate is not under control.



 Comments   
Comment by Qian Yingjin (Inactive) [ 12/Mar/18 ]

Patch:

https://review.whamcloud.com/#/c/29162/

Comment by Gerrit Updater [ 09/Apr/18 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/29162/
Subject: LU-10802 nrs: mismatch problem for wildcard in jobid TBF
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 96f5cc0eb36c0bc799016cb3c6f11c3ddf475157

Comment by Peter Jones [ 09/Apr/18 ]

Landed for 2.12

Comment by Gerrit Updater [ 11/Apr/18 ]

Minh Diep (minh.diep@intel.com) uploaded a new patch: https://review.whamcloud.com/31956
Subject: LU-10802 nrs: mismatch problem for wildcard in jobid TBF
Project: fs/lustre-release
Branch: b2_10
Current Patch Set: 1
Commit: 727ee6f31f22d1cca337ce539e56405976d094f6

Comment by Gerrit Updater [ 03/May/18 ]

John L. Hammond (john.hammond@intel.com) merged in patch https://review.whamcloud.com/31956/
Subject: LU-10802 nrs: mismatch problem for wildcard in jobid TBF
Project: fs/lustre-release
Branch: b2_10
Current Patch Set:
Commit: abd7908cf34a592d4b5b144e3c6006d81c54bdbd

Generated at Sat Feb 10 02:38:18 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.