Ron Maeder wrote: > On Fri, 28 May 2004, Rik van Riel wrote: > >> On Tue, 25 May 2004, Ron Maeder wrote: >> >>> Is this an "undocumented feature" or is this a linux error? I would >>> expect pages of the mmap()'d file would get paged back to the original >>> file. I know this won't be fast, but the performance is not an issue for >>> this application. >> >> >> It looks like a kernel bug. Can you reproduce this problem >> with the latest 2.6 kernel or is it still there ? >> >> Rik > > > I was able to reproduce the problem with the code that I posted on a 2.6.6 > kernel. > Can you give this NFS patch (from Trond) a try please? (I don't think it is a very good idea for NFS to be using WRITEPAGE_ACTIVATE here. If NFS needs to have good write clustering off the end of the LRU, we need to go about it some other way.)