From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34489) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zvduu-0006Pp-3p for qemu-devel@nongnu.org; Sun, 08 Nov 2015 23:18:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zvduq-0005yk-Vu for qemu-devel@nongnu.org; Sun, 08 Nov 2015 23:18:52 -0500 Received: from mailpro.odiso.net ([89.248.209.98]:39363) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zvduq-0005yg-Mp for qemu-devel@nongnu.org; Sun, 08 Nov 2015 23:18:48 -0500 Date: Mon, 9 Nov 2015 05:18:46 +0100 (CET) From: Alexandre DERUMIER Message-ID: <435271730.3157386.1447042726807.JavaMail.zimbra@oxygem.tv> In-Reply-To: <1561927996.3022026.1447041263817.JavaMail.zimbra@oxygem.tv> References: <310812067.2785504.1447038645014.JavaMail.zimbra@oxygem.tv> <2016579078.2834222.1447039390275.JavaMail.zimbra@oxygem.tv> <1561927996.3022026.1447041263817.JavaMail.zimbra@oxygem.tv> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] qemu : rbd block driver internal snapshot and vm_stop is hanging forever List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: ceph-devel , qemu-devel Something is really wrong, because guest is also freezing, with a simple snapshot, with cache=3Dnone /= rbd_cache=3Dfalse qemu monitor : snapshot_blkdev_internal drive-virtio0 snap1 or=20 rbd command : rbd --image myrbdvolume snap create --snap snap1=20 Then the guest can't read/write to disk anymore. I have tested with last ceph internalis, same problem ----- Mail original ----- De: "aderumier" =C3=80: "ceph-devel" , "qemu-devel" Envoy=C3=A9: Lundi 9 Novembre 2015 04:54:23 Objet: Re: [Qemu-devel] qemu : rbd block driver internal snapshot and vm_st= op is hanging forever Also,=20 this occur only with rbd_cache=3Dfalse or qemu drive cache=3Dnone.=20 If I use rbd_cache=3Dtrue or qemu drive cache=3Dwriteback, I don't have thi= s bug.=20 ----- Mail original -----=20 De: "aderumier" =20 =C3=80: "ceph-devel" , "qemu-devel" =20 Envoy=C3=A9: Lundi 9 Novembre 2015 04:23:10=20 Objet: Re: qemu : rbd block driver internal snapshot and vm_stop is hanging= forever=20 Some other infos:=20 I can reproduce it too with manual snapshot with rbd command=20 #rbd --image myrbdvolume snap create --snap snap1=20 qemu monitor:=20 #stop=20 This is with ceph hammer 0.94.5.=20 in qemu vm_stop, the only thing related to block driver are=20 bdrv_drain_all();=20 ret =3D bdrv_flush_all();=20 ----- Mail original -----=20 De: "aderumier" =20 =C3=80: "ceph-devel" , "qemu-devel" =20 Envoy=C3=A9: Lundi 9 Novembre 2015 04:10:45=20 Objet: qemu : rbd block driver internal snapshot and vm_stop is hanging for= ever=20 Hi,=20 with qemu (2.4.1), if I do an internal snapshot of an rbd device,=20 then I pause the vm with vm_stop,=20 the qemu process is hanging forever=20 monitor commands to reproduce:=20 # snapshot_blkdev_internal drive-virtio0 yoursnapname=20 # stop=20 I don't see this with qcow2 or sheepdog block driver for example.=20 Regards,=20 Alexandre=20 --=20 To unsubscribe from this list: send the line "unsubscribe ceph-devel" in=20 the body of a message to majordomo@vger.kernel.org=20 More majordomo info at http://vger.kernel.org/majordomo-info.html=20 --=20 To unsubscribe from this list: send the line "unsubscribe ceph-devel" in=20 the body of a message to majordomo@vger.kernel.org=20 More majordomo info at http://vger.kernel.org/majordomo-info.html=20