== sanityn test 77vq: mClock: a limit and weight policy needs no reservation ========================================================== 19:03:44 (1788822224) using SAVE_PROJECT_SUPPORTED=0 ost.OSS.ost_io.nrs_policies=mclock projid limit=1 weight=1 ost.OSS.ost_io.nrs_mclock_rule=start lw100 projid={100} limit_rate=100 weight=200 ost.OSS.ost_io.nrs_mclock_rule=start wonly projid={300} weight=300 ost.OSS.ost_io.nrs_mclock_rule= regular_requests: CPT 0: wonly projid={300}, rate 0-max, weight 300, seq 3, type=projid, ref 0 lw100 projid={100}, limit_iops 100, weight 200, seq 2, type=projid, ref 0 default *, limit_iops 10000, weight 100, seq 1, type=projid, ref 0 high_priority_requests: CPT 0: wonly projid={300}, rate 0-max, weight 300, seq 3, type=projid, ref 0 lw100 projid={100}, limit_iops 100, weight 200, seq 2, type=projid, ref 0 default *, limit_iops 10000, weight 100, seq 1, type=projid, ref 0 oleg357-server: error: set_param: setting /sys/kernel/debug/lustre/ost/OSS/ost_io/nrs_mclock_rule=start res100 projid={200} resvd_rate=100: Invalid argument oleg357-server: error: set_param: setting 'ost/OSS/ost_io/nrs_mclock_rule'='start res100 projid={200} resvd_rate=100': Invalid argument pdsh@oleg357-client: oleg357-server: ssh exited with exit code 22 ost.OSS.ost_io.nrs_mclock_rule=change lw100 limit_rate=20 not_under_control: 0 cpu_npartitions on ost1 is 1 Limited write rate: 20, read rate: 20, bs: 1048576 Verify the write rate is under TBF control 100+0 records in 100+0 records out 104857600 bytes (105 MB, 100 MiB) copied, 5.33851 s, 19.6 MB/s Write runtime is 6 s, speed is 16.666666 vs. 20 Verify the read rate is under TBF control 100+0 records in 100+0 records out 104857600 bytes (105 MB, 100 MiB) copied, 5.30724 s, 19.8 MB/s Read runtime is 6 s, speed is 16.666666 vs. 20 cleanup_tbf /mnt/lustre/d77vq.sanityn Waiting for MDT destroys to complete Cleanup TBF ost.OSS.ost_io.nrs_mclock_rule=stop lw100 ost.OSS.ost_io.nrs_mclock_rule=stop wonly ost.OSS.ost_io.nrs_policies=fifo