-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Speed up ScanVGs by only scanning PVs and LVs at most once.
Instead of making calls to ScanPVs and ScanLVs when walking the response from ScanVGs, we only do those once. The ScanPV call is very slow if there are a lot of block devices (including lvm block devices). Overall, this results in considerable speedup. | vm | hardware with-change | 1.22 | 1.35 without | 1.74 | 2.99 They're by no means scientific numbers, but it is a considerable win.
- Loading branch information
1 parent
d2eda4f
commit 6591a09
Showing
1 changed file
with
44 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters