Date: Thu, 16 Sep 1999 22:34:00 -0700 (PDT) From: Matt Dillon <dillon@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sys vnioctl.h src/usr.sbin/vnconfig vnconfig.8 vnconfig.c src/sys/dev/vn vn.c Message-ID: <199909170534.WAA53277@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
dillon 1999/09/16 22:34:00 PDT Modified files: sys/sys vnioctl.h usr.sbin/vnconfig vnconfig.8 vnconfig.c sys/dev/vn vn.c Log: Fix a bug in the block number calculation for VN disks with a sector size != 512 that are configured without a label. The bug should only have effected swap-backed VN mounts without a label. Add several major features to VN. In the kernel we add a swap pre-reservation capability, which can be used to guarentee seek consistency for swap-backed VN nodes. This also incidently allows a swap-backed VN filesystem to be recovered after a crash in some cases (if the same swap blocks happen to be reserved). We also add a number of new options to vnconfig which do the work of pre-zeroing or creating/truncating/extending a file which greatly simplifies using VN in a file-backed configuration. Add FreeBSD CVS label to sys/sys/vnioctl.h, as well as a new ioctl flag for the swap pre-reservation feature. Reviewed by: Alan Cox <alc@cs.rice.edu>, David Greenman <dg@root.com> Revision Changes Path 1.4 +3 -0 src/sys/sys/vnioctl.h 1.11 +24 -4 src/usr.sbin/vnconfig/vnconfig.8 1.13 +97 -9 src/usr.sbin/vnconfig/vnconfig.c 1.94 +49 -11 src/sys/dev/vn/vn.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199909170534.WAA53277>