From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:40572) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TaOFV-0001K4-GA for qemu-devel@nongnu.org; Mon, 19 Nov 2012 05:06:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TaOFS-0001ma-Dl for qemu-devel@nongnu.org; Mon, 19 Nov 2012 05:06:41 -0500 Received: from mx1.redhat.com ([209.132.183.28]:11566) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TaOFS-0001mU-6D for qemu-devel@nongnu.org; Mon, 19 Nov 2012 05:06:38 -0500 Message-ID: <50AA04A7.4080200@redhat.com> Date: Mon, 19 Nov 2012 11:06:31 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: <589082222.7272963.1352241778123.JavaMail.root@redhat.com> <50A95A6A.4010109@profihost.ag> <50A9E991.2070609@redhat.com> <50A9FD86.3050400@profihost.ag> <50AA01C0.8030709@redhat.com> <50AA0314.6090208@profihost.ag> In-Reply-To: <50AA0314.6090208@profihost.ag> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] scsi-hd with discard_granularity and unmap results in Aborted Commands List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Priebe - Profihost AG Cc: qemu-devel@nongnu.org Il 19/11/2012 10:59, Stefan Priebe - Profihost AG ha scritto: >>> >>> >>> Do you know what is the correct way? >> >> I think the correct fix is to serialize them in the kernel. > > So you mean this is not a bug in rbd or qemu this is a general bug in > the linux kernel since they implemented discard? Yes. Paolo