]> sourceware.org Git - lvm2.git/commit
Set appropriate udev flags for reserved LVs.
authorPeter Rajnoha <prajnoha@redhat.com>
Fri, 23 Apr 2010 14:16:32 +0000 (14:16 +0000)
committerPeter Rajnoha <prajnoha@redhat.com>
Fri, 23 Apr 2010 14:16:32 +0000 (14:16 +0000)
commit205ca4f8a701f6f2b0ea22c29c75d19be756914d
tree6c4dc35b82408a20b41933070ebd7ee6ef35ea65
parent4a76f5c764694d7929ef043ec27b32565858cb40
Set appropriate udev flags for reserved LVs.

There's no need for foreign udev rules to touch LVM reserved devices
(snapshot, pvmove, _mlog, _mimage, _vorigin) even if they happen to
be visible. The same applies for /dev/disk content - no need to create
any content for these devices (and so no need to run any "blkid" etc.).
This also prevents setting any inotify "watch" from udev rules on such
devices that is a source of race conditions (the rules need to honor
DM_UDEV_DISABLE_OTHER_RULES_FLAG for this to work though).
WHATS_NEW
lib/activate/dev_manager.c
lib/misc/lvm-string.c
lib/misc/lvm-string.h
tools/toollib.c
This page took 0.031147 seconds and 5 git commands to generate.