[LU-9227] Changing rate of a TBF rule loses control in some testcases Created: 20/Mar/17  Updated: 31/Aug/17  Resolved: 26/Apr/17

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.10.0

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

Issue Links:
Related
is related to LU-3558 NRS TBF policy for QoS purposes Resolved
is related to LU-9140 sanityn test_77j test_77k: The read /... Resolved
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

In the following test cases, changing rate of a TBF rule lose control:

start dd_0 {dd.0} 1000
dd if=/dev/zero of=/mnt/lustre/test bs=1M count=100
start dd_1000 {dd.1000} 1000

After ran above commands, changing rate of dd_0 takes no effect.
The reason is:

starting rule dd_1000 increases the sequence, but the sequence number of the class with id "dd.0" does not change accordingly, resulting in failure of rate change.



 Comments   
Comment by Emoly Liu [ 20/Mar/17 ]

Is this related to LU-9140 ?

Comment by Qian Yingjin (Inactive) [ 20/Mar/17 ]

It is a new bug, I don't think it is related to LU-9140...

Comment by Gerrit Updater [ 20/Mar/17 ]

Yingjin Qian (qian@ddn.com) uploaded a new patch: https://review.whamcloud.com/26085
Subject: LU-9227 nrs: Rate change of a TBF rule loses control
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: c7f9a92ad469f2a27f61aca129dc36f04b979519

Comment by Gerrit Updater [ 26/Apr/17 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/26085/
Subject: LU-9227 nrs: Rate change of a TBF rule loses control
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 3fcefcaafcdbc532109042f993a0f28f7f553cf3

Comment by Peter Jones [ 26/Apr/17 ]

Landed for 2.10

Comment by Gerrit Updater [ 31/Aug/17 ]

Sebastien Buisson (sbuisson@ddn.com) uploaded a new patch: https://review.whamcloud.com/28812
Subject: LU-9227 lustre: record denied OPEN in Changelogs
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 83fb3bc6ce1b44f88157962b0bcf4ef128285610

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