NetBSD/sys/ufs
perseant 8886b0f4b2 Phase one of my three-phase plan to make LFS play nice with UBC, and bug-fixes
I found while making sure there weren't any new ones.

* Make the write clusters keep track of the buffers whose blocks they contain.
  This should make it possible to (1) write clusters using a page mapping
  instead of malloc, if desired, and (2) schedule blocks for rewriting
  (somewhere else) if a write error occurs.  Code is present to use
  pagemove() to construct the clusters but that is untested and will go away
  anyway in favor of page mapping.
* DEBUG now keeps a log of Ifile writes, so that any lingering instances of
  the "dirty bufs" problem can be properly debugged.
* Keep track of whether the Ifile has been dirtied by various routines that
  can be called by lfs_segwrite, and loop on that until it is clean, for
  a checkpoint.  Checkpoints need to be squeaky clean.
* Warn the user (once) if the Ifile grows larger than is reasonable for their
  buffer cache.  Both lfs_mountfs and lfs_unmount check since the Ifile can
  grow.
* If an inode is not found in a disk block, try rereading the block, under
  the assumption that the block was copied to a cluster and then freed.
* Protect WRITEINPROG() with splbio() to fix a hang in lfs_update.
2002-05-14 20:03:53 +00:00
..
ext2fs use the correct size when zeroing an array. 2002-05-05 17:01:41 +00:00
ffs Commit out code that's no longer used. 2002-05-14 02:46:22 +00:00
lfs Phase one of my three-phase plan to make LFS play nice with UBC, and bug-fixes 2002-05-14 20:03:53 +00:00
mfs Don't use local extern declarations for the mountroot variable or 2002-03-04 02:25:21 +00:00
ufs In ufs_mkdir(), write the data block *before* updating the inode with the 2002-05-14 17:37:52 +00:00
Makefile
files.ufs Cleanup how file system configuration information is declared, grouping 2002-04-16 23:14:05 +00:00