lvm2/bug-1185190_02-config-improve-description-for-event_activation.patch
Gang He b226ee2e0d Accepting request 887913 from home:hmzhao:branches:openSUSE:Factory
- Honor lvm.conf event_activation=0 on "pvscan --cache -aay" (bsc#1185190)
  + bug-1185190_01-pvscan-support-disabled-event_activation.patch
  + bug-1185190_02-config-improve-description-for-event_activation.patch

OBS-URL: https://build.opensuse.org/request/show/887913
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=296
2021-04-23 05:24:21 +00:00

40 lines
2.1 KiB
Diff

From a616abba03a35ec3064360ac8cab9ebb2203d645 Mon Sep 17 00:00:00 2001
From: David Teigland <teigland@redhat.com>
Date: Mon, 19 Apr 2021 13:29:17 -0500
Subject: [PATCH] config: improve description for event_activation
Signed-off-by: Heming Zhao <heming.zhao@suse.com>
---
lib/config/config_settings.h | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
diff --git a/lib/config/config_settings.h b/lib/config/config_settings.h
index 3946a7129343..d3a42a153e68 100644
--- a/lib/config/config_settings.h
+++ b/lib/config/config_settings.h
@@ -1117,13 +1117,14 @@ cfg(global_lvdisplay_shows_full_device_path_CFG, "lvdisplay_shows_full_device_pa
cfg(global_event_activation_CFG, "event_activation", global_CFG_SECTION, 0, CFG_TYPE_BOOL, 1, vsn(2, 3, 1), 0, 0, NULL,
"Activate LVs based on system-generated device events.\n"
- "When a device appears on the system, a system-generated event runs\n"
- "the pvscan command to activate LVs if the new PV completes the VG.\n"
- "When event_activation is disabled, the system will generally run\n"
- "a direct activation command to activate LVs in complete VGs.\n"
- "Activation commands that are run by the system, either from events\n"
- "or at fixed points during startup, use autoactivation (-aay). See\n"
- "the --setautoactivation option or the auto_activation_volume_list\n"
+ "When a PV appears on the system, a system-generated uevent triggers\n"
+ "the lvm2-pvscan service which runs the pvscan --cache -aay command.\n"
+ "If the new PV completes a VG, pvscan autoactivates LVs in the VG.\n"
+ "When event_activation is disabled, the lvm2-activation services are\n"
+ "generated and run at fixed points during system startup. These\n"
+ "services run vgchange -aay to autoactivate LVs in VGs that happen\n"
+ "to be present at that point in time.\n"
+ "See the --setautoactivation option or the auto_activation_volume_list\n"
"setting to configure autoactivation for specific VGs or LVs.\n")
cfg(global_use_lvmetad_CFG, "use_lvmetad", global_CFG_SECTION, 0, CFG_TYPE_BOOL, 0, vsn(2, 2, 93), 0, vsn(2, 3, 0), NULL,
--
2.16.4