[LU-13874] lower than and greater than compare operator support for PCC rule Created: 06/Aug/20  Updated: 06/Aug/20

Status: Open
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Qian Yingjin Assignee: WC Triage
Resolution: Unresolved Votes: 0
Labels: None

Rank (Obsolete): 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}"

Generated at Sat Feb 10 03:04:56 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.