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:Tomoki Sekiyama <tomoki.sekiyama@hds.com> Reviewed-by:
Eric Blake <eblake@redhat.com> *fix up commit msg Signed-off-by:
Michael Roth <mdroth@linux.vnet.ibm.com> (cherry picked from commit e5d9adbd) Signed-off-by:
Michael Roth <mdroth@linux.vnet.ibm.com>
Loading
Please register or sign in to comment