Commit Graph

28956 Commits

Author SHA1 Message Date
perseant
fbc5e63cd6 Make sysctl variable lfs_clean_vnhead do what it was supposed to do,
namely, toggle whether vnodes loaded only for cleaning (as opposed to
normal filesystem use) are freed to the *head* of the vnode free list,
rather than the tail.  This should avoid a possible cache flushing
effect, if the cleaner cleans a segment containing a large number of
live inodes.
1999-03-25 22:38:28 +00:00
perseant
cffa290130 Since dirop vnodes can't be flushed, they hold a reference until their
dirop is completely written to disk.  This means that ordinary calls to
ufs vnops which would ordinarily call VOP_INACTIVE through vrele/vput,
don't.  This patch detects that condition after such vnops have been
run, and calls VOP_INACTIVE if it would ordinarily have been called by
the ufs call.
1999-03-25 22:33:03 +00:00
perseant
a3748f1cc7 Fixes to make dirops and lfs_vflush play together well. In particular,
if we are short on vnodes, lfs_vflush from another process can grab a
vnode that lfs_markv has already processed but not yet written; but
lfs_markv holds the seglock.  When lfs_vflush gets around to writing it,
the context for copyin is gone.  So, now lfs_markv calls copyin itself,
rather than having lfs_writeseg do it.
1999-03-25 22:26:52 +00:00
pk
3eab58ceec UVM no longer an option. 1999-03-25 22:21:09 +00:00
pk
422c4dbb41 Put back <uvm/uvm.h> 1999-03-25 22:13:40 +00:00
perseant
6b51bdc17c Lock buffers with B_BUSY between data checksum calculation and write, so
some other process doesn't change the data after it was checksummed.
1999-03-25 22:02:36 +00:00
is
b30a4d19c0 Defopting grf_cc configuration parameters 1999-03-25 21:55:17 +00:00
perseant
1cacaa295f Change lfs_sb_cksum to use offsetof() instead of an inlined version.
Fix lfs_vref/lfs_vunredf to ignore VXLOCKed vnodes that are also being
flushed.

Improve the debugging messages somewhat.
1999-03-25 21:54:10 +00:00
perseant
e6ef2d67dd clean up unused/required #ifdefs 1999-03-25 21:39:18 +00:00
simonb
1132034fe8 If the clock speed is less than 15MHz, we're on a 2100, otherwise a 3100. 1999-03-25 19:55:37 +00:00
mjacob
d3fb0e2ad5 roll internal tag level 1999-03-25 19:41:47 +00:00
mrg
a0139bc39d remove now >1 year old pre-release message. 1999-03-25 18:48:49 +00:00
mrg
54ab2e1e54 clean and up make compile 1999-03-25 17:49:43 +00:00
perry
b476609d5f fix typo 1999-03-25 17:06:38 +00:00
mrg
c3b0d25b27 SPARC32->NETBSD32 1999-03-25 16:58:39 +00:00
mrg
8df6f0c629 regen 1999-03-25 16:32:27 +00:00
mrg
6f5ceb781e include the MD header. 1999-03-25 16:27:56 +00:00
mrg
dc011bcec0 move sparc32 MD bits here. 1999-03-25 16:26:19 +00:00
mrg
a5867d9385 move sparc32 to netbsd32; split out MD part (signal handling) (mostly via repository copy, rename and perl -pi :-) 1999-03-25 16:22:49 +00:00
bouyer
1ff88ee466 Avoid busy-waiting when possible if we are not polling (real IRQ or timeout
callback). Shared PCI IRQ should now work (but still untested).
1999-03-25 16:17:36 +00:00
bouyer
d907e1f61e First pass at support of Compaq NetFlex 3/P PCI: this one has
IO and Mem base address register inverted.
Still need some MII hack to get it fully fonctionnal.
1999-03-25 16:15:00 +00:00
mrg
8f32e2fbc8 regen 1999-03-25 15:51:50 +00:00
mrg
7f7d23b4a6 formatting nits 1999-03-25 15:34:37 +00:00
mrg
ad412a0e07 make this match the main syscalls.master a bit better. 1999-03-25 15:33:48 +00:00
bouyer
e045fbf363 We must handle MNT_NODEV at open time, so add an open op for null and union,
and do proper checks in union_open(). Fix to nullfs from OpenBSD, extended
to umap and union by me.
1999-03-25 13:05:41 +00:00
simonb
e432668f46 callvec.c moved in stand again... 1999-03-25 12:56:18 +00:00
simonb
aff677bcae Updates for new bootblocks. 1999-03-25 12:24:56 +00:00
simonb
5010ae76c0 Remove old (not-enabled) local support for loading kernels. 1999-03-25 12:16:04 +00:00
simonb
b295b577e1 Second stage bootblocks based on original single stage blocks. 1999-03-25 12:11:41 +00:00
simonb
2dde1643c2 Makefile for /boot. 1999-03-25 12:10:12 +00:00
simonb
7c060ce391 Version info for bootblocks. 1999-03-25 11:57:41 +00:00
simonb
26098f27a2 Emtpy twiddle() to save space in stage 1 bootblocks 1999-03-25 05:28:36 +00:00
simonb
b9b7830d05 Unused now. 1999-03-25 05:27:00 +00:00
explorer
f388d47b3b put RCS ids in the right place. And yes, this is a SYNC ppp interface,
used for high-speed (T1, HSSI, DS3) interfaces.
1999-03-25 05:25:42 +00:00
simonb
1e80ec96a0 Only include the dec disklabel at the start of BOOTXX is defined. 1999-03-25 05:23:48 +00:00
simonb
fb11e9e236 Remove unused debugging code, and clean up an error message. 1999-03-25 05:22:44 +00:00
simonb
f490a639c9 Not needed at the moment - may be resurrected when netboot comes along. 1999-03-25 05:19:44 +00:00
simonb
a160a47e1b Fix header botch in previous. 1999-03-25 05:17:49 +00:00
simonb
e213504efd Call main instead of _main. 1999-03-25 05:17:27 +00:00
simonb
c80fb4ccb8 Change from loading an a.out kernel to an ELF /boot. 1999-03-25 05:16:06 +00:00
simonb
0e44e536a0 Include <machine/stdarg.h> and not <stdarg.h> - found by adding
-nostdinc to CPPFLAGS.
1999-03-25 05:13:15 +00:00
sommerfe
342750cf1c Move MNT_NODEVMTIME so it no longer duplicates the value of MNT_EXPUBLIC.
Add  #defines for the four unused flag bits to make this sort of error less
likely in the future
1999-03-25 05:06:32 +00:00
sommerfe
ef07055d58 Disallow tracing of processes unless tracer's root directory is at or
above tracee's root directory.
1999-03-25 04:45:56 +00:00
explorer
eb94e6147c define ETHER_CRC_LEN, for if_vr.c 1999-03-25 04:45:37 +00:00
simonb
7607cac7b3 CVS repository copy to bootxx.c 1999-03-25 04:42:06 +00:00
simonb
70bc63765d CVS repositary copied to ../scsiboot. These are small routines and/or
PROM callbacks used only by the first-stage disk bootblocks.  Other
bootloaders use libsa/libkern.
1999-03-25 04:34:03 +00:00
sommerfe
280a842850 commit fix to PR7072: emulate linux non-blocking connect behavior more correctly 1999-03-25 04:26:45 +00:00
simonb
ec6b2370d9 CVS repositary copied to ../lib. 1999-03-25 04:22:04 +00:00
simonb
e6469a71aa Makefile* of pmax specific SA library - based on i386/stand/lib Makefile. 1999-03-25 04:16:15 +00:00
simonb
88eed19213 Oops, forgot RCS header and copyright. 1999-03-25 04:14:03 +00:00