[LU-8272] Use granted extent tree to update kms Created: 14/Jun/16 Updated: 17/Dec/16 Resolved: 17/Dec/16 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.10.0 |
| Type: | Improvement | Priority: | Major |
| Reporter: | Patrick Farrell (Inactive) | Assignee: | WC Triage |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | patch | ||
| Rank (Obsolete): | 9223372036854775807 |
| Description |
|
Currently, ldlm_extent_shift_kms does a linear search of When cleaning up all locks on a resource, we end up doing For resources with thousands of locks, this can take This can be avoided by using the binary trees which store Note that there are multiple trees, one for each lock mode. |
| Comments |
| Comment by Gerrit Updater [ 14/Jun/16 ] |
|
Patrick Farrell (paf@cray.com) uploaded a new patch: http://review.whamcloud.com/20779 |
| Comment by Gerrit Updater [ 17/Dec/16 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/20779/ |
| Comment by Peter Jones [ 17/Dec/16 ] |
|
Landed for 2.10 |