From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Lameter Subject: Re: [11/36] Use page_cache_xxx in fs/buffer.c Date: Fri, 31 Aug 2007 08:22:45 -0700 (PDT) Message-ID: References: <20070831065613.GH29452@kernel.dk> <20070831071142.GI29452@kernel.dk> <20070831072611.GK29452@kernel.dk> <20070831074338.GL29452@kernel.dk> <20070831081201.GO29452@kernel.dk> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: Dmitry Monakhov , torvalds@linux-foundation.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, Christoph Hellwig , Mel Gorman , William Lee Irwin III , David Chinner , Badari Pulavarty , Maxim Levitsky , Fengguang Wu , swin wang , totty.lu@gmail.com, "H. Peter Anvin" , joern@lazybastard.org, "Eric W. Biederman" To: Jens Axboe Return-path: Received: from netops-testserver-3-out.sgi.com ([192.48.171.28]:40206 "EHLO relay.sgi.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S965328AbXHaPWr (ORCPT ); Fri, 31 Aug 2007 11:22:47 -0400 In-Reply-To: <20070831081201.GO29452@kernel.dk> Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Fri, 31 Aug 2007, Jens Axboe wrote: > > Ok. So another solution maybe to limit the blocksizes that can be used > > with a device? > > That'd work for creation, but not for moving things around. What do you mean by moving things around? Creation binds a filesystem to a device. > > Hmmmm.. We could keep the existing scheme too and check that device > > drivers split things up if they are too large? Isnt it possible today > > to create a huge bio of 2M for huge pages and send it to a device? > > Not sure, aren't the constituents of compound pages the basis for IO? get_user_pages() serializes compound pages into the base pages. But doesnt the I/O layer coalesce these later into 2M chunks again?