Re: [PATCH] xen blkfront: Delay wait for block devices until afterthe disk is added.

From: Jeremy Fitzhardinge
Date: Fri Mar 21 2008 - 00:21:39 EST


Mark McLoughlin wrote:
From: Christian Limpach <Christian.Limpach@xxxxxxxxxxxxx>

When the xen block frontend driver is built as a module the module load
is only synchronous up to the point where the frontend and the backend
become connected rather than when the disk is added.

This means that there can be a race on boot between loading the module and
loading the dm-* modules and doing the scan for LVM physical volumes (all
in the initrd). In the failure case the disk is not present until after the
scan for physical volumes is complete.

Thanks, I've queued this.

J
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/