mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
revert: 6129d2e64d
Unfortunately, commit 6129d2e64d
may
cause performance issue. There's going to be a better fix...
This commit is contained in:
parent
37b548c6b5
commit
109b7e2095
@ -1,6 +1,5 @@
|
|||||||
Version 2.02.148 -
|
Version 2.02.148 -
|
||||||
==================================
|
==================================
|
||||||
Fix missing /dev sync in lvm2 command before dmeventd monitor/unmonitor.
|
|
||||||
Replace hard-coded module and target names with macros.
|
Replace hard-coded module and target names with macros.
|
||||||
Add pv_major and pv_minor report fields.
|
Add pv_major and pv_minor report fields.
|
||||||
Detect and warn about mismatch between devices used and assumed for an LV.
|
Detect and warn about mismatch between devices used and assumed for an LV.
|
||||||
|
@ -1746,12 +1746,6 @@ int monitor_dev_for_events(struct cmd_context *cmd, const struct logical_volume
|
|||||||
if (test_mode())
|
if (test_mode())
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
/*
|
|
||||||
* Sync all queued device names/symlinks so dmeventd
|
|
||||||
* has consistent view during possible device scan.
|
|
||||||
*/
|
|
||||||
fs_unlock();
|
|
||||||
|
|
||||||
/* FIXME specify events */
|
/* FIXME specify events */
|
||||||
if (!monitor_fn(seg, 0)) {
|
if (!monitor_fn(seg, 0)) {
|
||||||
log_error("%s: %s segment monitoring function failed.",
|
log_error("%s: %s segment monitoring function failed.",
|
||||||
|
Loading…
Reference in New Issue
Block a user