Re: Fix knfsd readahead cache in 2.4.15

From: Andi Kleen (ak@suse.de)
Date: Tue Nov 27 2001 - 02:16:03 EST


"David S. Miller" <davem@redhat.com> writes:
>
> There are other problems remaining, this function is a logical
> mess.

It is also broken by design. It forces file systems that need more
state to maintain read/write ahead to maintain their own cache (e.g. XFS
which needs to cache extent allocations)
Better would be to just fix nfsd to cache open file handles, then all
this mess would be done by the VFS. In addition it would be faster
because it wouldn't need to execute an "open()" for every rpc operation.

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



This archive was generated by hypermail 2b29 : Fri Nov 30 2001 - 21:00:25 EST