In the function 
cachefs_getapage(http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/uts/common/fs/cachefs/cachefs_vnops.c#cachefs_getapage)
 there are two main situations: 1) the requested page is already in memory; 2) 
the requested page is not in memory

let's focus on the first situation(which begins at line 7712). According to the 
code in this branch, cachefs_getapage just returns the page if it's already in 
memory without any consistency check about whether the cache is old. I'm very 
confused, if this is the whole thing, how does consistency is maintained?
-- 
This message posted from opensolaris.org

Reply via email to