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

lower than (<) and greater than (>) compare operator support for PCC rule

    XMLWordPrintable

Details

    • New Feature
    • Resolution: Unresolved
    • Minor
    • None
    • None
    • None
    • 9223372036854775807

    Description

      There are increasing requirements to add lower than/greater than compare operator for the PCC rules:

      • File data that is larger than local disk capacity should not auto cache in PCC;
      • A range of UID/GID/ProjID could be auto cached on PCC;

      The following rule expressions are supported:

      lctl pcc add /mnt/lustre /mnt/pcc -p "projid=\{100}&size>\{1M}&size<\{500G} roid=5 ropcc=1"
      lctl pcc add /mnt/lustre /mnt/pcc -p "projid>\{100}&projid<\{110} roid=5 ropcc=1"
      lctl pcc add /mnt/lustre /mnt/pcc -p "uid<\{1500}&uid>\{1000} rwid=5"
      

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: