]> sourceware.org Git - lvm2.git/commit
Change DEFAULT_UDEV_SYNC to 1 so udev_sync is used even without any config.
authorPeter Rajnoha <prajnoha@redhat.com>
Tue, 2 Aug 2011 10:49:57 +0000 (10:49 +0000)
committerPeter Rajnoha <prajnoha@redhat.com>
Tue, 2 Aug 2011 10:49:57 +0000 (10:49 +0000)
commitc212019f3ac76d8b8e3f2afcda45fcf7ca9d9656
tree5451fbef57afeabf41a179d8446e463ecdb1d261
parent3c614ef1c1f636fea8cd4920ebf258a4a90f0fc4
Change DEFAULT_UDEV_SYNC to 1 so udev_sync is used even without any config.

This should be set by default! Normally we have "activation/udev_sync = 1"
in lvm.conf (example.conf.in). But if we use lvm2 without any config file
(or without a definition within '--config' option) the DEFAULT_UDEV_SYNC
is used instead. Together with verify_udev_operations=0 (when we rely on
udev fully), this can cause races as the node could be missing when needed.

(See also https://bugzilla.redhat.com/show_bug.cgi?id=723144)
WHATS_NEW
lib/config/defaults.h
This page took 0.030409 seconds and 5 git commands to generate.