From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:53107) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TVrrK-0000NM-M7 for qemu-devel@nongnu.org; Tue, 06 Nov 2012 17:43:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TVrrJ-0006Yl-Pd for qemu-devel@nongnu.org; Tue, 06 Nov 2012 17:43:02 -0500 Received: from mx3-phx2.redhat.com ([209.132.183.24]:57277) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TVrrJ-0006YW-HM for qemu-devel@nongnu.org; Tue, 06 Nov 2012 17:43:01 -0500 Date: Tue, 6 Nov 2012 17:42:58 -0500 (EST) From: Paolo Bonzini Message-ID: <589082222.7272963.1352241778123.JavaMail.root@redhat.com> In-Reply-To: <5098CD1F.6070806@profihost.ag> MIME-Version: 1.0 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 > i wantes to use scsi unmap with rbd. rbd documention says you need to > set discard_granularity=512 for the device. I'm using qemu 1.2. > > If i set this and send an UNMAP command i get this kernel output: The discard request is failing. Please check why with a breakpoint on rbd_aio_discard_wrapper or scsi_handle_rw_error for example. Paolo