Re: invalidate_inode_pages in 2.5.32/3

Trond Myklebust (trond.myklebust@fys.uio.no)
24 Sep 2002 00:43:06 +0200


>>>>> " " == 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
-
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/