Go to file
perseant b397c875ae Add code to UBCify LFS. This is still behind "#ifdef LFS_UBC" for now
(there are still some details to work out) but expect that to go
away soon.  To support these basic changes (creation of lfs_putpages,
lfs_gop_write, mods to lfs_balloc) several other changes were made, to
wit:

* Create a writer daemon kernel thread whose purpose is to handle page
  writes for the pagedaemon, but which also takes over some of the
  functions of lfs_check().  This thread is started the first time an
  LFS is mounted.

* Add a "flags" parameter to GOP_SIZE.  Current values are
  GOP_SIZE_READ, meaning that the call should return the size of the
  in-core version of the file, and GOP_SIZE_WRITE, meaning that it
  should return the on-disk size.  One of GOP_SIZE_READ or
  GOP_SIZE_WRITE must be specified.

* Instead of using malloc(...M_WAITOK) for everything, reserve enough
  resources to get by and use malloc(...M_NOWAIT), using the reserves if
  necessary.  Use the pool subsystem for structures small enough that
  this is feasible.  This also obsoletes LFS_THROTTLE.

And a few that are not strictly necessary:

* Moves the LFS inode extensions off onto a separately allocated
  structure; getting closer to LFS as an LKM.  "Welcome to 1.6O."

* Unified GOP_ALLOC between FFS and LFS.

* Update LFS copyright headers to correct values.

* Actually cast to unsigned in lfs_shellsort, like the comment says.

* Keep track of which segments were empty before the previous
  checkpoint; any segments that pass two checkpoints both dirty and
  empty can be summarily cleaned.  Do this.  Right now lfs_segclean
  still works, but this should be turned into an effectless
  compatibility syscall.
2003-02-17 23:48:08 +00:00
bin 'NetBSD.org' 2003-02-14 16:17:30 +00:00
crypto "Utilize" has exactly the same meaning as "use," but it is more 2003-02-04 23:07:28 +00:00
dist Import once more, this time stripping $'s from RCS Ids, so that they 2003-02-16 09:19:10 +00:00
distrib we really should install the GENERIC kernel by default. 2003-02-17 16:31:05 +00:00
doc file-3.40 out. 2003-02-17 12:24:13 +00:00
etc change behaviour of 'reload' to only reload the NAT rules and NOT flush 2003-02-16 22:18:46 +00:00
games Use pipe ("|") as a sed command field separator and allow slash ("/") 2003-02-06 15:17:01 +00:00
gnu Include both application threads and "raw" LWPs in GDB's list of 2003-02-17 20:32:04 +00:00
include add POSIX sigtimedwait(), sigwaitinfo(), sigwait() - wait for queued signals 2003-02-15 21:11:47 +00:00
lib Fix resize of windows with subwins. 2003-02-17 11:07:19 +00:00
libexec Add code to UBCify LFS. This is still behind "#ifdef LFS_UBC" for now 2003-02-17 23:48:08 +00:00
regress Don't build these unless this can also pass the build tests that 2003-02-12 22:30:19 +00:00
rescue Enable MIPS now that crunchgen works again for this arch. 2003-01-29 11:32:45 +00:00
sbin Add code to UBCify LFS. This is still behind "#ifdef LFS_UBC" for now 2003-02-17 23:48:08 +00:00
share add copyright notices 2003-02-17 20:07:06 +00:00
sys Add code to UBCify LFS. This is still behind "#ifdef LFS_UBC" for now 2003-02-17 23:48:08 +00:00
tools replace DIST with GNUHOSTDIST, and don't unconditionally define it 2003-02-07 01:52:51 +00:00
usr.bin Fiddle with screen layout to generate room for longer labels on the 2003-02-17 19:30:33 +00:00
usr.sbin Add code to UBCify LFS. This is still behind "#ifdef LFS_UBC" for now 2003-02-17 23:48:08 +00:00
build.sh Enhance "kernel=" to print pathnames of newly built kernels for cut & paste. 2003-02-16 04:35:03 +00:00
BUILDING Fix example 3; the build.sh target is "install" not "installworld". 2003-02-08 10:00:33 +00:00
Makefile - Add "sets" top-level Makefile target and build.sh operation. 2003-01-26 06:19:12 +00:00
Makefile.inc don't set KERNSRCDIR here; pull in <bsd.kernobj.mk> if you need it 2002-04-10 14:53:43 +00:00
UPDATING add entry for smmsp user/group. 2003-02-06 04:37:59 +00:00