]> sourceware.org Git - lvm2.git/commit
Add check for kernel semaphore support and disable udev_sync if not available.
authorPeter Rajnoha <prajnoha@redhat.com>
Tue, 3 Aug 2010 07:56:03 +0000 (07:56 +0000)
committerPeter Rajnoha <prajnoha@redhat.com>
Tue, 3 Aug 2010 07:56:03 +0000 (07:56 +0000)
commitd33d0b01bf102630b7e25fb4cab9ac3d9f3152fe
treede8a23ad9a4ac54df9f8a7d87f5370ffa230adb2
parent4a5195c38afd6382e7fb20a2b11be5cfaad8fa79
Add check for kernel semaphore support and disable udev_sync if not available.

udev_sync feature requires semaphores (part of System V IPC) to be configured
in kernel (CONFIG_SYSVIPC). Check whether it is supported and if not, give
a warning message and disable udev synchronisation code automatically to
avoid any further error states and associated problems.

One should use the kernel with System V IPC support enabled or libdevmapper
with udev_sync feature disabled.
WHATS_NEW_DM
libdm/libdm-common.c
This page took 0.037645 seconds and 5 git commands to generate.