[bug report] blktests nvme/047 failed due to /dev/nvme0n1 not created in time

Shinichiro Kawasaki shinichiro.kawasaki at wdc.com
Thu Aug 10 18:26:19 PDT 2023


On Aug 10, 2023 / 22:38, Yi Zhang wrote:
> On Thu, Aug 10, 2023 at 8:51 PM Shinichiro Kawasaki
[...]
> > Having said that, the fix above does not look the best. As discussed in another
> > e-mail, _find_nvme_dev() just does 1 second wait, and it actually does not check
> > readiness of the device. This needs fix. Also I think the check and wait should
> > move from _find_nvme_dev()to _nvme_connect_subsys(). Could you try the patch
> 
> Yeah, move to _nvme_connect_subsys looks more reasonable.
> 
> > below and see if it avoid the failure?
> 
> This change works well :)

Thanks for the confirmation. I've posted it as a formal patch.


More information about the Linux-nvme mailing list