Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-18509

TBF: define a rule with a range of PROJID/UID/GID values

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 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"

            qian_wc Qian Yingjin
            qian_wc Qian Yingjin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: