[LU-10449] TBF policy can't be set correctly Created: 03/Jan/18  Updated: 09/Apr/18  Resolved: 22/Feb/18

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

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

Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

The issue can be reproduced easily by the following steps:

$ lctl set_param ost.OSS.ost_io.nrs_policies="tbf nid"
$ lctl set_param ost.OSS.ost_io.nrs_policies="tbf"
lctl get_param ost.OSS.ost_io.nrs_policies
ost.OSS.ost_io.nrs_policies=

regular_requests:
 ...
  - name: tbf nid
    state: started
    fallback: no
    queued: 0                   
    active: 0                   
 ...
high_priority_requests:
...
  - name: tbf nid
    state: started
    fallback: no
    queued: 0                   
    active: 0                   
...

Generic "tbf" police can't be set correctly after setting "tbf <rule>".



 Comments   
Comment by Gerrit Updater [ 03/Jan/18 ]

Yingjin Qian (qian@ddn.com) uploaded a new patch: https://review.whamcloud.com/30696
Subject: LU-10449 nrs: Generic TBF policy can't be shown correctly
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 6c7419565167c6b69bc6af8e0d3443dc684bfecf

Comment by Gerrit Updater [ 22/Feb/18 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/30696/
Subject: LU-10449 nrs: Generic TBF policy can't be shown correctly
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 613f9cb553106316422db40e7f88baccf0438893

Comment by Peter Jones [ 22/Feb/18 ]

Landed for 2.11

Comment by Gerrit Updater [ 23/Feb/18 ]

Minh Diep (minh.diep@intel.com) uploaded a new patch: https://review.whamcloud.com/31397
Subject: LU-10449 nrs: Generic TBF policy can't be shown correctly
Project: fs/lustre-release
Branch: b2_10
Current Patch Set: 1
Commit: 0755762ec461b473d9d7985237f7cf2931ad13ae

Comment by Gerrit Updater [ 05/Apr/18 ]

John L. Hammond (john.hammond@intel.com) merged in patch https://review.whamcloud.com/31397/
Subject: LU-10449 nrs: Generic TBF policy can't be shown correctly
Project: fs/lustre-release
Branch: b2_10
Current Patch Set:
Commit: e797705545f66e5a6510f59aca2a637fc8b27f5d

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