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. _______________________________________________ linux-lvm mailing list linux-lvm@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/linux-lvm read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/