From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51477) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YktoC-0005oI-5S for qemu-devel@nongnu.org; Wed, 22 Apr 2015 08:31:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ykto6-0002eD-Cb for qemu-devel@nongnu.org; Wed, 22 Apr 2015 08:31:16 -0400 Received: from relay.parallels.com ([195.214.232.42]:52265) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ykto6-0002cX-5U for qemu-devel@nongnu.org; Wed, 22 Apr 2015 08:31:10 -0400 Message-ID: <5537947A.7050103@openvz.org> Date: Wed, 22 Apr 2015 15:30:50 +0300 From: "Denis V. Lunev" MIME-Version: 1.0 References: <1426069701-1405-1-git-send-email-den@openvz.org> <1426069701-1405-4-git-send-email-den@openvz.org> <20150422122359.GC27617@stefanha-thinkpad.redhat.com> In-Reply-To: <20150422122359.GC27617@stefanha-thinkpad.redhat.com> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 03/27] block/parallels: switch to bdrv_read List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: Kevin Wolf , qemu-devel@nongnu.org, Stefan Hajnoczi , Roman Kagan On 22/04/15 15:23, Stefan Hajnoczi wrote: > On Wed, Mar 11, 2015 at 01:27:57PM +0300, Denis V. Lunev wrote: >> From: Roman Kagan >> >> Switch the .bdrv_read method implementation from using bdrv_pread() to >> bdrv_read() on the underlying file, since the latter is subject to i/o >> throttling while the former is not. >> >> Besides, since bdrv_read() operates in sectors rather than bytes, adjust >> the helper functions to do so too. > Can this patch be dropped since "[PATCH 06/27] block/parallels: provide > _co_readv routine for parallels format driver" switches to > .bdrv_co_readv() anyway? > > Stefan this is not that easy. This patch changes seek_to_sector call and in reality to drop it I have to merge patches 3, 4 and 6. Besides that this patch has been written by my colleague and I feel comfortable to preserve original Signed-off-by of him. Den