Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S265440AbUFRPc6 (ORCPT ); Fri, 18 Jun 2004 11:32:58 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S265250AbUFRPXF (ORCPT ); Fri, 18 Jun 2004 11:23:05 -0400 Received: from gate.crashing.org ([63.228.1.57]:4741 "EHLO gate.crashing.org") by vger.kernel.org with ESMTP id S265255AbUFRPVR (ORCPT ); Fri, 18 Jun 2004 11:21:17 -0400 Subject: Re: PATCH: Further aacraid work From: Benjamin Herrenschmidt To: Andi Kleen Cc: Anton Blanchard , mark_salyzyn@adaptec.com, Christoph Hellwig , Alan Cox , Linux Kernel list , linux-scsi@vger.kernel.org In-Reply-To: References: <286GI-5y3-11@gated-at.bofh.it> <286Qp-5EU-19@gated-at.bofh.it> Content-Type: text/plain Message-Id: <1087571840.8207.270.camel@gaston> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Fri, 18 Jun 2004 10:17:21 -0500 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1163 Lines: 28 > The AMD64 IOMMU could do it too (and the code to do it exists in > 2.6). But the problem is that the current IO layer doesn't provide a > sufficient fallback path when this fails. You have to promise in > advance that you can merge and then later it's too late to change your > mind without signalling an IO error. Well, the way I do it on ppc64 works with failure cases too. The IO layer is given my phusical limitations, that is it provides me with an SG list that will always fit. If I can do merging, great, that will improve, but I don't enforce merging. You could do exactly the same. The problem I agree is that this forces the IO layer to give you small enough requests, it would be nice to have a "try big and retry smaller" path but that require invasive changes. > I had a chat with James about this at last year's OLS. The Consensus > was iirc that it needs driver interface changes at least. Ben. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/