ExportXMLWordPrintable

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Minor
    • None
    • Affects Version/s: None
    • None
    • 3
    • 9223372036854775807

      Define a rule with a range of PROJID/UID/GID values with '<', '>', ">=", "<=" comparator.

       

      The following rules are valid:

      $LCTL set_param ost.OSS.ost_io.nrs_policies="tbf\ projid" \
                      ost.OSS.ost_io.nrs_tbf_rule="start\ ext_rw\ projid\>={100}\&projid\<{200}\ rate=20"
      
      lctl set_param ost.OSS.ost_io.nrs_policies="tbf\ projid+opcode" \
                              ost.OSS.ost_io.nrs_tbf_rule="start\ ext_w\ projid\>={100}\&projid\<{200}\&opcode={ost_write}\ rate=20" \
                              ost.OSS.ost_io.nrs_tbf_rule="start\ ext_r\ projid\>={100}\&projid\<{200}\&opcode={ost_read}\ rate=10"

            Assignee:
            Qian Yingjin
            Reporter:
            Qian Yingjin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: