[LU-12228] lfs find negative options Created: 26/Apr/19  Updated: 26/Apr/19

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

Type: Improvement Priority: Minor
Reporter: Vitaly Fertman Assignee: WC Triage
Resolution: Unresolved Votes: 0
Labels: None

Rank (Obsolete): 9223372036854775807

 Description   

while checking for lfs find parameters of a PFL file, if at least 1 component matches then the file matches.

however negation of it is !(at least 1 component matches) = no one component matches,
i.e. not "at least one component does not match” - what is checked now in some cases now.

e.g. having stripe size 1M, 2M for 2 components and searching:
> lfs find ! -S 2M /mnt/lustre
this file should not be found.

presumably all the fp_exclude_* options are involved which are passed to find_value_cmp.


Generated at Sat Feb 10 02:50:45 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.