Re: invalidate_inode_pages in 2.5.32/3

Trond Myklebust
2002-09-23T18:41:31Z

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

> Look, idunnoigiveup. Like scsi and USB, NFS is a black hole
> where akpms fear to tread. I think I'll sulk until someone
> explains why this work has to be performed in the context of a
> process which cannot do it.

I'd be happy to move that work out of the RPC callbacks if you could
point out which other processes actually can do it.

The main problem is that the VFS/MM has no way of relabelling pages as
being invalid or no longer up to date: I once proposed simply clearing
PG_uptodate on those pages which cannot be cleared by
invalidate_inode_pages(), but this was not to Linus' taste.

Cheers,
Trond