[linux-lvm] system boot time regression when using lvm2-2.03.05
teigland at redhat.com
Thu Sep 5 16:55:19 UTC 2019
On Thu, Sep 05, 2019 at 12:35:53PM +0000, Heming Zhao wrote:
> In pvscan_cache_cmd, the code in below area "#if 0 .. #endif take a huge
> time. When I used below modified code to boot, the time reduced from
> 1min to 1.389s.
That stops the command from doing any work. I suspect that in your tests,
the "fast" case is not doing any activation, and the "slow" case is.
Please check where the LVs are being activated in the fast case.
More information about the linux-lvm