[LU-11849] lfs find ! --projid doesn't work as expected Created: 10/Jan/19  Updated: 01/Apr/19  Resolved: 03/Mar/19

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.13.0, Lustre 2.12.1

Type: Bug Priority: Minor
Reporter: Wang Shilong (Inactive) Assignee: Wang Shilong (Inactive)
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Related
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

Somehow lfs find ! --projid <num> didn't work well and it is very easy to reproduce this:

[root@exa4-1 client]# lfs find --projid 1002 foor
foor/not-project
[root@exa4-1 client]# lfs find ! --projid 1002 foor
foor
foor/2.file
foor/not-project -------------> this should not be outputted here.
foor/4.file
foor/3.file
foor/5.file
foor/1.file
Behavior I would expect would be something like the '--ost' case:
[root@exa4-1 client]# lfs find ! --ost 0 foor
foor/3.file
foor/5.file
foor/1.file
[root@exa4-1 client]# lfs find --ost 0 foor
foor/2.file
foor/not-project
foor/4.file



 Comments   
Comment by Gerrit Updater [ 10/Jan/19 ]

Wang Shilong (wshilong@ddn.com) uploaded a new patch: https://review.whamcloud.com/34005
Subject: LU-11849 utils: fix to make exclude projid works
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: f73087345c5b97e922b611444d36266ee0e1c5c8

Comment by Gerrit Updater [ 03/Mar/19 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/34005/
Subject: LU-11849 utils: fix to make exclude projid works
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: db9965ce33365c2645827b06af21f8f5918ea2bb

Comment by Peter Jones [ 03/Mar/19 ]

Landed for 2.13

Comment by Gerrit Updater [ 12/Mar/19 ]

Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/34407
Subject: LU-11849 utils: fix to make exclude projid works
Project: fs/lustre-release
Branch: b2_12
Current Patch Set: 1
Commit: b2d2d18b2745a08af5487cc525eb75a851d9f4e7

Comment by Gerrit Updater [ 01/Apr/19 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/34407/
Subject: LU-11849 utils: fix to make exclude projid works
Project: fs/lustre-release
Branch: b2_12
Current Patch Set:
Commit: c13b2601e2c437f06a71b208f7e103b3a22c3e1a

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