diff options
author | Peter Rajnoha <prajnoha@redhat.com> | 2016-03-24 14:04:43 +0100 |
---|---|---|
committer | Peter Rajnoha <prajnoha@redhat.com> | 2016-03-24 14:06:12 +0100 |
commit | 109b7e2095a7bc5603bf79db0224b8399463af7c (patch) | |
tree | 9c04f4860893db1fd0cbdb4ed07d37e65e2c8618 | |
parent | 37b548c6b5106315943454df8c5392c9bd604368 (diff) | |
download | lvm2-109b7e2095a7bc5603bf79db0224b8399463af7c.tar.gz |
revert: 6129d2e64d14047169048775dc7081135c0fcc50
Unfortunately, commit 6129d2e64d14047169048775dc7081135c0fcc50 may
cause performance issue. There's going to be a better fix...
-rw-r--r-- | WHATS_NEW | 1 | ||||
-rw-r--r-- | lib/activate/activate.c | 6 |
2 files changed, 0 insertions, 7 deletions
@@ -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.", |