Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-5] src/sys/dev



Module Name:    src
Committed By:   snj
Date:           Sat Dec 31 22:11:12 UTC 2011

Modified Files:
        src/sys/dev [netbsd-5]: vnd.c vndvar.h

Log Message:
Pull up following revision(s) (requested by riz in ticket #1705):
        sys/dev/vnd.c: revision 1.218
        sys/dev/vndvar.h: revision 1.31
Make vnd(4) work on sparse files:
- Make the strategy decision a device flag and set VNF_USE_VN_RDWR for
  files known to be sparse.
- Change handle_with_rdwr() to use POSIX_FADV_NOREUSE advise to disable
  read ahead and keep the size of mapped pages below 1 MByte.
No objections on tech-kern@.


To generate a diff of this commit:
cvs rdiff -u -r1.187.4.4 -r1.187.4.5 src/sys/dev/vnd.c
cvs rdiff -u -r1.23 -r1.23.10.1 src/sys/dev/vndvar.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index