lkml.org 
[lkml]   [2001]   [Nov]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Fix knfsd readahead cache in 2.4.15
From
Date
"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/

\
 
 \ /
  Last update: 2005-03-22 13:13    [W:0.027 / U:0.452 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site