From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexandre DERUMIER Subject: Re: qemu : rbd block driver internal snapshot and vm_stop is hanging forever Date: Mon, 9 Nov 2015 04:54:23 +0100 (CET) Message-ID: <1561927996.3022026.1447041263817.JavaMail.zimbra@oxygem.tv> References: <310812067.2785504.1447038645014.JavaMail.zimbra@oxygem.tv> <2016579078.2834222.1447039390275.JavaMail.zimbra@oxygem.tv> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <2016579078.2834222.1447039390275.JavaMail.zimbra@oxygem.tv> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+gceq-qemu-devel=gmane.org@nongnu.org Sender: qemu-devel-bounces+gceq-qemu-devel=gmane.org@nongnu.org To: ceph-devel , qemu-devel List-Id: ceph-devel.vger.kernel.org Also,=20 this occur only with rbd_cache=3Dfalse or qemu drive cache=3Dnone. If I use rbd_cache=3Dtrue or qemu drive cache=3Dwriteback, I don't have thi= s bug. ----- Mail original ----- De: "aderumier" =C3=80: "ceph-devel" , "qemu-devel" Envoy=C3=A9: Lundi 9 Novembre 2015 04:23:10 Objet: Re: qemu : rbd block driver internal snapshot and vm_stop is hanging= forever 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59653) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZvdXK-0002V8-Me for qemu-devel@nongnu.org; Sun, 08 Nov 2015 22:54:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZvdXG-0001di-68 for qemu-devel@nongnu.org; Sun, 08 Nov 2015 22:54:30 -0500 Received: from mailpro.odiso.net ([89.248.209.98]:37664) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZvdXG-0001de-02 for qemu-devel@nongnu.org; Sun, 08 Nov 2015 22:54:26 -0500 Date: Mon, 9 Nov 2015 04:54:23 +0100 (CET) From: Alexandre DERUMIER Message-ID: <1561927996.3022026.1447041263817.JavaMail.zimbra@oxygem.tv> In-Reply-To: <2016579078.2834222.1447039390275.JavaMail.zimbra@oxygem.tv> References: <310812067.2785504.1447038645014.JavaMail.zimbra@oxygem.tv> <2016579078.2834222.1447039390275.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 Also,=20 this occur only with rbd_cache=3Dfalse or qemu drive cache=3Dnone. If I use rbd_cache=3Dtrue or qemu drive cache=3Dwriteback, I don't have thi= s bug. ----- Mail original ----- De: "aderumier" =C3=80: "ceph-devel" , "qemu-devel" Envoy=C3=A9: Lundi 9 Novembre 2015 04:23:10 Objet: Re: qemu : rbd block driver internal snapshot and vm_stop is hanging= forever 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