From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Subject: Re: [PATCH] [RFC] LBD fixes for Linux 2.6.10 [2/2] Date: Thu, 13 Jan 2005 18:54:54 +0000 Message-ID: <20050113185454.GA27087@infradead.org> References: <05Jan11.134911est.333426@cyborg.cybernetics.com> <20050113184302.GC30982@parcelfarce.linux.theplanet.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Tony Battersby , linux-fsdevel@vger.kernel.org Return-path: Received: from [213.146.154.40] ([213.146.154.40]:50583 "EHLO pentafluge.infradead.org") by vger.kernel.org with ESMTP id S261365AbVAMSy7 (ORCPT ); Thu, 13 Jan 2005 13:54:59 -0500 To: Matthew Wilcox Content-Disposition: inline In-Reply-To: <20050113184302.GC30982@parcelfarce.linux.theplanet.co.uk> Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Thu, Jan 13, 2005 at 06:43:02PM +0000, Matthew Wilcox wrote: > That's actually not wise. For ext3, the block numbers _on disc_ > are 32-bit in size, so making them sector_t in memory is just a waste. > reiserfs seems to be the same. OTOH, XFS does use 64-bit blocks on disc, > so should use an explicitly 64-bit size in memory too. XFS has compile-time switches for 32/64 bit in memory. On Linux it's 64bit with either a 64bit host or CONFIG_LBD.