Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Konrad Schroder <perseant@netbsd.org>
List: source-changes
Date: 08/31/1999 14:03:47
Module Name:	syssrc
Committed By:	perseant
Date:		Tue Aug 31 21:03:47 UTC 1999

Modified Files:
	syssrc/sys/kern [chs-ubc2]: vfs_bio.c vnode_if.src
	syssrc/sys/miscfs/genfs [chs-ubc2]: genfs_vnops.c
	syssrc/sys/nfs [chs-ubc2]: nfs_bio.c
	syssrc/sys/sys [chs-ubc2]: vnode_if.h
	syssrc/sys/ufs/lfs [chs-ubc2]: lfs.h lfs_alloc.c lfs_balloc.c lfs_bio.c
	    lfs_extern.h lfs_inode.c lfs_segment.c lfs_syscalls.c lfs_vfsops.c
	    lfs_vnops.c
	syssrc/sys/ufs/ufs [chs-ubc2]: ufs_readwrite.c
	syssrc/sys/uvm [chs-ubc2]: uvm_vnode.c

Log Message:
Rudimentary support for LFS under UBC:

- LFS-specific VOP_BALLOC and VOP_PUTPAGES vnode ops.

- getblk VREG panic #ifdef'd out (can be reinstated when Ifile is
  internalized and Ifile can be made another type from VREG)

- interface to VOP_PUTPAGES changed to pass all pager flags, not
  just sync.  FS putpages routines must know about the pager flags.

- new LFS magic disk address, -2 ("unwritten"), meaning accounted for
  but not assigned to a fixed disk location (since LFS does these two
  things separately, and the previous accounting method using buffer
  headers no longer will work).  Changed references to (foo == (daddr_t)-1)
  to (foo < 0).  Since disk drivers reject all addresses < 0, this should
  not present a problem for other FSs.


To generate a diff of this commit:
cvs rdiff -r1.58.6.3 -r1.58.6.4 syssrc/sys/kern/vfs_bio.c
cvs rdiff -r1.16.4.6 -r1.16.4.7 syssrc/sys/kern/vnode_if.src
cvs rdiff -r1.11.4.6 -r1.11.4.7 syssrc/sys/miscfs/genfs/genfs_vnops.c
cvs rdiff -r1.45.4.4 -r1.45.4.5 syssrc/sys/nfs/nfs_bio.c
cvs rdiff -r1.15.4.6 -r1.15.4.7 syssrc/sys/sys/vnode_if.h
cvs rdiff -r1.14.4.1 -r1.14.4.2 syssrc/sys/ufs/lfs/lfs.h
cvs rdiff -r1.18.2.2.2.3 -r1.18.2.2.2.4 syssrc/sys/ufs/lfs/lfs_alloc.c
cvs rdiff -r1.12.4.2 -r1.12.4.3 syssrc/sys/ufs/lfs/lfs_balloc.c
cvs rdiff -r1.9.2.1.2.1 -r1.9.2.1.2.2 syssrc/sys/ufs/lfs/lfs_bio.c
cvs rdiff -r1.13.4.2 -r1.13.4.3 syssrc/sys/ufs/lfs/lfs_extern.h
cvs rdiff -r1.22.2.1.2.2 -r1.22.2.1.2.3 syssrc/sys/ufs/lfs/lfs_inode.c
cvs rdiff -r1.23.2.1.2.3 -r1.23.2.1.2.4 syssrc/sys/ufs/lfs/lfs_segment.c
cvs rdiff -r1.26.2.2.2.2 -r1.26.2.2.2.3 syssrc/sys/ufs/lfs/lfs_syscalls.c
cvs rdiff -r1.28.2.1.2.2 -r1.28.2.1.2.3 syssrc/sys/ufs/lfs/lfs_vfsops.c
cvs rdiff -r1.25.2.1.2.4 -r1.25.2.1.2.5 syssrc/sys/ufs/lfs/lfs_vnops.c
cvs rdiff -r1.22.4.6 -r1.22.4.7 syssrc/sys/ufs/ufs/ufs_readwrite.c
cvs rdiff -r1.22.2.1.2.8 -r1.22.2.1.2.9 syssrc/sys/uvm/uvm_vnode.c

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