From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35243) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b5DwC-0003rI-Oc for qemu-devel@nongnu.org; Tue, 24 May 2016 11:08:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b5DwA-0008CS-OD for qemu-devel@nongnu.org; Tue, 24 May 2016 11:08:03 -0400 Date: Tue, 24 May 2016 17:07:52 +0200 From: Kevin Wolf Message-ID: <20160524150752.GJ7091@noname.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, famz@redhat.com, stefanha@redhat.com, mreitz@redhat.com Am 24.05.2016 um 16:30 hat Peter Lieven geschrieben: > 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 Reviewed-by: Kevin Wolf