Re: invalidate_inode_pages in 2.5.32/3

Trond Myklebust
2002-09-05T20:22:34Z

>>>>> " " == Andrew Morton <akpm@zip.com.au> writes:

> It's a bit worrisome if NFS is dependent upon successful
> pagecache takedown in invalidate_inode_pages.

Why? We don't use all that buffer crap, so in principle
invalidate_inode_page() is only supposed to fail for us if

- page is locked (i.e. new read in progress or something like that)
- page is refcounted (by something like mmap()).

neither of which should be the case here.

Cheers,
Trond