Skip to contentSkip to conversation

Fix knfsd readahead cache in 2.4.15

DISCUSSION Andi Kleen 1 participant 1 message Nov 27, 2001 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Andi Kleen

author
#1 lore raw
Quoted 3 lines · David S. Miller

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