From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261436AbVDSJ3d (ORCPT ); Tue, 19 Apr 2005 05:29:33 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261427AbVDSJ3c (ORCPT ); Tue, 19 Apr 2005 05:29:32 -0400 Received: from pentafluge.infradead.org ([213.146.154.40]:33256 "EHLO pentafluge.infradead.org") by vger.kernel.org with ESMTP id S261419AbVDSJ31 (ORCPT ); Tue, 19 Apr 2005 05:29:27 -0400 Date: Tue, 19 Apr 2005 10:29:26 +0100 From: Christoph Hellwig To: Olivier Galibert , "Hack inc." , linux-scsi@vger.kernel.org Subject: Re: Can a non-sg scsi write command be more than PAGE_SIZE length? Message-ID: <20050419092926.GA9785@infradead.org> Mail-Followup-To: Christoph Hellwig , Olivier Galibert , "Hack inc." , linux-scsi@vger.kernel.org References: <20050419084730.GA96767@dspnet.fr.eu.org> <20050419085008.GA9194@infradead.org> <20050419092431.GA98975@dspnet.fr.eu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050419092431.GA98975@dspnet.fr.eu.org> User-Agent: Mutt/1.4.1i X-SRS-Rewrite: SMTP reverse-path rewritten from by pentafluge.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 19, 2005 at 11:24:31AM +0200, Olivier Galibert wrote: > > Yes, it's allowed. > > Thanks. Pages in that case are continuous then, right? Good question actually. I know XFS does passed vmalloc'ed memory down the block I/O path, but that's as a scatter/gather request. All non-s/g request should be contingous I think. We really need to write down the rules about what memory can be passed down the block I/O path - XFS for example sends kmalloced memory down which all the iSCSI implementations don't like at all.