From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42918) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WAM8m-0000JO-QQ for qemu-devel@nongnu.org; Mon, 03 Feb 2014 11:13:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WAM8e-0006m2-7O for qemu-devel@nongnu.org; Mon, 03 Feb 2014 11:12:56 -0500 Received: from mail-qa0-x232.google.com ([2607:f8b0:400d:c00::232]:35944) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WAM8d-0006ly-VM for qemu-devel@nongnu.org; Mon, 03 Feb 2014 11:12:48 -0500 Received: by mail-qa0-f50.google.com with SMTP id cm18so10458218qab.9 for ; Mon, 03 Feb 2014 08:12:46 -0800 (PST) Sender: Paolo Bonzini Message-ID: <52EFBFF9.7020504@redhat.com> Date: Mon, 03 Feb 2014 17:12:41 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: <1391094138-26798-1-git-send-email-olaf@aepfle.de> <20140203154908.GO3643@dhcp-200-207.str.redhat.com> In-Reply-To: <20140203154908.GO3643@dhcp-200-207.str.redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] xen_disk: add discard support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kevin Wolf , Olaf Hering Cc: qemu-devel@nongnu.org, stefanha@redhat.com, stefano.stabellini@eu.citrix.com Il 03/02/2014 16:49, Kevin Wolf ha scritto: > Neither SCSI nor IDE account for discards. I think we should keep the > behaviour consistent across devices. > > If we do want to introduce accounting for discards, I'm not sure whether > counting them as writes or giving them their own category makes more > sense. I think giving them their own category is better. Paolo