1 $DragonFly: src/tools/regression/nfsmmap/README,v 1.2 2008/07/09 18:15:10 thomas Exp $
3 These tests are intended to make sure that NFS's use of the
4 b_{valid,dirty}{off,end} fields of struct buf is consistent with the
5 VM system's use of the underlying VM pages.
8 Open the file and write into the file, creating a buf
9 with a valid range and a dirty range
11 Fsync, flushing the dirty range
13 Mmap and read the whole page. Since only part of the page is
14 valid, the VM system must re-read the invalid parts of the
18 This is the same as test1 without the fsync. The VM system
19 should first write out the dirty range and then read the rest
20 of the page. This is currently broken since the vnode_pager
21 doesn't use the original buf for its i/o and therefore the
22 information in b_dirtyoff, b_dirtyend is not available.