Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S263769AbTKFRPC (ORCPT ); Thu, 6 Nov 2003 12:15:02 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S263770AbTKFRPC (ORCPT ); Thu, 6 Nov 2003 12:15:02 -0500 Received: from ns.suse.de ([195.135.220.2]:7342 "EHLO Cantor.suse.de") by vger.kernel.org with ESMTP id S263769AbTKFRO5 (ORCPT ); Thu, 6 Nov 2003 12:14:57 -0500 Date: Thu, 6 Nov 2003 18:14:09 +0100 From: Jens Axboe To: Andrew Vasquez Cc: Mike Anderson , Linux-Kernel , Linux-SCSI Subject: Re: [ANNOUNCE] QLogic qla2xxx driver update available (v8.00.00b6). Message-ID: <20031106171409.GN437@suse.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2176 Lines: 54 On Thu, Nov 06 2003, Andrew Vasquez wrote: > Jens, > > > > o Given the ISPs inability to handle data segments that cross > > > 32-bit page boundaries, and the overhead in defensive logic > > > within the driver to prevent these cases (compare the 6.x > > > code to the 8.x code and you will see what I mean), by > > > disabling clustering we guarantee that a single SG element > > > never crosses a 4GB boundary. > > > > That is not, however. Linux will never give you a segment crossing a > > 4GB boundary, exactly because most hardware cannot handle this. > > > > > Now, in 2.6 there are some significant changes. For one, with the > > > block layer rewrite and the ability to limit segment boundaries of a > > > block queue request with the blk_queue_segment_boundary() call, a LLDD > > > need not concern itself with any defensive fast-path logic to handle > > > the 4GB cross. > > > > Ditto 2.4. See BH_PHYS_4G(). > > > > Yes, but if I recall, these checks did not enter until late in the 2.4 > branch. The original (engineering) intent of the 6.x series branch > was to support all 2.4 kernels, though we are slowly (formally) moving > away from the restrictions. They were there at the same time as Linux supported > 1GB IO at all. So that is incorrect, it's been there all along. > > > So, we're left with the benefits of the overhead of this merge > > > process done by the block layer. I'm certainly receptive to the > > > notion of reexamining the use of clustering given some solid data > > > points showing an (significant -- this is subjective) increase in > > > performance and/or a resounding 'yeah, enable it!' from those in > > > the block-layer 'know.' > > > > In 2.6 clustering comes for free, so it would be silly not to enable > > it. > > > > Thanks for the clarification, I'll add the parameter back into the > template for the 8.x series driver. Cool, thanks. -- Jens Axboe - 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/