]> 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)
commit801a1b135205cb096c49366b0ebe6b820240268f
tree5451fbef57afeabf41a179d8446e463ecdb1d261
parentb4c05c8519928efd37840d9f483bc3d5193f47b7
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.029507 seconds and 5 git commands to generate.