On Fri, Aug 10, 2018 at 09:44:29AM +0800, Ming wrote:
Which is exactly what an event is for. At the point where the SAS controller driver is currently updating the variable, it can instead call SignalEvent ().
The WaitForDiskReady () function can be changed to wait/check for that event.
As current solution(using variables) have run stable, I prefer don't change SAS driver and this wait function. Is it OK?
You can leave the driver out if you wish, but it cannot go into the 18.08 release with this design.
This is why it is important to publish the code as soon as possible - especially for new platform ports. And to publish bits that are possible earlier, rather than wait and do everything in one go once the whole port is done.
Best Regards,
Leif