From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: [PATCH] Segments can span multiple clusters withtap:qcow Date: Thu, 03 May 2007 18:40:39 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jake Wires , Mark McLoughlin Cc: xen-devel List-Id: xen-devel@lists.xenproject.org On 3/5/07 02:06, "Jake Wires" wrote: > This patch is back to only allocating enough requests for one segment: > > + /* A segment (i.e. a page) can span multiple clusters */ > + s->max_aio_reqs = (getpagesize() / s->cluster_size) + 1; > > In fact, this code allocates exactly two AIO requests for QCoW images > created by qcow-create, which have a default cluster size of 4K. What shall we do -- revert the whole patch or fix this line? -- Keir