mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
udev: fix 3min udev timeout so that it is applied for all LVM volumes
The timeout should be set before any volume skipping.
This commit is contained in:
parent
b4637bd298
commit
e4c7236c07
@ -1,5 +1,6 @@
|
||||
Version 2.02.103 -
|
||||
======================================
|
||||
Fix 3min udev timeout so that it is applied for all LVM volumes.
|
||||
Fix RAID calculation for sufficient allocatable space.
|
||||
Conversion from linear to mirror or RAID1 now honors mirror_segtype_default.
|
||||
Add thin-performance configuration profile.
|
||||
|
@ -22,6 +22,8 @@ IMPORT{program}="(DM_EXEC)/dmsetup splitname --nameprefixes --noheadings --rows
|
||||
|
||||
ENV{DM_UDEV_DISABLE_SUBSYSTEM_RULES_FLAG}=="1", GOTO="lvm_end"
|
||||
|
||||
OPTIONS+="event_timeout=180"
|
||||
|
||||
# Do not create symlinks for inappropriate subdevices.
|
||||
ENV{DM_LV_NAME}=="pvmove?*|?*_vorigin", GOTO="lvm_disable"
|
||||
ENV{DM_LV_LAYER}=="?*", GOTO="lvm_disable"
|
||||
@ -29,8 +31,6 @@ ENV{DM_LV_LAYER}=="?*", GOTO="lvm_disable"
|
||||
# Create symlinks for top-level devices only.
|
||||
ENV{DM_VG_NAME}=="?*", ENV{DM_LV_NAME}=="?*", SYMLINK+="$env{DM_VG_NAME}/$env{DM_LV_NAME}", GOTO="lvm_end"
|
||||
|
||||
OPTIONS+="event_timeout=180"
|
||||
|
||||
LABEL="lvm_disable"
|
||||
ENV{DM_UDEV_DISABLE_DISK_RULES_FLAG}="1"
|
||||
ENV{DM_UDEV_DISABLE_OTHER_RULES_FLAG}="1"
|
||||
|
Loading…
Reference in New Issue
Block a user