Re: [RFC][PATCH] Interface to invalidate regions of mmaps

From: William Lee Irwin III (wli@holomorphy.com)
Date: Tue May 13 2003 - 17:00:41 EST


On Tue, May 13, 2003 at 01:36:36PM -0700, Paul E. McKenney wrote:
> This patch adds an API to allow networked and distributed filesystems
> to invalidate portions of (or all of) a file. This is needed to
> provide POSIX or near-POSIX semantics in such filesystems, as
> discussed on LKML late last year:
> http://marc.theaimsgroup.com/?l=linux-kernel&m=103609089604576&w=2
> http://marc.theaimsgroup.com/?l=linux-kernel&m=103167761917669&w=2

It looks possible to consolidate this with the internals of vmtruncate()
by passing in the maximum value representable by loff_t as the length.

-- wli
-
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 : Thu May 15 2003 - 22:00:48 EST