Re: invalidate_inode_pages in 2.5.32/3

From: Trond Myklebust (trond.myklebust@fys.uio.no)
Date: Mon Sep 23 2002 - 17:43:06 EST


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



This archive was generated by hypermail 2b29 : Mon Sep 23 2002 - 22:00:40 EST