Patrick Mansfield wrote:
That's what scsi_complete_async_scans() is for. If you have a built-in module, it will wait for the async scans to finish before we get as far as trying to mount root. It does change observable behaviour in that sys_module_init() will return before scans are complete.
What are the expected interactions of this code with early userspace aka "kinit" that comes with (soon to be merged) klibc? Does this scsi_complete_async_scans() function get called at all if such "default" initramfs with kinit is used?
The problem is that if it doesn't, kinit will not wait. -- Alexander E. Patrakov - : send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html