mirror of
git://git.proxmox.com/git/qemu-server.git
synced 2025-02-02 09:47:13 +03:00
Fabian Grünbichler
4417610caa
vm_resume: correctly honor $nocheck
for both vm_mon_cmd calls. under certain circumstances, the following sequence of events can otherwise fail when live-migrating under load: S...source node T...target node 0: migration is complete, handover from S to T starts 1: S: logically move VM config file from S to T via rename() 2: S: rename returns, config file is (visibly) moved on S 3: S: trigger resume on T via mtunnel 4a: T: call vm_resume while config file move is not yet visible on T 4b: T: call vm_resume while config file move is already visible on T 4a instead of 4b means vm_mon_cmd will die in check_running unless vm_mon_cmd_nocheck is used. under heavy pmxcfs load and a slow cluster/corosync network, there can be a few seconds of delay between 1 and 2, with a subsequent race ending in 4a instead of 4b. this issue was reported to occur on bulk migrations. Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com> (cherry picked from commit 3e24733bdf9bef232be8e5205bf5e73338e65bdb) Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Description
No description provided
Languages
Perl
86.3%
Batchfile
10.6%
C
2.3%
Makefile
0.8%