[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: |
|
||||||||
| 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 |
| 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/ |
| Comment by Peter Jones [ 10/Oct/21 ] |
|
Landed for 2.15 |