From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42826) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b5p8A-0006iu-58 for qemu-devel@nongnu.org; Thu, 26 May 2016 02:50:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b5p89-000051-CF for qemu-devel@nongnu.org; Thu, 26 May 2016 02:50:54 -0400 Date: Thu, 26 May 2016 14:50:45 +0800 From: Fam Zheng Message-ID: <20160526065045.GA10734@ad.usersys.redhat.com> References: <1464100220-21317-1-git-send-email-pl@kamp.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1464100220-21317-1-git-send-email-pl@kamp.de> Subject: Re: [Qemu-devel] [PATCH V2] block/io: optimize bdrv_co_pwritev for small requests List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Lieven Cc: qemu-block@nongnu.org, qemu-devel@nongnu.org, kwolf@redhat.com, stefanha@redhat.com, mreitz@redhat.com On Tue, 05/24 16:30, Peter Lieven wrote: > in a read-modify-write cycle a small request might cause > head and tail to fall into the same aligned block. Currently > QEMU reads the same block twice in this case which is > not necessary. > > Signed-off-by: Peter Lieven Thanks, applied to my block branch: https://github.com/famz/qemu/tree/block