mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
ed30145f4a
On modern systems udev manages nodes in /dev/mapper directory. It creates, deletes and renames the nodes according to the state of the kernel driver. When the dmsetup is compiled without udev support (--enable-udev_sync) and runs on the system with running udevd it tries to manage nodes in /dev/mapper too, so it can race with udev. dmsetup checks if the node was created/deleted/renamed with the stat syscall, and skips the operation if it was. However, if udev creates/deletes/renames the node after the stat syscall and before the mknod/unlink/rename syscall, dmsetup reports an error. Since in the system everything happened as expected, skip reporting error for such case. These races can be easily provoked by inserting sleep at appropriate places. Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> |
||
---|---|---|
.. | ||
datastruct | ||
ioctl | ||
misc | ||
mm | ||
regex | ||
.exported_symbols | ||
libdevmapper.h | ||
libdevmapper.pc.in | ||
libdm-common.c | ||
libdm-common.h | ||
libdm-config.c | ||
libdm-deptree.c | ||
libdm-file.c | ||
libdm-report.c | ||
libdm-string.c | ||
Makefile.in |