Re: [PATCH 8/8] FUSE: per inode statfs

From: Al Viro
Date: Mon Oct 24 2005 - 23:32:56 EST


On Mon, Oct 24, 2005 at 09:05:35PM +0200, Miklos Szeredi wrote:
> > > This patch makes FUSE based filesystems able to return filesystem
> > > statistics based on path. While breaks with the tradition of
> > > homogeneous statistics per _local_ filesystem, however adds useful
> > > ability to user to differentiate statistics from different _remote_
> > > filesystem served by the same userspace server.
> >
> > Wouldn't it make more sense to create more mountpoints (on demand, if
> > necessary) to handle this case?
>
> Only if
>
> a) it's possible to find out about remote mountpoints
>
> b) not prohibitively expensive to do so on each lookup

And finding the pathnames to call statfs() on is by some magic cheaper?
-
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/