Re: block snapshot issue with RBD

2024-05-29 Thread Kevin Wolf
Am 29.05.2024 um 12:14 hat Fiona Ebner geschrieben: > I bisected this issue to d3007d348a ("block: Fix crash when loading > snapshot on inactive node"). > > > diff --git a/block/snapshot.c b/block/snapshot.c > > index ec8cf4810b..c4d40e80dd 100644 > > --- a/block/snapshot.c > > +++ b/block/snapsho

Re: block snapshot issue with RBD

2024-05-29 Thread Fiona Ebner
Hi, Am 28.05.24 um 20:19 schrieb Jin Cao: > Hi Ilya > > On 5/28/24 11:13 AM, Ilya Dryomov wrote: >> On Mon, May 27, 2024 at 9:06 PM Jin Cao wrote: >>> >>> Supplementary info: VM is paused after "migrate" command. After being >>> resumed with "cont", snapshot_delete_blkdev_internal works again, w

Re: block snapshot issue with RBD

2024-05-28 Thread Jin Cao
Hi Ilya On 5/28/24 11:13 AM, Ilya Dryomov wrote: On Mon, May 27, 2024 at 9:06 PM Jin Cao wrote: Supplementary info: VM is paused after "migrate" command. After being resumed with "cont", snapshot_delete_blkdev_internal works again, which is confusing, as disk snapshot generally recommend I/O

Re: block snapshot issue with RBD

2024-05-28 Thread Ilya Dryomov
On Mon, May 27, 2024 at 9:06 PM Jin Cao wrote: > > Supplementary info: VM is paused after "migrate" command. After being > resumed with "cont", snapshot_delete_blkdev_internal works again, which > is confusing, as disk snapshot generally recommend I/O is paused, and a > frozen VM satisfy this requ

Re: block snapshot issue with RBD

2024-05-27 Thread Jin Cao
Supplementary info: VM is paused after "migrate" command. After being resumed with "cont", snapshot_delete_blkdev_internal works again, which is confusing, as disk snapshot generally recommend I/O is paused, and a frozen VM satisfy this requirement. -- Sincerely Jin Cao On 5/27/24 10:56 AM, J

Re: block snapshot issue with RBD

2024-05-27 Thread Jin Cao
CC block and migration related address. On 5/27/24 12:03 AM, Jin Cao wrote: Hi, I encountered RBD block snapshot issue after doing migration. Steps - 1. Start QEMU with: ./qemu-system-x86_64 -name VM -machine q35 -accel kvm -cpu host,migratable=on -m 2G -boot menu=on,strict=on rbd:image

block snapshot issue with RBD

2024-05-27 Thread Jin Cao
Hi, I encountered RBD block snapshot issue after doing migration. Steps - 1. Start QEMU with: ./qemu-system-x86_64 -name VM -machine q35 -accel kvm -cpu host,migratable=on -m 2G -boot menu=on,strict=on rbd:image/ubuntu-22.04-server-cloudimg-amd64.raw -net nic -net user -cdrom /home/my/pa