Re: invalidate_inode_pages in 2.5.32/3

Trond Myklebust
2002-09-23T22:38:23Z

>>>>> " " == Daniel Phillips <phillips@arcor.de> writes:

>> Note that in doing so, we do not want to invalidate any reads
>> or writes that may have been already scheduled. The existing
>> mapping still would need to hang around long enough to permit
>> them to complete.

> With the mechanism I described above, that would just work.
> The fault path would do lock_page, thus waiting for the IO to
> complete.

NFS writes do not hold the page lock until completion. How would you
expect to be able to coalesce writes to the same page if they did?

Cheers,
Trond