Commit Graph

30 Commits

Author SHA1 Message Date
chs aeda8d3b77 Initial integration of the Unified Buffer Cache project. 2000-11-27 08:39:39 +00:00
fvdl 8c28d7e864 Adapt for VOP_FSYNC parameter change. 2000-09-19 22:00:01 +00:00
thorpej 7cc27a88c0 Convert namei pathname buffer allocation to use the pool allocator. 2000-08-03 20:41:05 +00:00
mrg e5dbe33df1 remove redundant vm includes. 2000-06-27 17:53:44 +00:00
phil 799abe9329 Quiet some printfs unless VERBOSE. 2000-04-05 18:39:09 +00:00
augustss a82aeb5508 Kill register declarations. 2000-03-30 11:24:16 +00:00
jdolecek 89015c4648 Add new VFS op routine - vfs_done and call it on filesystem detach
in vfs_detach(). vfs_done may free global filesystem's resources,
typically those allocated in respective filesystem's init function.
Needed so those filesystems which went in via LKM have a chance to
clean after themselves before unloading. This fixes random panics
when LKM for filesystem using pools was loaded and unloaded several
times.

For each leaf filesystem, add appropriate vfs_done routine.
2000-03-16 18:08:17 +00:00
soren 95054da1a1 Fix doubled 'the's in comments. 2000-03-13 23:52:25 +00:00
chs 53a262dfa4 fix DEBUG printfs to compile. 1999-10-31 15:49:27 +00:00
rvb c4c0fb2cd4 Update 00READ with porting instructions 1999-10-18 02:08:43 +00:00
cgd 28d5608977 nuke RCS "Log" tags. They cause problems for third parties importing
our sources, and for NetBSD release engineering folks.  (They've
been against the NetBSD coding style forever, but they crept in anyway.)
1999-10-17 23:39:15 +00:00
wrstuden e682a080e9 In spec_close(), if we're not doing a non-blocking close and VXLOCK is
not set, unlock the vnode before calling the device's close routine and
relock it after it returns. tty close routines will sleep waiting for
buffers to drain, which won't happen often times as the other side needs
to grab the vnode lock first.

Make all unmount routines lock the device vnode before calling VOP_CLOSE().
1999-10-16 23:53:26 +00:00
soren ebf35f8d46 Account for widened v_usecount in struct vnode. 1999-10-01 22:25:59 +00:00
matt 9aab9d330a Make this compile on alpha again. 1999-09-18 05:31:42 +00:00
wrstuden 3bf14d81e9 Add support for fcntl(2) to generate VOP_FCNTL calls. Any fcntl
call with F_FSCTL set and F_SETFL calls generate calls to a new
fileop fo_fcntl. Add genfs_fcntl() and soo_fcntl() which return 0
for F_SETFL and EOPNOTSUPP otherwise. Have all leaf filesystems
use genfs_fcntl().

Reviewed by: thorpej
Tested by: wrstuden
1999-08-03 20:19:16 +00:00
wrstuden 9fc36d6807 Bump osrelease to 1.4E. Add layerfs files, remove null_subr.c.
Update coda to new struct lock in struct vnode.

make fdescfs, kernfs, portalfs, and procfs actually lock their vnodes.
It's not that hard.

Make unionfs set v_vnlock = NULL so any overlayed fs will call its
VOP_LOCK.
1999-07-08 01:26:21 +00:00
rvb 986bcb3e71 Typo/braino? 1999-04-29 22:20:42 +00:00
wrstuden 862a56e88b Modify vfsops to seperate vfs_fhtovp() into two routines. vfs_fhtovp() now
only handles the file handle to vnode conversion, and a new call,
vfs_checkexp(), performs the export verification.
1999-02-26 23:44:43 +00:00
rvb 4b984765e0 Commit a couple of old fixes 1998-12-10 02:22:52 +00:00
ross 19599f6e86 Various trivial LP64 tweaks to squelch some compiler warnings. 1998-11-18 03:09:20 +00:00
rvb b951d6c0cd Lookup now passes up an extra flag. But old veni will
be ok; new veni will check /dev/cfs0 to make sure that a new
kernel is running.
Also, a bug in vc_nb_close iff CODA_SIGNAL's were seen has been
fixed.
1998-11-11 19:22:08 +00:00
rvb e7f0c5989f Change the way unmounting happens to guarantee that the
client programs are allowed to finish up (coda_call is
forced to complete) and release their locks.  Thus there
is a reasonable chance that the vflush implicit in the
unmount will not get hung on held locks.
1998-11-09 16:36:16 +00:00
rvb 626749ed68 Venus must be passed O_CREAT flag on VOP_OPEN iff this is
a creat so that we can will allow a mode 444 file to be
written into.  Sync with the latest coda.h and deal with
collateral damage.
1998-10-28 19:54:47 +00:00
rvb 976280c933 I want to distinguish from DEBUG printouts and CODA_VERBOSE printouts.
The latter are normal informational messages that are sometimes
interesting to view.
1998-09-28 17:55:21 +00:00
tv fb9b823132 DIAGNOSTIC -> DEBUG for all non-panic messages. DIAGNOSTIC is only for
sanity checks and should not turn on any messages not already printed
without it.
1998-09-26 15:24:46 +00:00
rvb c559082b97 Conditionalize "stray" printouts under DIAGNOSTIC and DEBUG.
Make files compile if DEBUG is on (from  Alan Barrett).  Finally,
make coda an lkm.
1998-09-25 15:01:12 +00:00
rvb 9187d28044 Final piece of rename cfs->coda 1998-09-15 02:02:55 +00:00
rvb 0aa47cd025 Change cfs/CFS in symbols, strings and constants to coda/CODA
to avoid fs conflicts.
1998-09-12 15:05:47 +00:00
rvb a00eb709cb Pass2 complete 1998-09-08 17:12:46 +00:00
rvb 2eec68d743 Very Preliminary Coda 1998-08-29 21:26:45 +00:00