Blame SOURCES/lvm2-2_02_105-do-no-fail-the-whole-autoactivation-if-the-vg-refresh-done-before-fails.patch
|
|
191583 |
WHATS_NEW | 4 ++++
|
|
|
191583 |
tools/pvscan.c | 6 ++----
|
|
|
191583 |
2 files changed, 6 insertions(+), 4 deletions(-)
|
|
|
191583 |
|
|
|
191583 |
diff --git a/WHATS_NEW b/WHATS_NEW
|
|
|
191583 |
index 2532a99..c642f47 100644
|
|
|
191583 |
--- a/WHATS_NEW
|
|
|
191583 |
+++ b/WHATS_NEW
|
|
|
191583 |
@@ -1,3 +1,7 @@
|
|
|
191583 |
+Version 2.02.105 -
|
|
|
191583 |
+===================================
|
|
|
191583 |
+ Do not fail the whole autoactivation if the VG refresh done before fails.
|
|
|
191583 |
+
|
|
|
191583 |
Version 2.02.104 -
|
|
|
191583 |
===================================
|
|
|
191583 |
Fix missing lvmetad scan for PVs found on MD partitions.
|
|
|
191583 |
diff --git a/tools/pvscan.c b/tools/pvscan.c
|
|
|
191583 |
index ce8c446..4f99f45 100644
|
|
|
191583 |
--- a/tools/pvscan.c
|
|
|
191583 |
+++ b/tools/pvscan.c
|
|
|
191583 |
@@ -147,10 +147,8 @@ static int _auto_activation_handler(struct cmd_context *cmd,
|
|
|
191583 |
usleep(REFRESH_BEFORE_AUTOACTIVATION_RETRY_USLEEP_DELAY);
|
|
|
191583 |
}
|
|
|
191583 |
|
|
|
191583 |
- if (!refresh_done) {
|
|
|
191583 |
- log_error("%s: refresh before autoactivation failed.", vg->name);
|
|
|
191583 |
- goto out;
|
|
|
191583 |
- }
|
|
|
191583 |
+ if (!refresh_done)
|
|
|
191583 |
+ log_warn("%s: refresh before autoactivation failed.", vg->name);
|
|
|
191583 |
|
|
|
191583 |
if (!vgchange_activate(vg->cmd, vg, activate)) {
|
|
|
191583 |
log_error("%s: autoactivation failed.", vg->name);
|