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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.




[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux