Re: [PATCH 14/14] NFS: Use local caching [try #2]

From: Trond Myklebust
Date: Fri Aug 10 2007 - 12:17:43 EST


On Fri, 2007-08-10 at 15:04 +0100, David Howells wrote:
> Trond Myklebust <trond.myklebust@xxxxxxxxxx> wrote:
>
> > > > Dang, that's a lot of inlines... AFAICS, approx half of fs/nfs/fscache.h
> > > > should really be moved into fscache.c.
> > >
> > > If you wish. It seems a shame since a lot of them have only one caller.
> >
> > ...however it also forces you to export a lot of stuff which is really
> > private to fscache.c (the atomics etc).
>
> The atomics is actually a bad example. These are referred to directly by part
> of the table in fs/nfs/sysctl.c. Is there a better way of exporting
> statistics than through /proc/sys/ files?

/proc/self/mountstats

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/