]> 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)
commit6ddb5ecd727efa95098e4647d8d8e0dffd9fbca4
tree6c4dc35b82408a20b41933070ebd7ee6ef35ea65
parent1f661c5dd8ffda9d06df619766d6e9d03db57cb9
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.038389 seconds and 5 git commands to generate.