Re: invalidate_inode_pages in 2.5.32/3

From: Chuck Lever (cel@citi.umich.edu)
Date: Thu Sep 05 2002 - 16:41:23 EST


Andrew Morton wrote:

> Trond Myklebust wrote:
>
>>>>>>>" " == Andrew Morton <akpm@zip.com.au> writes:
>>>>>>>
>> > You may have more success using the stronger
>> > invalidate_inode_pages2().
>>
>>Shouldn't make any difference. Chuck is seeing this on readdir() pages
>>which, of course, don't suffer from problems of dirtiness etc on NFS.
>>
>
> Well the VM will take a ref on the page during reclaim even if it
> is clean.
>
> With what sort of frequency does this happen? If it's easily reproducible
> then dunno. If it's once-an-hour then it may be page reclaim, conceivably.
> The PageLRU debug test in there will tell us.

this happens every time i run test6 on 2.5.32 or 2.5.33. the pages
are not on the LRU, and are not locked, when the NFS client calls
invalidate_inode_pages.

how do these pages get into the page cache? answer:

nfs_readdir_filler is invoked by read_cache_page to fill a page.
when nfs_readdir_filler is invoked in 2.5.31, the page count on the
page to be filled is always 2. when nfs_readdir_filler is invoked
in 2.5.32+, the page count is very often 3, but occasionally it is 2.

         - Chuck Lever

-- 
corporate: 
<cel at netapp dot com>
personal: 
<chucklever at bigfoot dot com>

- 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 : Sat Sep 07 2002 - 22:00:27 EST