From mboxrd@z Thu Jan 1 00:00:00 1970 From: Trond Myklebust Subject: Re: [PATCH 3/3] Fix problems on multi-TB filesystem and file Date: Fri, 16 Dec 2005 15:37:11 -0500 Message-ID: <1134765431.7941.3.camel@lade.trondhjem.org> References: <000201c60242$318eff70$4168010a@bsd.tnes.nec.co.jp> <2cd57c900512161139n7d738415q@mail.gmail.com> <1134763048.18635.3.camel@lade.trondhjem.org> <2cd57c900512161224i1079572ao@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Cc: Takashi Sato , viro@zeniv.linux.org.uk, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org Return-path: Received: from pat.uio.no ([129.240.130.16]:65187 "EHLO pat.uio.no") by vger.kernel.org with ESMTP id S932388AbVLPUhX (ORCPT ); Fri, 16 Dec 2005 15:37:23 -0500 To: Coywolf Qi Hunt In-Reply-To: <2cd57c900512161224i1079572ao@mail.gmail.com> Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Sat, 2005-12-17 at 04:24 +0800, Coywolf Qi Hunt wrote: > > > > It may surprise you to learn that not all network filesystems are block > > based. > > > > NFS has no truck with CONFIG_LBD at all. > > I thought no network filesystems are block based from a client > viewpoint. (There's a network block driver though.) Client kernel > needn't enable LBD. Without this patch, the client _would_ have to enable LBD if it wanted to correctly report the size of a large disk on the remote server. The main point, though is that sector_t is a handle to a block. It is _NOT_ the right type to use for reporting a disk size. Cheers, Trond