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

lower than and greater than compare operator support for PCC rule

    XMLWordPrintable

Details

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

      Attachments

        Activity

          People

            wc-triage WC Triage
            qian_wc Qian Yingjin
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: