From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LmozV-00041Q-Bd for qemu-devel@nongnu.org; Thu, 26 Mar 2009 08:47:25 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LmozR-0003yM-JK for qemu-devel@nongnu.org; Thu, 26 Mar 2009 08:47:25 -0400 Received: from [199.232.76.173] (port=47087 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LmozR-0003y8-Bn for qemu-devel@nongnu.org; Thu, 26 Mar 2009 08:47:21 -0400 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:15632) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.60) (envelope-from ) id 1LmozQ-0005ic-Qu for qemu-devel@nongnu.org; Thu, 26 Mar 2009 08:47:21 -0400 Received: from samy by const with local (Exim 4.69) (envelope-from ) id 1LmozP-000715-3w for qemu-devel@nongnu.org; Thu, 26 Mar 2009 13:47:19 +0100 Date: Thu, 26 Mar 2009 13:47:19 +0100 From: Samuel Thibault Subject: Re: [Qemu-devel] [PATCH] honor IDE_DMA_BUF_SECTORS Message-ID: <20090326124719.GL5642@const.bordeaux.inria.fr> References: <49CA4C3D.1070705@redhat.com> <49CA59AE.8060605@eu.citrix.com> <49CA5F9F.5040203@redhat.com> <49CA60BA.5060704@eu.citrix.com> <49CA6E4A.4080408@eu.citrix.com> <49CB5793.4030006@redhat.com> <49CB599D.6000701@eu.citrix.com> <49CB5FA0.10101@redhat.com> <49CB6AF7.3080604@eu.citrix.com> <49CB70AC.3060900@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <49CB70AC.3060900@redhat.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Avi Kivity, le Thu 26 Mar 2009 14:10:20 +0200, a écrit : > I realize your use case will probably not trigger this, but it does > indicate you're limiting at the wrong layer. It places the burden on > all callers of block format drivers instead of centralizing it. Then it should be centralized in the block layer instead of placing the burden on all block format drivers ;) One thing for instance that still have been overlooked although patches have been sent is block-raw-posix' read/write_pread_aligned() that consider partial read/writes as an error. That's a bug. Samuel