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

lower than and greater than compare operator support for PCC rule

    XMLWordPrintable

Details

    • New Feature
    • Resolution: Duplicate
    • 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

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: