Name Date Size #Lines LOC

..--

test1/H02-Jan-2014-7760

test2/H02-Jan-2014-7559

MakefileHD02-Jan-201446 42

READMEHD02-Jan-2014838 2317

README

1$DragonFly: src/tools/regression/nfsmmap/README,v 1.2 2008/07/09 18:15:10 thomas Exp $
2
3These tests are intended to make sure that NFS's use of the
4b_{valid,dirty}{off,end} fields of struct buf is consistent with the
5VM system's use of the underlying VM pages.
6
7Test1:
8          Open the file and write into the file, creating a buf
9          with a valid range and a dirty range
10
11          Fsync, flushing the dirty range
12
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
15          page.
16
17Test2:
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.
23