[LU-13881] lower than (<) and greater than (>) compare operator support for PCC rule Created: 06/Aug/20 Updated: 11/Sep/21 |
|
| Status: | Open |
| 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: | Unresolved | 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} 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" |
| Comments |
| Comment by Gerrit Updater [ 06/Aug/20 ] |
|
Yingjin Qian (qian@ddn.com) uploaded a new patch: https://review.whamcloud.com/39585 |