Re: invalidate_inode_pages in 2.5.32/3

Daniel Phillips
2002-09-07T07:54:46Z

On Thursday 05 September 2002 20:27, Andrew Morton wrote:
> But be aware that invalidate_inode_pages has always been best-effort.
> If someone is reading, or writing one of those pages then it
> certainly will not be removed. If you need assurances that the
> pagecache has been taken down then we'll need something stronger
> in there.

But what is stopping us now from removing a page from the page cache
even while IO is in progress? (Practical issue: the page lock, but
that's a self-fullfilling prophesy.)

--
Daniel