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

lower than and greater than compare operator support for PCC rule

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • None
    • None
    • 9223372036854775807

      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}"
      lctl pcc add /mnt/lustre /mnt/pcc -p "projid>\{100}&projid<\{110}"
      lctl pcc add /mnt/lustre /mnt/pcc -p "uid<\{1500}&uid>\{1000}"
      

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

              Created:
              Updated:
              Resolved: