Rik,
We think there are good reasons for the FS to know when and how
its data is accessed, although this issue is less significant than
the semantics of writepage() being discussed in this thread.
Referring to the transaction design document I posted several months
ago:
http://marc.theaimsgroup.com/?l=linux-kernel&m=100510090926874&w=2
Our intention is for the file system to be capable of tracking
read and write data-dependencies so that it can safely defer
writing batches of data and still guarantee consistent crash
recovery from the application's point of view. The interaction
between transactions and mmaped regions may leave something to
be desired, and we may not need to know how often pages are or
are not used, but we would like to know which pages are read and
written by whom, even for the case of a page cache hit.
-josh
-- PRCS version control system http://sourceforge.net/projects/prcs Xdelta storage & transport http://sourceforge.net/projects/xdelta Need a concurrent skip list? http://sourceforge.net/projects/skiplist - 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/