[LU-13866] lower than and greater than compare operator support for PCC rule Created: 06/Aug/20 Updated: 01/May/23 Resolved: 01/May/23 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | New Feature | Priority: | Minor |
| Reporter: | Qian Yingjin | Assignee: | Qian Yingjin |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||
| Description |
|
There are increasing requirements to add lower than/greater than compare operator for the PCC rules:
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}" |