Re: Fix knfsd readahead cache in 2.4.15

Andi Kleen (ak@suse.de)
27 Nov 2001 08:16:03 +0100


"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/