From: Andi Kleen Subject: Re: [PATCH] [ppc64] watch IOMMU virtual merging Date: Tue, 3 Aug 2004 00:20:00 +0200 Sender: linux-scsi-owner@vger.kernel.org Message-ID: <20040802222000.GM25951@wotan.suse.de> References: <20040802164448.GN30253@krispykreme> <20040802170843.GI2334@holomorphy.com> <1091483151.7389.78.camel@gaston> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from cantor.suse.de ([195.135.220.2]:31878 "EHLO Cantor.suse.de") by vger.kernel.org with ESMTP id S264265AbUHBWUf (ORCPT ); Mon, 2 Aug 2004 18:20:35 -0400 Content-Disposition: inline In-Reply-To: <1091483151.7389.78.camel@gaston> List-Id: linux-scsi@vger.kernel.org To: Benjamin Herrenschmidt Cc: William Lee Irwin III , Anton Blanchard , sfr@ozlabs.org, linuxppc64-dev , Linux Kernel list , linux-scsi@vger.kernel.org On Tue, Aug 03, 2004 at 07:45:51AM +1000, Benjamin Herrenschmidt wrote: [adding linux-scsi with full quote] > > Actually, we could tune the ratio between large allocs and small allocs, > the real problem is the failure case. We can't really afford to break > down a physical segment at the iommu level because that would increase > the size of the SG list which can't be dealt at the upper level (we don't > know how much space has been allocated and the HW may have limitations on > the number of entries). > > What we really need is a way for drivers to return the BIO upstream and > ask for a split in case of iommu allocation error, but I've been told that > would be horribly complex... Not very, according to James B. It just needs driver changes. I would like to have it too. -Andi