Re: [PATCH 3/3] Fix problems on multi-TB filesystem and file

From: Trond Myklebust
Date: Fri Dec 16 2005 - 15:36:35 EST


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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/