[LU-14801] Improve the performance of "lfs find -perm" by checking on the MDT Created: 30/Jun/21  Updated: 10/Oct/21  Resolved: 10/Oct/21

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.15.0
Fix Version/s: Lustre 2.15.0

Type: Improvement Priority: Minor
Reporter: Guillaume Courrier Assignee: Guillaume Courrier
Resolution: Fixed Votes: 0
Labels: easy, lfs

Issue Links:
Blocker
is blocking LU-11188 Add to "lfs find" the ability to chec... Resolved
Rank (Obsolete): 9223372036854775807

 Description   

The current implementation of the "-perm" predicate for "lfs find" asks the OST for the permissions of the file. This is not necessary as this information is already available on the MDT.



 Comments   
Comment by Gerrit Updater [ 30/Jun/21 ]

Guillaume Courrier (guillaume.courrier@cea.fr) uploaded a new patch: https://review.whamcloud.com/44118
Subject: LU-14801: Improve the performance of "lfs find -perm"
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 32d197ef5e27575ec7d8592e58e092182df1d06a

Comment by Guillaume Courrier [ 30/Jun/21 ]

We have noticed some performance issue related to the fact that the code was checking the permissions on the OST instead of the MDT. This new version should solve this issue.

 

Comment by Gerrit Updater [ 10/Oct/21 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/44118/
Subject: LU-14801: utils: improve performance of 'lfs find -perm'
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 8c2d87037d4b761428ddad076e296ee05c85cc52

Comment by Peter Jones [ 10/Oct/21 ]

Landed for 2.15

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