On Sun, Dec 16, 2007 at 11:48:39PM -0600, Eric Sandeen wrote:
> Lachlan McIlroy wrote:
> > Hey hold on there buddy! We may need to reactivate this code to fix some
> > performance issues. I've acttually got this code working and proven that
> > it is one way to fix some of the NAS/NFS issues we have.
> >
> > The little comment that reads "reference cache not needed for NFS in 2.6"
> > is wrong - we do need it or something like it.
>
> So, the whole reason this was not built for 2.6 was that ostensibly the
> 2.6 kernel already did this sort of caching for nfs. But, last time I
> looked I didn't see anything obvious. Anybody know? :)
nfsd in 2.6 keeps the inodes around, which is 90% of what the open files
cache did. Now what it also does is to not release preallocations
everytime but keep them while the inode is in the refcache. For that
we'll need some additional support, and the best would be an open files
cache like the one Greg has been hacking on for quite a while.
|