--- - branch: MAIN date: Wed Jun 29 09:12:42 UTC 2011 files: - new: '1.218' old: '1.217' path: src/sys/dev/vnd.c pathrev: src/sys/dev/vnd.c@1.218 type: modified - new: '1.31' old: '1.30' path: src/sys/dev/vndvar.h pathrev: src/sys/dev/vndvar.h@1.31 type: modified id: 20110629T091242Z.3c1badc4f81cc1bf3115b87a9b66c229f5878d65 log: | 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@. module: src subject: 'CVS commit: src/sys/dev' unixtime: '1309338762' user: hannken