[dm-devel] [PATCH] improve atomicity of device creation

Kay Sievers kay.sievers at vrfy.org
Tue Dec 11 17:35:28 UTC 2007


On Dec 11, 2007 5:08 PM, Scott James Remnant <scott at ubuntu.com> wrote:
> This is a patch we've written and applied in Ubuntu to improve the
> atomicity of devmapper device creation somewhat, and avoid races with
> udev.

Without synchronization between libdevmapper and udev, you can't
predict which one will win in creating the node, right?
So this patch makes is more likely to create a valid device node, but
it can still happen, that libdevmapper replaces the udev nodes, which
is not what we want, right?

Kay




More information about the dm-devel mailing list