Re: [PATCH RFC] scsi: wait sd probing in manual scan

2017-05-03 Thread Bart Van Assche
On Fri, 2017-04-28 at 15:48 +0800, Peng Tao wrote: > We have a guest init programe trying to mount a device after doing scsi host > scan > at boot time. Occasionally it fails to find the device when mounting. After > digging > a bit, it seems the root cause is sd async_schedule probing. > >

[PATCH RFC] scsi: wait sd probing in manual scan

2017-04-28 Thread Peng Tao
We have a guest init programe trying to mount a device after doing scsi host scan at boot time. Occasionally it fails to find the device when mounting. After digging a bit, it seems the root cause is sd async_schedule probing. With async probing, there is no guarantee of device readiness when