From 109b7e2095a7bc5603bf79db0224b8399463af7c Mon Sep 17 00:00:00 2001 From: Peter Rajnoha Date: Thu, 24 Mar 2016 14:04:43 +0100 Subject: [PATCH] revert: 6129d2e64d14047169048775dc7081135c0fcc50 Unfortunately, commit 6129d2e64d14047169048775dc7081135c0fcc50 may cause performance issue. There's going to be a better fix... --- WHATS_NEW | 1 - lib/activate/activate.c | 6 ------ 2 files changed, 7 deletions(-) diff --git a/WHATS_NEW b/WHATS_NEW index 652b24fbf..32528a2f3 100644 --- a/WHATS_NEW +++ b/WHATS_NEW @@ -1,6 +1,5 @@ Version 2.02.148 - ================================== - Fix missing /dev sync in lvm2 command before dmeventd monitor/unmonitor. Replace hard-coded module and target names with macros. Add pv_major and pv_minor report fields. Detect and warn about mismatch between devices used and assumed for an LV. diff --git a/lib/activate/activate.c b/lib/activate/activate.c index 7dce0da76..2eb24d49b 100644 --- a/lib/activate/activate.c +++ b/lib/activate/activate.c @@ -1746,12 +1746,6 @@ int monitor_dev_for_events(struct cmd_context *cmd, const struct logical_volume if (test_mode()) continue; - /* - * Sync all queued device names/symlinks so dmeventd - * has consistent view during possible device scan. - */ - fs_unlock(); - /* FIXME specify events */ if (!monitor_fn(seg, 0)) { log_error("%s: %s segment monitoring function failed.", -- 2.43.5