Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.2
lvm2
bug-1158628_06-pvmove-add-missing-synchronizati...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File bug-1158628_06-pvmove-add-missing-synchronization.patch of Package lvm2
From 0bdd6d6240251996694a8581432f726e5442c4a2 Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac <zkabelac@redhat.com> Date: Tue, 20 Aug 2019 12:23:08 +0200 Subject: [PATCH] pvmove: add missing synchronization Between 'resume' and 'remove' we need to wait for udev to synchronize, otherwise udev may 'skip' resume event processing if the udev node is already gone. --- tools/pvmove_poll.c | 2 ++ 1 files changed, 1 insertions(+) diff --git a/tools/pvmove_poll.c b/tools/pvmove_poll.c index e50747cf46..d379596f2f 100644 --- a/tools/pvmove_poll.c +++ b/tools/pvmove_poll.c @@ -97,6 +97,8 @@ int pvmove_finish(struct cmd_context *cmd, struct volume_group *vg, if (!lv_update_and_reload(lv_mirr)) return_0; + sync_local_dev_names(cmd); + /* Deactivate mirror LV */ if (!deactivate_lv(cmd, lv_mirr)) { log_error("ABORTING: Unable to deactivate temporary logical " -- 2.24.0
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor