Skip to content
Commit 9388fdb6 authored by Tomoki Sekiyama's avatar Tomoki Sekiyama Committed by Michael Roth
Browse files

qemu-ga: execute fsfreeze-freeze in reverse order of mounts



Currently, fsfreeze-freeze may cause deadlock if a guest has loopback mounts
of image files in its disk; e.g.:

    # mount | grep ^/
    /dev/vda1 / type ext4 (rw,noatime,seclabel,data=ordered)
    /tmp/disk.img on /mnt type ext4 (rw,relatime,seclabel)

To avoid the deadlock, this freezes filesystems in reverse order of mounts.

Signed-off-by: default avatarTomoki Sekiyama <tomoki.sekiyama@hds.com>
Reviewed-by: default avatarEric Blake <eblake@redhat.com>
*fix up commit msg
Signed-off-by: default avatarMichael Roth <mdroth@linux.vnet.ibm.com>
(cherry picked from commit e5d9adbd)

Signed-off-by: default avatarMichael Roth <mdroth@linux.vnet.ibm.com>
parent 68a1ac19
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment