From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34918) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X4q9V-0006Na-WB for qemu-devel@nongnu.org; Wed, 09 Jul 2014 07:35:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X4q9O-0001Z0-I7 for qemu-devel@nongnu.org; Wed, 09 Jul 2014 07:35:09 -0400 Received: from mx1.redhat.com ([209.132.183.28]:1413) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X4q9O-0001YM-Al for qemu-devel@nongnu.org; Wed, 09 Jul 2014 07:35:02 -0400 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s69BZ1t0030357 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Wed, 9 Jul 2014 07:35:01 -0400 Date: Wed, 9 Jul 2014 13:34:59 +0200 From: Kevin Wolf Message-ID: <20140709113459.GA4537@noname.redhat.com> References: <1404489305-8750-1-git-send-email-kwolf@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1404489305-8750-1-git-send-email-kwolf@redhat.com> Subject: Re: [Qemu-devel] [PATCH 0/4] block: Fix qiov sizes List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: stefanha@redhat.com Am 04.07.2014 um 17:55 hat Kevin Wolf geschrieben: > Some callers use larger qiovs than nb_sectors for their read requests. This is > bad because raw-posix uses nb_sectors to allocate a bounce buffer and then > copies the whole iov over. > > This series fixes some more cases (mirroring was already fixed earlier this > week) and adds assertions to catch any other offenders. Applied to the block branch (with v2 of patch 3). Kevin