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

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

Details

    • New Feature
    • Resolution: Fixed
    • Minor
    • Lustre 2.16.0
    • 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

            [LU-13881] lower than (<) and greater than (>) compare operator support for PCC rule
            pjones Peter Jones added a comment -

            Merged for 2.16

            pjones Peter Jones added a comment - Merged for 2.16

            "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/39585/
            Subject: LU-13881 pcc: comparator support for PCC rules
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 3835f4d31e6f0cad8a9fca989f056dde018a1f06

            gerrit Gerrit Updater added a comment - "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/39585/ Subject: LU-13881 pcc: comparator support for PCC rules Project: fs/lustre-release Branch: master Current Patch Set: Commit: 3835f4d31e6f0cad8a9fca989f056dde018a1f06

            Yingjin Qian (qian@ddn.com) uploaded a new patch: https://review.whamcloud.com/39585
            Subject: LU-13881 pcc: comparator support for PCC rules
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 8a5a2778af0877ec678ecdb0ed86ea7c97aa5913

            gerrit Gerrit Updater added a comment - Yingjin Qian (qian@ddn.com) uploaded a new patch: https://review.whamcloud.com/39585 Subject: LU-13881 pcc: comparator support for PCC rules Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 8a5a2778af0877ec678ecdb0ed86ea7c97aa5913

            People

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

              Dates

                Created:
                Updated:
                Resolved: