Re: Kernel 4.4.0 KVM guest on Btrfs locks up on snapshotting

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

On Tue, 19 Jan 2016 23:18:59 +0100
Paolo Bonzini <pbonzini@xxxxxxxxxx> wrote:

> So this is kernel 4.4 on the host, and virtio-scsi in the guest.  What
> about virtio-blk in the guest?

Tried with:

  -device virtio-blk-pci,drive=hd,scsi=off

it locks up as well.

In fact turns out it's not 100% lock-up, more like 50-80% chance.

But it certainly happens if I trigger heavy disk activity in the guest:

  while true; do dd if=/dev/zero of=zerofile count=1024 bs=1M; sync; done

...at the same time repeatedly snapshotting the subvolume on the host.

Could not trigger it even once with IDE so far.

> > -drive
> > if=none,id=hd,cache=writeback,aio=threads,format=raw,file=$NAME.img,discard=unmap,detect-zeroes=unmap
> > \
> 
> So you're snapshotting the subvolume that includes $NAME.img?

Yes


-- 
With respect,
Roman

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux