Hi Yi Zhang, thanks for testing the patches. Can you provide more info on the time it took with both kernels ?The patches don't intend to decrease this time but re-start the KA in early stage - as soon as we create the AQ.
Still not sure why this addresses the problem, because every io queue connect should reset the keep alive timer in the target. But if at all, just move the keep alive start to nvme_init_ctrl_finish don't expose it to drivers...