From owner-cvs-all Thu Sep 16 22:34: 4 1999 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 83B9514D8F; Thu, 16 Sep 1999 22:34:01 -0700 (PDT) (envelope-from dillon@FreeBSD.org) Received: (from dillon@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id WAA53277; Thu, 16 Sep 1999 22:34:01 -0700 (PDT) (envelope-from dillon@FreeBSD.org) Message-Id: <199909170534.WAA53277@freefall.freebsd.org> From: Matt Dillon Date: Thu, 16 Sep 1999 22:34:00 -0700 (PDT) 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 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk 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 , David Greenman 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