Remove the RCS "Log" and all the verbiage it has generated.
This commit is contained in:
parent
409aadb1c9
commit
14b672a638
113
sys/coda/cnode.h
113
sys/coda/cnode.h
@ -27,7 +27,7 @@
|
||||
* Mellon the rights to redistribute these changes without encumbrance.
|
||||
*
|
||||
* @(#) src/sys/coda/cnode.h,v 1.1.1.1 1998/08/29 21:14:52 rvb Exp $
|
||||
* $Id: cnode.h,v 1.4 1998/09/13 13:57:59 rvb Exp $
|
||||
* $Id: cnode.h,v 1.5 1998/11/11 20:32:20 rvb Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
@ -44,117 +44,6 @@
|
||||
* Contributers include David Steere, James Kistler, and M. Satyanarayanan.
|
||||
*/
|
||||
|
||||
/*
|
||||
* HISTORY
|
||||
* $Log: cnode.h,v $
|
||||
* Revision 1.4 1998/09/13 13:57:59 rvb
|
||||
* Finish conversion of cfs -> coda
|
||||
*
|
||||
* Revision 1.3 1998/09/11 18:50:17 rvb
|
||||
* All the references to cfs, in symbols, structs, and strings
|
||||
* have been changed to coda. (Same for CFS.)
|
||||
*
|
||||
* Revision 1.2 1998/09/02 19:09:53 rvb
|
||||
* Pass2 complete
|
||||
*
|
||||
* Revision 1.1.1.1 1998/08/29 21:14:52 rvb
|
||||
* Very Preliminary Coda
|
||||
*
|
||||
* Revision 1.10 1998/08/28 18:12:25 rvb
|
||||
* Now it also works on FreeBSD -current. This code will be
|
||||
* committed to the FreeBSD -current and NetBSD -current
|
||||
* trees. It will then be tailored to the particular platform
|
||||
* by flushing conditional code.
|
||||
*
|
||||
* Revision 1.9 1998/08/18 17:05:24 rvb
|
||||
* Don't use __RCSID now
|
||||
*
|
||||
* Revision 1.8 1998/08/18 16:31:49 rvb
|
||||
* Sync the code for NetBSD -current; test on 1.3 later
|
||||
*
|
||||
* Revision 1.7 98/02/24 22:22:53 rvb
|
||||
* Fixes up mainly to flush iopen and friends
|
||||
*
|
||||
* Revision 1.6 98/01/31 20:53:19 rvb
|
||||
* First version that works on FreeBSD 2.2.5
|
||||
*
|
||||
* Revision 1.5 98/01/23 11:53:51 rvb
|
||||
* Bring RVB_CODA1_1 to HEAD
|
||||
*
|
||||
* Revision 1.4.2.5 98/01/23 11:21:14 rvb
|
||||
* Sync with 2.2.5
|
||||
*
|
||||
* Revision 1.4.2.4 98/01/22 13:03:38 rvb
|
||||
* Had Breaken ls .
|
||||
*
|
||||
* Revision 1.4.2.3 97/12/19 14:26:09 rvb
|
||||
* session id
|
||||
*
|
||||
* Revision 1.4.2.2 97/12/16 12:40:24 rvb
|
||||
* Sync with 1.3
|
||||
*
|
||||
* Revision 1.4.2.1 97/12/06 17:41:28 rvb
|
||||
* Sync with peters coda.h
|
||||
*
|
||||
* Revision 1.4 97/12/05 10:39:30 rvb
|
||||
* Read CHANGES
|
||||
*
|
||||
* Revision 1.3.18.2 97/11/12 12:09:45 rvb
|
||||
* reorg pass1
|
||||
*
|
||||
* Revision 1.3.18.1 97/10/29 16:06:31 rvb
|
||||
* Kill DYING
|
||||
*
|
||||
* Revision 1.3 1996/12/12 22:11:03 bnoble
|
||||
* Fixed the "downcall invokes venus operation" deadlock in all known cases.
|
||||
* There may be more.
|
||||
*
|
||||
* Revision 1.2 1996/01/02 16:57:26 bnoble
|
||||
* Added support for Coda MiniCache and raw inode calls (final commit)
|
||||
*
|
||||
* Revision 1.1.2.1 1995/12/20 01:57:53 bnoble
|
||||
* Added CODA-specific files
|
||||
*
|
||||
* Revision 3.1.1.1 1995/03/04 19:08:23 bnoble
|
||||
* Branch for NetBSD port revisions
|
||||
*
|
||||
* Revision 3.1 1995/03/04 19:08:23 bnoble
|
||||
* Bump to major revision 3 to prepare for NetBSD port
|
||||
*
|
||||
* Revision 2.2 1994/12/06 13:39:18 dcs
|
||||
* Add a flag value to indicate a cnode was orphaned, e.g. the venus
|
||||
* that created it has exited. This will allow one to restart venus
|
||||
* even though some process may be cd'd into /coda.
|
||||
*
|
||||
* Revision 2.1 94/07/21 16:25:33 satya
|
||||
* Conversion to C++ 3.0; start of Coda Release 2.0
|
||||
*
|
||||
* Revision 1.2.7.1 94/06/16 11:26:02 raiff
|
||||
* Branch for release beta-16Jun1994_39118
|
||||
*
|
||||
* Revision 1.2 92/10/27 17:58:41 lily
|
||||
* merge kernel/latest and alpha/src/cfs
|
||||
*
|
||||
* Revision 2.3 92/09/30 14:16:53 mja
|
||||
* Picked up fixed #ifdef _KERNEL. Also...
|
||||
*
|
||||
* Substituted rvb's history blurb so that we agree with Mach 2.5 sources.
|
||||
* [91/02/09 jjk]
|
||||
*
|
||||
* Added contributors blurb.
|
||||
* [90/12/13 jjk]
|
||||
*
|
||||
* Revision 2.2 90/07/05 11:27:24 mrt
|
||||
* Created for the Coda File System.
|
||||
* [90/05/23 dcs]
|
||||
*
|
||||
* Revision 1.4 90/05/31 17:02:16 dcs
|
||||
* Prepare for merge with facilities kernel.
|
||||
*
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef _CNODE_H_
|
||||
#define _CNODE_H_
|
||||
|
||||
|
@ -27,7 +27,7 @@
|
||||
* Mellon the rights to redistribute these changes without encumbrance.
|
||||
*
|
||||
* @(#) src/sys/coda/coda_io.h,v 1.1.1.1 1998/08/29 21:14:52 rvb Exp $
|
||||
* $Id: coda_io.h,v 1.3 1998/09/11 18:50:17 rvb Exp $
|
||||
* $Id: coda_io.h,v 1.4 1998/09/13 13:57:59 rvb Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
@ -44,75 +44,6 @@
|
||||
* Contributers include David Steere, James Kistler, and M. Satyanarayanan.
|
||||
*/
|
||||
|
||||
/*
|
||||
* HISTORY
|
||||
* $Log: coda_io.h,v $
|
||||
* Revision 1.3 1998/09/11 18:50:17 rvb
|
||||
* All the references to cfs, in symbols, structs, and strings
|
||||
* have been changed to coda. (Same for CFS.)
|
||||
*
|
||||
* Revision 1.2 1998/09/02 19:09:53 rvb
|
||||
* Pass2 complete
|
||||
*
|
||||
* Revision 1.1.1.1 1998/08/29 21:14:52 rvb
|
||||
* Very Preliminary Coda
|
||||
*
|
||||
* Revision 1.5 1998/08/18 17:05:23 rvb
|
||||
* Don't use __RCSID now
|
||||
*
|
||||
* Revision 1.4 1998/08/18 16:31:47 rvb
|
||||
* Sync the code for NetBSD -current; test on 1.3 later
|
||||
*
|
||||
* Revision 1.3 98/01/23 11:53:49 rvb
|
||||
* Bring RVB_CODA1_1 to HEAD
|
||||
*
|
||||
* Revision 1.2.38.1 97/12/16 12:40:22 rvb
|
||||
* Sync with 1.3
|
||||
*
|
||||
* Revision 1.2 96/01/02 16:57:15 bnoble
|
||||
* Added support for Coda MiniCache and raw inode calls (final commit)
|
||||
*
|
||||
* Revision 1.1.2.1 1995/12/20 01:57:42 bnoble
|
||||
* Added CODA-specific files
|
||||
*
|
||||
* Revision 3.1.1.1 1995/03/04 19:08:20 bnoble
|
||||
* Branch for NetBSD port revisions
|
||||
*
|
||||
* Revision 3.1 1995/03/04 19:08:20 bnoble
|
||||
* Bump to major revision 3 to prepare for NetBSD port
|
||||
*
|
||||
* Revision 2.1 1994/07/21 16:25:25 satya
|
||||
* Conversion to C++ 3.0; start of Coda Release 2.0
|
||||
*
|
||||
* Revision 1.3 94/06/14 16:53:47 dcs
|
||||
* Added support for ODY-like mounting in the kernel (SETS)
|
||||
*
|
||||
* Revision 1.3 94/06/14 16:48:03 dcs
|
||||
* Added support for ODY-like mounting in the kernel (SETS)
|
||||
*
|
||||
* Revision 1.2 92/10/27 17:58:28 lily
|
||||
* merge kernel/latest and alpha/src/cfs
|
||||
*
|
||||
* Revision 1.1 92/04/03 17:35:34 satya
|
||||
* Initial revision
|
||||
*
|
||||
* Revision 1.5 91/02/09 12:53:26 jjk
|
||||
* Substituted rvb's history blurb so that we agree with Mach 2.5 sources.
|
||||
*
|
||||
* Revision 2.2.1.1 91/01/06 22:08:22 rvb
|
||||
* Created for the Coda File System.
|
||||
* [90/05/23 dcs]
|
||||
*
|
||||
* Revision 1.3 90/07/19 10:23:05 dcs
|
||||
* Added ; to cfs_resize definition for port to 386.
|
||||
*
|
||||
* Revision 1.2 90/05/31 17:02:09 dcs
|
||||
* Prepare for merge with facilities kernel.
|
||||
*
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef _CODAIO_H_
|
||||
#define _CODAIO_H_
|
||||
|
||||
|
@ -27,7 +27,7 @@
|
||||
* Mellon the rights to redistribute these changes without encumbrance.
|
||||
*
|
||||
* @(#) src/sys/coda/coda_namecache.c,v 1.1.1.1 1998/08/29 21:14:52 rvb Exp $
|
||||
* $Id: coda_namecache.c,v 1.7 1998/09/28 20:52:58 rvb Exp $
|
||||
* $Id: coda_namecache.c,v 1.8 1998/10/28 19:33:50 rvb Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
@ -44,156 +44,6 @@
|
||||
* Contributers include David Steere, James Kistler, and M. Satyanarayanan.
|
||||
*/
|
||||
|
||||
/*
|
||||
* HISTORY
|
||||
* $Log: coda_namecache.c,v $
|
||||
* Revision 1.7 1998/09/28 20:52:58 rvb
|
||||
* Cleanup and fix THE bug
|
||||
*
|
||||
* Revision 1.6 1998/09/25 17:38:31 rvb
|
||||
* Put "stray" printouts under DIAGNOSTIC. Make everything build
|
||||
* with DEBUG on. Add support for lkm. (The macro's don't work
|
||||
* for me; for a good chuckle look at the end of coda_fbsd.c.)
|
||||
*
|
||||
* Revision 1.5 1998/09/13 13:57:59 rvb
|
||||
* Finish conversion of cfs -> coda
|
||||
*
|
||||
* Revision 1.4 1998/09/11 18:50:17 rvb
|
||||
* All the references to cfs, in symbols, structs, and strings
|
||||
* have been changed to coda. (Same for CFS.)
|
||||
*
|
||||
* Revision 1.2 1998/09/02 19:09:53 rvb
|
||||
* Pass2 complete
|
||||
*
|
||||
* Revision 1.1.1.1 1998/08/29 21:14:52 rvb
|
||||
* Very Preliminary Coda
|
||||
*
|
||||
* Revision 1.11 1998/08/28 18:12:16 rvb
|
||||
* Now it also works on FreeBSD -current. This code will be
|
||||
* committed to the FreeBSD -current and NetBSD -current
|
||||
* trees. It will then be tailored to the particular platform
|
||||
* by flushing conditional code.
|
||||
*
|
||||
* Revision 1.10 1998/08/18 17:05:14 rvb
|
||||
* Don't use __RCSID now
|
||||
*
|
||||
* Revision 1.9 1998/08/18 16:31:39 rvb
|
||||
* Sync the code for NetBSD -current; test on 1.3 later
|
||||
*
|
||||
* Revision 1.8 98/01/31 20:53:10 rvb
|
||||
* First version that works on FreeBSD 2.2.5
|
||||
*
|
||||
* Revision 1.7 98/01/23 11:53:39 rvb
|
||||
* Bring RVB_CODA1_1 to HEAD
|
||||
*
|
||||
* Revision 1.6.2.4 98/01/23 11:21:02 rvb
|
||||
* Sync with 2.2.5
|
||||
*
|
||||
* Revision 1.6.2.3 97/12/16 12:40:03 rvb
|
||||
* Sync with 1.3
|
||||
*
|
||||
* Revision 1.6.2.2 97/12/09 16:07:10 rvb
|
||||
* Sync with vfs/include/coda.h
|
||||
*
|
||||
* Revision 1.6.2.1 97/12/06 17:41:18 rvb
|
||||
* Sync with peters coda.h
|
||||
*
|
||||
* Revision 1.6 97/12/05 10:39:13 rvb
|
||||
* Read CHANGES
|
||||
*
|
||||
* Revision 1.5.4.7 97/11/25 08:08:43 rvb
|
||||
* cfs_venus ... done; until cred/vattr change
|
||||
*
|
||||
* Revision 1.5.4.6 97/11/24 15:44:43 rvb
|
||||
* Final cfs_venus.c w/o macros, but one locking bug
|
||||
*
|
||||
* Revision 1.5.4.5 97/11/20 11:46:38 rvb
|
||||
* Capture current cfs_venus
|
||||
*
|
||||
* Revision 1.5.4.4 97/11/18 10:27:13 rvb
|
||||
* cfs_nbsd.c is DEAD!!!; integrated into cfs_vf/vnops.c
|
||||
* cfs_nb_foo and cfs_foo are joined
|
||||
*
|
||||
* Revision 1.5.4.3 97/11/13 22:02:57 rvb
|
||||
* pass2 cfs_NetBSD.h mt
|
||||
*
|
||||
* Revision 1.5.4.2 97/11/12 12:09:35 rvb
|
||||
* reorg pass1
|
||||
*
|
||||
* Revision 1.5.4.1 97/10/28 23:10:12 rvb
|
||||
* >64Meg; venus can be killed!
|
||||
*
|
||||
* Revision 1.5 97/08/05 11:08:01 lily
|
||||
* Removed cfsnc_replace, replaced it with a coda_find, unhash, and
|
||||
* rehash. This fixes a cnode leak and a bug in which the fid is
|
||||
* not actually replaced. (cfs_namecache.c, cfsnc.h, cfs_subr.c)
|
||||
*
|
||||
* Revision 1.4 96/12/12 22:10:57 bnoble
|
||||
* Fixed the "downcall invokes venus operation" deadlock in all known cases.
|
||||
* There may be more
|
||||
*
|
||||
* Revision 1.3 1996/11/08 18:06:09 bnoble
|
||||
* Minor changes in vnode operation signature, VOP_UPDATE signature, and
|
||||
* some newly defined bits in the include files.
|
||||
*
|
||||
* Revision 1.2 1996/01/02 16:56:50 bnoble
|
||||
* Added support for Coda MiniCache and raw inode calls (final commit)
|
||||
*
|
||||
* Revision 1.1.2.1 1995/12/20 01:57:15 bnoble
|
||||
* Added CODA-specific files
|
||||
*
|
||||
* Revision 3.1.1.1 1995/03/04 19:07:57 bnoble
|
||||
* Branch for NetBSD port revisions
|
||||
*
|
||||
* Revision 3.1 1995/03/04 19:07:56 bnoble
|
||||
* Bump to major revision 3 to prepare for NetBSD port
|
||||
*
|
||||
* Revision 2.3 1994/10/14 09:57:54 dcs
|
||||
* Made changes 'cause sun4s have braindead compilers
|
||||
*
|
||||
* Revision 2.2 94/08/28 19:37:35 luqi
|
||||
* Add a new CODA_REPLACE call to allow venus to replace a ViceFid in the
|
||||
* mini-cache.
|
||||
*
|
||||
* In "cfs.h":
|
||||
* Add CODA_REPLACE decl.
|
||||
*
|
||||
* In "cfs_namecache.c":
|
||||
* Add routine cfsnc_replace.
|
||||
*
|
||||
* In "cfs_subr.c":
|
||||
* Add case-statement to process CODA_REPLACE.
|
||||
*
|
||||
* In "cfsnc.h":
|
||||
* Add decl for CODA_NC_REPLACE.
|
||||
*
|
||||
*
|
||||
* Revision 2.1 94/07/21 16:25:15 satya
|
||||
* Conversion to C++ 3.0; start of Coda Release 2.0
|
||||
*
|
||||
* Revision 1.2 92/10/27 17:58:21 lily
|
||||
* merge kernel/latest and alpha/src/cfs
|
||||
*
|
||||
* Revision 2.3 92/09/30 14:16:20 mja
|
||||
* call coda_flush instead of calling inode_uncache_try directly
|
||||
* (from dcs). Also...
|
||||
*
|
||||
* Substituted rvb's history blurb so that we agree with Mach 2.5 sources.
|
||||
* [91/02/09 jjk]
|
||||
*
|
||||
* Added contributors blurb.
|
||||
* [90/12/13 jjk]
|
||||
*
|
||||
* Revision 2.2 90/07/05 11:26:30 mrt
|
||||
* Created for the Coda File System.
|
||||
* [90/05/23 dcs]
|
||||
*
|
||||
* Revision 1.3 90/05/31 17:01:24 dcs
|
||||
* Prepare for merge with facilities kernel.
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
/*
|
||||
* This module contains the routines to implement the CODA name cache. The
|
||||
* purpose of this cache is to reduce the cost of translating pathnames
|
||||
|
@ -27,7 +27,7 @@
|
||||
* Mellon the rights to redistribute these changes without encumbrance.
|
||||
*
|
||||
* @(#) src/sys/coda/coda_namecache.h,v 1.1.1.1 1998/08/29 21:14:52 rvb Exp $
|
||||
* $Id: coda_namecache.h,v 1.3 1998/09/11 18:50:17 rvb Exp $
|
||||
* $Id: coda_namecache.h,v 1.4 1998/09/13 13:57:59 rvb Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
@ -44,97 +44,6 @@
|
||||
* Contributers include David Steere, James Kistler, and M. Satyanarayanan.
|
||||
*/
|
||||
|
||||
/*
|
||||
* HISTORY
|
||||
* $Log: coda_namecache.h,v $
|
||||
* Revision 1.3 1998/09/11 18:50:17 rvb
|
||||
* All the references to cfs, in symbols, structs, and strings
|
||||
* have been changed to coda. (Same for CFS.)
|
||||
*
|
||||
* Revision 1.2 1998/09/02 19:09:53 rvb
|
||||
* Pass2 complete
|
||||
*
|
||||
* Revision 1.1.1.1 1998/08/29 21:14:52 rvb
|
||||
* Very Preliminary Coda
|
||||
*
|
||||
* Revision 1.8 1998/08/28 18:12:25 rvb
|
||||
* Now it also works on FreeBSD -current. This code will be
|
||||
* committed to the FreeBSD -current and NetBSD -current
|
||||
* trees. It will then be tailored to the particular platform
|
||||
* by flushing conditional code.
|
||||
*
|
||||
* Revision 1.7 1998/08/18 17:05:24 rvb
|
||||
* Don't use __RCSID now
|
||||
*
|
||||
* Revision 1.6 1998/08/18 16:31:49 rvb
|
||||
* Sync the code for NetBSD -current; test on 1.3 later
|
||||
*
|
||||
* Revision 1.5 98/01/23 11:53:51 rvb
|
||||
* Bring RVB_CODA1_1 to HEAD
|
||||
*
|
||||
* Revision 1.4.2.1 97/12/16 12:40:23 rvb
|
||||
* Sync with 1.3
|
||||
*
|
||||
* Revision 1.4 97/12/05 10:39:29 rvb
|
||||
* Read CHANGES
|
||||
*
|
||||
* Revision 1.3.4.3 97/11/24 15:44:51 rvb
|
||||
* Final cfs_venus.c w/o macros, but one locking bug
|
||||
*
|
||||
* Revision 1.3.4.2 97/11/12 12:09:44 rvb
|
||||
* reorg pass1
|
||||
*
|
||||
* Revision 1.3.4.1 97/11/06 21:06:05 rvb
|
||||
* don't include headers in headers
|
||||
*
|
||||
* Revision 1.3 97/08/05 11:08:19 lily
|
||||
* Removed cfsnc_replace, replaced it with a coda_find, unhash, and
|
||||
* rehash. This fixes a cnode leak and a bug in which the fid is
|
||||
* not actually replaced. (cfs_namecache.c, cfsnc.h, cfs_subr.c)
|
||||
*
|
||||
* Revision 1.2 96/01/02 16:57:19 bnoble
|
||||
* Added support for Coda MiniCache and raw inode calls (final commit)
|
||||
*
|
||||
* Revision 1.1.2.1 1995/12/20 01:57:45 bnoble
|
||||
* Added CODA-specific files
|
||||
*
|
||||
* Revision 3.1.1.1 1995/03/04 19:08:22 bnoble
|
||||
* Branch for NetBSD port revisions
|
||||
*
|
||||
* Revision 3.1 1995/03/04 19:08:21 bnoble
|
||||
* Bump to major revision 3 to prepare for NetBSD port
|
||||
*
|
||||
* Revision 2.2 1994/08/28 19:37:39 luqi
|
||||
* Add a new CODA_REPLACE call to allow venus to replace a ViceFid in the
|
||||
* mini-cache.
|
||||
*
|
||||
* In "cfs.h":
|
||||
* Add CODA_REPLACE decl.
|
||||
*
|
||||
* In "cfs_namecache.c":
|
||||
* Add routine cfsnc_replace.
|
||||
*
|
||||
* In "cfs_subr.c":
|
||||
* Add case-statement to process CODA_REPLACE.
|
||||
*
|
||||
* In "cfsnc.h":
|
||||
* Add decl for CODA_NC_REPLACE.
|
||||
*
|
||||
* Revision 2.1 94/07/21 16:25:27 satya
|
||||
* Conversion to C++ 3.0; start of Coda Release 2.0
|
||||
*
|
||||
* Revision 1.2 92/10/27 17:58:34 lily
|
||||
* merge kernel/latest and alpha/src/cfs
|
||||
*
|
||||
* Revision 2.2 90/07/05 11:27:04 mrt
|
||||
* Created for the Coda File System.
|
||||
* [90/05/23 dcs]
|
||||
*
|
||||
* Revision 1.4 90/05/31 17:02:12 dcs
|
||||
* Prepare for merge with facilities kernel.
|
||||
*
|
||||
*
|
||||
*/
|
||||
#ifndef _CODA_NC_HEADER_
|
||||
#define _CODA_NC_HEADER_
|
||||
|
||||
|
@ -27,7 +27,7 @@
|
||||
* Mellon the rights to redistribute these changes without encumbrance.
|
||||
*
|
||||
* @(#) src/sys/coda/coda_pioctl.h,v 1.1.1.1 1998/08/29 21:14:52 rvb Exp $
|
||||
* $Id: coda_pioctl.h,v 1.3 1998/09/11 18:50:17 rvb Exp $
|
||||
* $Id: coda_pioctl.h,v 1.4 1998/09/13 13:57:59 rvb Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
@ -40,69 +40,6 @@
|
||||
* the terms and conditions for use and redistribution.
|
||||
*/
|
||||
|
||||
/*
|
||||
* HISTORY
|
||||
* $Log: coda_pioctl.h,v $
|
||||
* Revision 1.3 1998/09/11 18:50:17 rvb
|
||||
* All the references to cfs, in symbols, structs, and strings
|
||||
* have been changed to coda. (Same for CFS.)
|
||||
*
|
||||
* Revision 1.2 1998/09/02 19:09:53 rvb
|
||||
* Pass2 complete
|
||||
*
|
||||
* Revision 1.1.1.1 1998/08/29 21:14:52 rvb
|
||||
* Very Preliminary Coda
|
||||
*
|
||||
* Revision 1.7 1998/08/28 18:12:26 rvb
|
||||
* Now it also works on FreeBSD -current. This code will be
|
||||
* committed to the FreeBSD -current and NetBSD -current
|
||||
* trees. It will then be tailored to the particular platform
|
||||
* by flushing conditional code.
|
||||
*
|
||||
* Revision 1.6 1998/08/18 17:05:26 rvb
|
||||
* Don't use __RCSID now
|
||||
*
|
||||
* Revision 1.5 1998/08/18 16:31:51 rvb
|
||||
* Sync the code for NetBSD -current; test on 1.3 later
|
||||
*
|
||||
* Revision 1.4 98/01/23 11:53:54 rvb
|
||||
* Bring RVB_CODA1_1 to HEAD
|
||||
*
|
||||
* Revision 1.3.2.1 97/12/06 17:41:29 rvb
|
||||
* Sync with peters coda.h
|
||||
*
|
||||
* Revision 1.3 97/12/05 10:39:31 rvb
|
||||
* Read CHANGES
|
||||
*
|
||||
* Revision 1.2.34.2 97/11/13 22:03:06 rvb
|
||||
* pass2 cfs_NetBSD.h mt
|
||||
*
|
||||
* Revision 1.2.34.1 97/11/12 12:38:11 rvb
|
||||
* mach_vioctl.h -> pioctl.h
|
||||
*
|
||||
* Revision 1.2 96/01/02 16:57:27 bnoble
|
||||
* Added support for Coda MiniCache and raw inode calls (final commit)
|
||||
*
|
||||
* Revision 1.1.2.1 1995/12/20 01:57:54 bnoble
|
||||
* Added CODA-specific files
|
||||
*
|
||||
* Revision 2.4 90/08/30 11:51:12 bohman
|
||||
* Ioctl changes for STDC.
|
||||
* [90/08/28 bohman]
|
||||
*
|
||||
* Revision 2.3 89/03/09 22:10:26 rpd
|
||||
* More cleanup.
|
||||
*
|
||||
* Revision 2.2 89/02/25 17:58:32 gm0w
|
||||
* Changes for cleanup.
|
||||
*
|
||||
* 7-Feb-87 Avadis Tevanian (avie) at Carnegie-Mellon University
|
||||
* No need for VICE conditional.
|
||||
*
|
||||
* 22-Oct-86 Jay Kistler (jjk) at Carnegie-Mellon University
|
||||
* Created from Andrew's vice.h and viceioctl.h.
|
||||
*
|
||||
*/
|
||||
/*
|
||||
* ITC Remote file system - vice ioctl interface module
|
||||
*/
|
||||
|
@ -27,7 +27,7 @@
|
||||
* Mellon the rights to redistribute these changes without encumbrance.
|
||||
*
|
||||
* @(#) src/sys/coda/coda_psdev.c,v 1.1.1.1 1998/08/29 21:14:52 rvb Exp $
|
||||
* $Id: coda_psdev.c,v 1.9 1998/11/11 20:32:20 rvb Exp $
|
||||
* $Id: coda_psdev.c,v 1.10 1999/01/17 21:04:53 peter Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
@ -50,140 +50,6 @@
|
||||
* porting coda. -- DCS 10/12/94
|
||||
*/
|
||||
|
||||
/*
|
||||
* HISTORY
|
||||
* $Log: coda_psdev.c,v $
|
||||
* Revision 1.9 1998/11/11 20:32:20 rvb
|
||||
* coda_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.
|
||||
*
|
||||
* Revision 1.8 1998/10/28 20:31:13 rvb
|
||||
* 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.
|
||||
*
|
||||
* Revision 1.7 1998/09/29 20:19:45 rvb
|
||||
* Fixes for lkm:
|
||||
* 1. use VFS_LKM vs ACTUALLY_LKM_NOT_KERNEL
|
||||
* 2. don't pass -DCODA to lkm build
|
||||
*
|
||||
* Revision 1.6 1998/09/28 20:52:58 rvb
|
||||
* Cleanup and fix THE bug
|
||||
*
|
||||
* Revision 1.5 1998/09/25 17:38:31 rvb
|
||||
* Put "stray" printouts under DIAGNOSTIC. Make everything build
|
||||
* with DEBUG on. Add support for lkm. (The macro's don't work
|
||||
* for me; for a good chuckle look at the end of coda_fbsd.c.)
|
||||
*
|
||||
* Revision 1.4 1998/09/13 13:57:59 rvb
|
||||
* Finish conversion of cfs -> coda
|
||||
*
|
||||
* Revision 1.3 1998/09/11 18:50:17 rvb
|
||||
* All the references to cfs, in symbols, structs, and strings
|
||||
* have been changed to coda. (Same for CFS.)
|
||||
*
|
||||
* Revision 1.2 1998/09/02 19:09:53 rvb
|
||||
* Pass2 complete
|
||||
*
|
||||
* Revision 1.1.1.1 1998/08/29 21:14:52 rvb
|
||||
* Very Preliminary Coda
|
||||
*
|
||||
* Revision 1.9 1998/08/28 18:12:17 rvb
|
||||
* Now it also works on FreeBSD -current. This code will be
|
||||
* committed to the FreeBSD -current and NetBSD -current
|
||||
* trees. It will then be tailored to the particular platform
|
||||
* by flushing conditional code.
|
||||
*
|
||||
* Revision 1.8 1998/08/18 17:05:15 rvb
|
||||
* Don't use __RCSID now
|
||||
*
|
||||
* Revision 1.7 1998/08/18 16:31:41 rvb
|
||||
* Sync the code for NetBSD -current; test on 1.3 later
|
||||
*
|
||||
* Revision 1.8 1998/06/09 23:30:42 rvb
|
||||
* Try to allow ^C -- take 1
|
||||
*
|
||||
* Revision 1.5.2.8 98/01/23 11:21:04 rvb
|
||||
* Sync with 2.2.5
|
||||
*
|
||||
* Revision 1.5.2.7 98/01/22 22:22:21 rvb
|
||||
* sync 1.2 and 1.3
|
||||
*
|
||||
* Revision 1.5.2.6 98/01/22 13:11:24 rvb
|
||||
* Move make_coda_node ctlfid later so vfsp is known; work on ^c and ^z
|
||||
*
|
||||
* Revision 1.5.2.5 97/12/16 22:01:27 rvb
|
||||
* Oops add cfs_subr.h cfs_venus.h; sync with peter
|
||||
*
|
||||
* Revision 1.5.2.4 97/12/16 12:40:05 rvb
|
||||
* Sync with 1.3
|
||||
*
|
||||
* Revision 1.5.2.3 97/12/10 14:08:24 rvb
|
||||
* Fix O_ flags; check result in coda_call
|
||||
*
|
||||
* Revision 1.5.2.2 97/12/10 11:40:24 rvb
|
||||
* No more ody
|
||||
*
|
||||
* Revision 1.5.2.1 97/12/06 17:41:20 rvb
|
||||
* Sync with peters coda.h
|
||||
*
|
||||
* Revision 1.5 97/12/05 10:39:16 rvb
|
||||
* Read CHANGES
|
||||
*
|
||||
* Revision 1.4.18.9 97/12/05 08:58:07 rvb
|
||||
* peter found this one
|
||||
*
|
||||
* Revision 1.4.18.8 97/11/26 15:28:57 rvb
|
||||
* Cant make downcall pbuf == union cfs_downcalls yet
|
||||
*
|
||||
* Revision 1.4.18.7 97/11/25 09:40:49 rvb
|
||||
* Final cfs_venus.c w/o macros, but one locking bug
|
||||
*
|
||||
* Revision 1.4.18.6 97/11/20 11:46:41 rvb
|
||||
* Capture current cfs_venus
|
||||
*
|
||||
* Revision 1.4.18.5 97/11/18 10:27:15 rvb
|
||||
* cfs_nbsd.c is DEAD!!!; integrated into cfs_vf/vnops.c
|
||||
* cfs_nb_foo and cfs_foo are joined
|
||||
*
|
||||
* Revision 1.4.18.4 97/11/13 22:02:59 rvb
|
||||
* pass2 cfs_NetBSD.h mt
|
||||
*
|
||||
* Revision 1.4.18.3 97/11/12 12:09:38 rvb
|
||||
* reorg pass1
|
||||
*
|
||||
* Revision 1.4.18.2 97/10/29 16:06:09 rvb
|
||||
* Kill DYING
|
||||
*
|
||||
* Revision 1.4.18.1 1997/10/28 23:10:15 rvb
|
||||
* >64Meg; venus can be killed!
|
||||
*
|
||||
* Revision 1.4 1996/12/12 22:10:58 bnoble
|
||||
* Fixed the "downcall invokes venus operation" deadlock in all known cases.
|
||||
* There may be more
|
||||
*
|
||||
* Revision 1.3 1996/11/13 04:14:20 bnoble
|
||||
* Merging BNOBLE_WORK_6_20_96 into main line
|
||||
*
|
||||
* Revision 1.2.8.1 1996/08/22 14:25:04 bnoble
|
||||
* Added a return code from vc_nb_close
|
||||
*
|
||||
* Revision 1.2 1996/01/02 16:56:58 bnoble
|
||||
* Added support for Coda MiniCache and raw inode calls (final commit)
|
||||
*
|
||||
* Revision 1.1.2.1 1995/12/20 01:57:24 bnoble
|
||||
* Added CODA-specific files
|
||||
*
|
||||
* Revision 1.1 1995/03/14 20:52:15 bnoble
|
||||
* Initial revision
|
||||
*
|
||||
*/
|
||||
|
||||
/* These routines are the device entry points for Venus. */
|
||||
|
||||
extern int coda_nc_initialized; /* Set if cache has been initialized */
|
||||
|
@ -27,7 +27,7 @@
|
||||
* Mellon the rights to redistribute these changes without encumbrance.
|
||||
*
|
||||
* @(#) src/sys/coda/coda_subr.c,v 1.1.1.1 1998/08/29 21:14:52 rvb Exp $
|
||||
* $Id: coda_subr.c,v 1.8 1998/10/28 19:33:50 rvb Exp $
|
||||
* $Id: coda_subr.c,v 1.9 1999/01/17 20:25:15 peter Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
@ -41,182 +41,8 @@
|
||||
/*
|
||||
* This code was written for the Coda file system at Carnegie Mellon
|
||||
* University. Contributers include David Steere, James Kistler, and
|
||||
* M. Satyanarayanan. */
|
||||
|
||||
/*
|
||||
* HISTORY
|
||||
* $Log: coda_subr.c,v $
|
||||
* Revision 1.8 1998/10/28 19:33:50 rvb
|
||||
* 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.
|
||||
*
|
||||
* Revision 1.7 1998/09/29 20:19:45 rvb
|
||||
* Fixes for lkm:
|
||||
* 1. use VFS_LKM vs ACTUALLY_LKM_NOT_KERNEL
|
||||
* 2. don't pass -DCODA to lkm build
|
||||
*
|
||||
* Revision 1.6 1998/09/25 17:38:31 rvb
|
||||
* Put "stray" printouts under DIAGNOSTIC. Make everything build
|
||||
* with DEBUG on. Add support for lkm. (The macro's don't work
|
||||
* for me; for a good chuckle look at the end of coda_fbsd.c.)
|
||||
*
|
||||
* Revision 1.5 1998/09/13 13:57:59 rvb
|
||||
* Finish conversion of cfs -> coda
|
||||
*
|
||||
* Revision 1.4 1998/09/11 18:50:17 rvb
|
||||
* All the references to cfs, in symbols, structs, and strings
|
||||
* have been changed to coda. (Same for CFS.)
|
||||
*
|
||||
* Revision 1.2 1998/09/02 19:09:53 rvb
|
||||
* Pass2 complete
|
||||
*
|
||||
* Revision 1.1.1.1 1998/08/29 21:14:52 rvb
|
||||
* Very Preliminary Coda
|
||||
*
|
||||
* Revision 1.11 1998/08/28 18:12:18 rvb
|
||||
* Now it also works on FreeBSD -current. This code will be
|
||||
* committed to the FreeBSD -current and NetBSD -current
|
||||
* trees. It will then be tailored to the particular platform
|
||||
* by flushing conditional code.
|
||||
*
|
||||
* Revision 1.10 1998/08/18 17:05:16 rvb
|
||||
* Don't use __RCSID now
|
||||
*
|
||||
* Revision 1.9 1998/08/18 16:31:41 rvb
|
||||
* Sync the code for NetBSD -current; test on 1.3 later
|
||||
*
|
||||
* Revision 1.8 98/01/31 20:53:12 rvb
|
||||
* First version that works on FreeBSD 2.2.5
|
||||
*
|
||||
* Revision 1.7 98/01/23 11:53:42 rvb
|
||||
* Bring RVB_CODA1_1 to HEAD
|
||||
*
|
||||
* Revision 1.6.2.3 98/01/23 11:21:05 rvb
|
||||
* Sync with 2.2.5
|
||||
*
|
||||
* Revision 1.6.2.2 97/12/16 12:40:06 rvb
|
||||
* Sync with 1.3
|
||||
*
|
||||
* Revision 1.6.2.1 97/12/06 17:41:21 rvb
|
||||
* Sync with peters coda.h
|
||||
*
|
||||
* Revision 1.6 97/12/05 10:39:17 rvb
|
||||
* Read CHANGES
|
||||
*
|
||||
* Revision 1.5.4.8 97/11/26 15:28:58 rvb
|
||||
* Cant make downcall pbuf == union cfs_downcalls yet
|
||||
*
|
||||
* Revision 1.5.4.7 97/11/20 11:46:42 rvb
|
||||
* Capture current cfs_venus
|
||||
*
|
||||
* Revision 1.5.4.6 97/11/18 10:27:16 rvb
|
||||
* cfs_nbsd.c is DEAD!!!; integrated into cfs_vf/vnops.c
|
||||
* cfs_nb_foo and cfs_foo are joined
|
||||
*
|
||||
* Revision 1.5.4.5 97/11/13 22:03:00 rvb
|
||||
* pass2 cfs_NetBSD.h mt
|
||||
*
|
||||
* Revision 1.5.4.4 97/11/12 12:09:39 rvb
|
||||
* reorg pass1
|
||||
*
|
||||
* Revision 1.5.4.3 97/11/06 21:02:38 rvb
|
||||
* first pass at ^c ^z
|
||||
*
|
||||
* Revision 1.5.4.2 97/10/29 16:06:27 rvb
|
||||
* Kill DYING
|
||||
*
|
||||
* Revision 1.5.4.1 97/10/28 23:10:16 rvb
|
||||
* >64Meg; venus can be killed!
|
||||
*
|
||||
* Revision 1.5 97/08/05 11:08:17 lily
|
||||
* Removed cfsnc_replace, replaced it with a coda_find, unhash, and
|
||||
* rehash. This fixes a cnode leak and a bug in which the fid is
|
||||
* not actually replaced. (cfs_namecache.c, cfsnc.h, cfs_subr.c)
|
||||
*
|
||||
* Revision 1.4 96/12/12 22:10:59 bnoble
|
||||
* Fixed the "downcall invokes venus operation" deadlock in all known cases.
|
||||
* There may be more
|
||||
*
|
||||
* Revision 1.3 1996/12/05 16:20:15 bnoble
|
||||
* Minor debugging aids
|
||||
*
|
||||
* Revision 1.2 1996/01/02 16:57:01 bnoble
|
||||
* Added support for Coda MiniCache and raw inode calls (final commit)
|
||||
*
|
||||
* Revision 1.1.2.1 1995/12/20 01:57:27 bnoble
|
||||
* Added CODA-specific files
|
||||
*
|
||||
* Revision 3.1.1.1 1995/03/04 19:07:59 bnoble
|
||||
* Branch for NetBSD port revisions
|
||||
*
|
||||
* Revision 3.1 1995/03/04 19:07:58 bnoble
|
||||
* Bump to major revision 3 to prepare for NetBSD port
|
||||
*
|
||||
* Revision 2.8 1995/03/03 17:00:04 dcs
|
||||
* Fixed kernel bug involving sleep and upcalls. Basically if you killed
|
||||
* a job waiting on venus, the venus upcall queues got trashed. Depending
|
||||
* on luck, you could kill the kernel or not.
|
||||
* (mods to cfs_subr.c and cfs_mach.d)
|
||||
*
|
||||
* Revision 2.7 95/03/02 22:45:21 dcs
|
||||
* Sun4 compatibility
|
||||
*
|
||||
* Revision 2.6 95/02/17 16:25:17 dcs
|
||||
* These versions represent several changes:
|
||||
* 1. Allow venus to restart even if outstanding references exist.
|
||||
* 2. Have only one ctlvp per client, as opposed to one per mounted cfs device.d
|
||||
* 3. Allow ody_expand to return many members, not just one.
|
||||
*
|
||||
* Revision 2.5 94/11/09 15:56:26 dcs
|
||||
* Had the thread sleeping on the wrong thing!
|
||||
*
|
||||
* Revision 2.4 94/10/14 09:57:57 dcs
|
||||
* Made changes 'cause sun4s have braindead compilers
|
||||
*
|
||||
* Revision 2.3 94/10/12 16:46:26 dcs
|
||||
* Cleaned kernel/venus interface by removing XDR junk, plus
|
||||
* so cleanup to allow this code to be more easily ported.
|
||||
*
|
||||
* Revision 1.2 92/10/27 17:58:22 lily
|
||||
* merge kernel/latest and alpha/src/cfs
|
||||
*
|
||||
* Revision 2.4 92/09/30 14:16:26 mja
|
||||
* Incorporated Dave Steere's fix for the GNU-Emacs bug.
|
||||
* Also, included his coda_flush routine in place of the former coda_nc_flush.
|
||||
* [91/02/07 jjk]
|
||||
*
|
||||
* Added contributors blurb.
|
||||
* [90/12/13 jjk]
|
||||
*
|
||||
* Hack to allow users to keep coda venus calls uninterruptible. THis
|
||||
* basically prevents the Gnu-emacs bug from appearing, in which a call
|
||||
* was being interrupted, and return EINTR, but gnu didn't check for the
|
||||
* error and figured the file was buggered.
|
||||
* [90/12/09 dcs]
|
||||
*
|
||||
* Revision 2.3 90/08/10 10:23:20 mrt
|
||||
* Removed include of vm/vm_page.h as it no longer exists.
|
||||
* [90/08/10 mrt]
|
||||
*
|
||||
* Revision 2.2 90/07/05 11:26:35 mrt
|
||||
* Initialize name cache on first call to vcopen.
|
||||
* [90/05/23 dcs]
|
||||
*
|
||||
* Created for the Coda File System.
|
||||
* [90/05/23 dcs]
|
||||
*
|
||||
* Revision 1.5 90/05/31 17:01:35 dcs
|
||||
* Prepare for merge with facilities kernel.
|
||||
*
|
||||
* Revision 1.2 90/03/19 15:56:25 dcs
|
||||
* Initialize name cache on first call to vcopen.
|
||||
*
|
||||
* Revision 1.1 90/03/15 10:43:26 jjk
|
||||
* Initial revision
|
||||
*
|
||||
*/
|
||||
* M. Satyanarayanan.
|
||||
*/
|
||||
|
||||
/* NOTES: rvb
|
||||
* 1. Added coda_unmounting to mark all cnodes as being UNMOUNTING. This has to
|
||||
|
@ -27,7 +27,7 @@
|
||||
* Mellon the rights to redistribute these changes without encumbrance.
|
||||
*
|
||||
* @(#) src/sys/cfs/coda_vfsops.c,v 1.1.1.1 1998/08/29 21:14:52 rvb Exp $
|
||||
* $Id: coda_vfsops.c,v 1.14 1999/05/31 11:24:18 phk Exp $
|
||||
* $Id: coda_vfsops.c,v 1.15 1999/07/20 07:18:17 phk Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
@ -44,224 +44,6 @@
|
||||
* M. Satyanarayanan.
|
||||
*/
|
||||
|
||||
/*
|
||||
* HISTORY
|
||||
* $Log: coda_vfsops.c,v $
|
||||
* Revision 1.14 1999/05/31 11:24:18 phk
|
||||
* Simplify cdevsw registration.
|
||||
*
|
||||
* The cdevsw_add() function now finds the major number(s) in the
|
||||
* struct cdevsw passed to it. cdevsw_add_generic() is no longer
|
||||
* needed, cdevsw_add() does the same thing.
|
||||
*
|
||||
* cdevsw_add() will print an message if the d_maj field looks bogus.
|
||||
*
|
||||
* Remove nblkdev and nchrdev variables. Most places they were used
|
||||
* bogusly. Instead check a dev_t for validity by seeing if devsw()
|
||||
* or bdevsw() returns NULL.
|
||||
*
|
||||
* Move bdevsw() and devsw() functions to kern/kern_conf.c
|
||||
*
|
||||
* Bump __FreeBSD_version to 400006
|
||||
*
|
||||
* This commit removes:
|
||||
* 72 bogus makedev() calls
|
||||
* 26 bogus SYSINIT functions
|
||||
*
|
||||
* if_xe.c bogusly accessed cdevsw[], author/maintainer please fix.
|
||||
*
|
||||
* I4b and vinum not changed. Patches emailed to authors. LINT
|
||||
* probably broken until they catch up.
|
||||
*
|
||||
* Revision 1.13 1999/05/09 13:11:37 phk
|
||||
* remove cast from dev_t to dev_t.
|
||||
*
|
||||
* Revision 1.12 1999/05/08 06:39:04 phk
|
||||
* I got tired of seeing all the cdevsw[major(foo)] all over the place.
|
||||
*
|
||||
* Made a new (inline) function devsw(dev_t dev) and substituted it.
|
||||
*
|
||||
* Changed to the BDEV variant to this format as well: bdevsw(dev_t dev)
|
||||
*
|
||||
* DEVFS will eventually benefit from this change too.
|
||||
*
|
||||
* Revision 1.11 1999/01/17 20:25:17 peter
|
||||
* Clean up the KLD/LKM goop a bit.
|
||||
*
|
||||
* Revision 1.10 1998/12/04 22:54:43 archie
|
||||
* Examine all occurrences of sprintf(), strcat(), and str[n]cpy()
|
||||
* for possible buffer overflow problems. Replaced most sprintf()'s
|
||||
* with snprintf(); for others cases, added terminating NUL bytes where
|
||||
* appropriate, replaced constants like "16" with sizeof(), etc.
|
||||
*
|
||||
* These changes include several bug fixes, but most changes are for
|
||||
* maintainability's sake. Any instance where it wasn't "immediately
|
||||
* obvious" that a buffer overflow could not occur was made safer.
|
||||
*
|
||||
* Reviewed by: Bruce Evans <bde@zeta.org.au>
|
||||
* Reviewed by: Matthew Dillon <dillon@apollo.backplane.com>
|
||||
* Reviewed by: Mike Spengler <mks@networkcs.com>
|
||||
*
|
||||
* Revision 1.9 1998/11/16 19:48:26 rvb
|
||||
* A few bug fixes for Robert Watson
|
||||
*
|
||||
* Revision 1.8 1998/11/03 08:55:06 peter
|
||||
* Support KLD. We register and unregister two modules. "coda" (the vfs)
|
||||
* via VFS_SET(), and "codadev" for the cdevsw entry. From kldstat -v:
|
||||
* 3 1 0xf02c5000 115d8 coda.ko
|
||||
* Contains modules:
|
||||
* Id Name
|
||||
* 2 codadev
|
||||
* 3 coda
|
||||
*
|
||||
* Revision 1.7 1998/09/29 20:19:45 rvb
|
||||
* Fixes for lkm:
|
||||
* 1. use VFS_LKM vs ACTUALLY_LKM_NOT_KERNEL
|
||||
* 2. don't pass -DCODA to lkm build
|
||||
*
|
||||
* Revision 1.6 1998/09/25 17:38:32 rvb
|
||||
* Put "stray" printouts under DIAGNOSTIC. Make everything build
|
||||
* with DEBUG on. Add support for lkm. (The macro's don't work
|
||||
* for me; for a good chuckle look at the end of coda_fbsd.c.)
|
||||
*
|
||||
* Revision 1.5 1998/09/13 13:57:59 rvb
|
||||
* Finish conversion of cfs -> coda
|
||||
*
|
||||
* Revision 1.4 1998/09/11 18:50:17 rvb
|
||||
* All the references to cfs, in symbols, structs, and strings
|
||||
* have been changed to coda. (Same for CFS.)
|
||||
*
|
||||
* Revision 1.2 1998/09/02 19:09:53 rvb
|
||||
* Pass2 complete
|
||||
*
|
||||
* Revision 1.1.1.1 1998/08/29 21:14:52 rvb
|
||||
* Very Preliminary Coda
|
||||
*
|
||||
* Revision 1.11 1998/08/28 18:12:22 rvb
|
||||
* Now it also works on FreeBSD -current. This code will be
|
||||
* committed to the FreeBSD -current and NetBSD -current
|
||||
* trees. It will then be tailored to the particular platform
|
||||
* by flushing conditional code.
|
||||
*
|
||||
* Revision 1.10 1998/08/18 17:05:19 rvb
|
||||
* Don't use __RCSID now
|
||||
*
|
||||
* Revision 1.9 1998/08/18 16:31:44 rvb
|
||||
* Sync the code for NetBSD -current; test on 1.3 later
|
||||
*
|
||||
* Revision 1.8 98/02/24 22:22:48 rvb
|
||||
* Fixes up mainly to flush iopen and friends
|
||||
*
|
||||
* Revision 1.7 98/01/23 11:53:45 rvb
|
||||
* Bring RVB_CODA1_1 to HEAD
|
||||
*
|
||||
* Revision 1.6.2.6 98/01/23 11:21:07 rvb
|
||||
* Sync with 2.2.5
|
||||
*
|
||||
* Revision 1.6.2.5 98/01/22 13:05:33 rvb
|
||||
* Move make_coda_node ctlfid later so vfsp is known
|
||||
*
|
||||
* Revision 1.6.2.4 97/12/19 14:26:05 rvb
|
||||
* session id
|
||||
*
|
||||
* Revision 1.6.2.3 97/12/16 12:40:11 rvb
|
||||
* Sync with 1.3
|
||||
*
|
||||
* Revision 1.6.2.2 97/12/10 11:40:25 rvb
|
||||
* No more ody
|
||||
*
|
||||
* Revision 1.6.2.1 97/12/06 17:41:24 rvb
|
||||
* Sync with peters coda.h
|
||||
*
|
||||
* Revision 1.6 97/12/05 10:39:21 rvb
|
||||
* Read CHANGES
|
||||
*
|
||||
* Revision 1.5.14.8 97/11/24 15:44:46 rvb
|
||||
* Final cfs_venus.c w/o macros, but one locking bug
|
||||
*
|
||||
* Revision 1.5.14.7 97/11/21 13:22:03 rvb
|
||||
* Catch a few coda_calls in coda_vfsops.c
|
||||
*
|
||||
* Revision 1.5.14.6 97/11/20 11:46:48 rvb
|
||||
* Capture current cfs_venus
|
||||
*
|
||||
* Revision 1.5.14.5 97/11/18 10:27:17 rvb
|
||||
* cfs_nbsd.c is DEAD!!!; integrated into cfs_vf/vnops.c
|
||||
* cfs_nb_foo and cfs_foo are joined
|
||||
*
|
||||
* Revision 1.5.14.4 97/11/13 22:03:01 rvb
|
||||
* pass2 cfs_NetBSD.h mt
|
||||
*
|
||||
* Revision 1.5.14.3 97/11/12 12:09:40 rvb
|
||||
* reorg pass1
|
||||
*
|
||||
* Revision 1.5.14.2 97/10/29 16:06:28 rvb
|
||||
* Kill DYING
|
||||
*
|
||||
* Revision 1.5.14.1 1997/10/28 23:10:17 rvb
|
||||
* >64Meg; venus can be killed!
|
||||
*
|
||||
* Revision 1.5 1997/01/13 17:11:07 bnoble
|
||||
* Coda statfs needs to return something other than -1 for blocks avail. and
|
||||
* files available for wabi (and other windowsish) programs to install
|
||||
* there correctly.
|
||||
*
|
||||
* Revision 1.4 1996/12/12 22:11:00 bnoble
|
||||
* Fixed the "downcall invokes venus operation" deadlock in all known cases.
|
||||
* There may be more
|
||||
*
|
||||
* Revision 1.3 1996/11/08 18:06:12 bnoble
|
||||
* Minor changes in vnode operation signature, VOP_UPDATE signature, and
|
||||
* some newly defined bits in the include files.
|
||||
*
|
||||
* Revision 1.2 1996/01/02 16:57:04 bnoble
|
||||
* Added support for Coda MiniCache and raw inode calls (final commit)
|
||||
*
|
||||
* Revision 1.1.2.1 1995/12/20 01:57:32 bnoble
|
||||
* Added CODA-specific files
|
||||
*
|
||||
* Revision 3.1.1.1 1995/03/04 19:08:02 bnoble
|
||||
* Branch for NetBSD port revisions
|
||||
*
|
||||
* Revision 3.1 1995/03/04 19:08:01 bnoble
|
||||
* Bump to major revision 3 to prepare for NetBSD port
|
||||
*
|
||||
* Revision 2.4 1995/02/17 16:25:22 dcs
|
||||
* These versions represent several changes:
|
||||
* 1. Allow venus to restart even if outstanding references exist.
|
||||
* 2. Have only one ctlvp per client, as opposed to one per mounted cfs device.d
|
||||
* 3. Allow ody_expand to return many members, not just one.
|
||||
*
|
||||
* Revision 2.3 94/10/14 09:58:21 dcs
|
||||
* Made changes 'cause sun4s have braindead compilers
|
||||
*
|
||||
* Revision 2.2 94/10/12 16:46:33 dcs
|
||||
* Cleaned kernel/venus interface by removing XDR junk, plus
|
||||
* so cleanup to allow this code to be more easily ported.
|
||||
*
|
||||
* Revision 1.3 93/05/28 16:24:29 bnoble
|
||||
* *** empty log message ***
|
||||
*
|
||||
* Revision 1.2 92/10/27 17:58:24 lily
|
||||
* merge kernel/latest and alpha/src/cfs
|
||||
*
|
||||
* Revision 2.3 92/09/30 14:16:32 mja
|
||||
* Added call to coda_flush to coda_unmount.
|
||||
* [90/12/15 dcs]
|
||||
*
|
||||
* Added contributors blurb.
|
||||
* [90/12/13 jjk]
|
||||
*
|
||||
* Revision 2.2 90/07/05 11:26:40 mrt
|
||||
* Created for the Coda File System.
|
||||
* [90/05/23 dcs]
|
||||
*
|
||||
* Revision 1.3 90/05/31 17:01:42 dcs
|
||||
* Prepare for merge with facilities kernel.
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
#include <vcoda.h>
|
||||
|
||||
#include <sys/param.h>
|
||||
|
@ -27,7 +27,7 @@
|
||||
* Mellon the rights to redistribute these changes without encumbrance.
|
||||
*
|
||||
* @(#) src/sys/coda/coda_vnops.c,v 1.1.1.1 1998/08/29 21:14:52 rvb Exp $
|
||||
* $Id: coda_vnops.c,v 1.14 1999/01/27 20:09:17 dillon Exp $
|
||||
* $Id: coda_vnops.c,v 1.15 1999/01/29 07:23:53 bde Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
@ -45,235 +45,6 @@
|
||||
* M. Satyanarayanan.
|
||||
*/
|
||||
|
||||
/*
|
||||
* HISTORY
|
||||
* $Log: coda_vnops.c,v $
|
||||
* Revision 1.14 1999/01/27 20:09:17 dillon
|
||||
* Fix warnings preparing for -Wall -Wcast-qual
|
||||
*
|
||||
* Also disable one usb module in LINT due to fatal compilation errors,
|
||||
* temporary.
|
||||
*
|
||||
* Revision 1.13 1999/01/20 14:49:05 eivind
|
||||
* Add 'options DEBUG_LOCKS', which stores extra information in struct
|
||||
* lock, and add some macros and function parameters to make sure that
|
||||
* the information get to the point where it can be put in the lock
|
||||
* structure.
|
||||
*
|
||||
* While I'm here, add DEBUG_VFS_LOCKS to LINT.
|
||||
*
|
||||
* Revision 1.12 1999/01/07 16:14:12 bde
|
||||
* Don't pass unused unused timestamp args to UFS_UPDATE() or waste
|
||||
* time initializing them. This almost finishes centralizing (in-core)
|
||||
* timestamp updates in ufs_itimes().
|
||||
*
|
||||
* Revision 1.11 1999/01/05 18:49:51 eivind
|
||||
* Remove the 'waslocked' parameter to vfs_object_create().
|
||||
*
|
||||
* Revision 1.10 1998/12/04 18:44:21 rvb
|
||||
* Don't print diagnostic anymore
|
||||
*
|
||||
* Revision 1.9 1998/11/16 19:48:26 rvb
|
||||
* A few bug fixes for Robert Watson
|
||||
*
|
||||
* Revision 1.8 1998/10/28 20:31:13 rvb
|
||||
* 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.
|
||||
*
|
||||
* Revision 1.7 1998/10/25 17:44:41 phk
|
||||
* Nitpicking and dusting performed on a train. Removes trivial warnings
|
||||
* about unused variables, labels and other lint.
|
||||
*
|
||||
* Revision 1.6 1998/09/28 20:52:58 rvb
|
||||
* Cleanup and fix THE bug
|
||||
*
|
||||
* Revision 1.5 1998/09/25 17:38:32 rvb
|
||||
* Put "stray" printouts under DIAGNOSTIC. Make everything build
|
||||
* with DEBUG on. Add support for lkm. (The macro's don't work
|
||||
* for me; for a good chuckle look at the end of coda_fbsd.c.)
|
||||
*
|
||||
* Revision 1.4 1998/09/13 13:57:59 rvb
|
||||
* Finish conversion of cfs -> coda
|
||||
*
|
||||
* Revision 1.3 1998/09/11 18:50:17 rvb
|
||||
* All the references to cfs, in symbols, structs, and strings
|
||||
* have been changed to coda. (Same for CFS.)
|
||||
*
|
||||
* Revision 1.2 1998/09/02 19:09:53 rvb
|
||||
* Pass2 complete
|
||||
*
|
||||
* Revision 1.1.1.1 1998/08/29 21:14:52 rvb
|
||||
* Very Preliminary Coda
|
||||
*
|
||||
* Revision 1.12 1998/08/28 18:28:00 rvb
|
||||
* NetBSD -current is stricter!
|
||||
*
|
||||
* Revision 1.11 1998/08/28 18:12:23 rvb
|
||||
* Now it also works on FreeBSD -current. This code will be
|
||||
* committed to the FreeBSD -current and NetBSD -current
|
||||
* trees. It will then be tailored to the particular platform
|
||||
* by flushing conditional code.
|
||||
*
|
||||
* Revision 1.10 1998/08/18 17:05:21 rvb
|
||||
* Don't use __RCSID now
|
||||
*
|
||||
* Revision 1.9 1998/08/18 16:31:46 rvb
|
||||
* Sync the code for NetBSD -current; test on 1.3 later
|
||||
*
|
||||
* Revision 1.8 98/02/24 22:22:50 rvb
|
||||
* Fixes up mainly to flush iopen and friends
|
||||
*
|
||||
* Revision 1.7 98/01/31 20:53:15 rvb
|
||||
* First version that works on FreeBSD 2.2.5
|
||||
*
|
||||
* Revision 1.6 98/01/23 11:53:47 rvb
|
||||
* Bring RVB_CODA1_1 to HEAD
|
||||
*
|
||||
* Revision 1.5.2.8 98/01/23 11:21:11 rvb
|
||||
* Sync with 2.2.5
|
||||
*
|
||||
* Revision 1.5.2.7 97/12/19 14:26:08 rvb
|
||||
* session id
|
||||
*
|
||||
* Revision 1.5.2.6 97/12/16 22:01:34 rvb
|
||||
* Oops add cfs_subr.h cfs_venus.h; sync with peter
|
||||
*
|
||||
* Revision 1.5.2.5 97/12/16 12:40:14 rvb
|
||||
* Sync with 1.3
|
||||
*
|
||||
* Revision 1.5.2.4 97/12/10 14:08:31 rvb
|
||||
* Fix O_ flags; check result in coda_call
|
||||
*
|
||||
* Revision 1.5.2.3 97/12/10 11:40:27 rvb
|
||||
* No more ody
|
||||
*
|
||||
* Revision 1.5.2.2 97/12/09 16:07:15 rvb
|
||||
* Sync with vfs/include/coda.h
|
||||
*
|
||||
* Revision 1.5.2.1 97/12/06 17:41:25 rvb
|
||||
* Sync with peters coda.h
|
||||
*
|
||||
* Revision 1.5 97/12/05 10:39:23 rvb
|
||||
* Read CHANGES
|
||||
*
|
||||
* Revision 1.4.14.10 97/11/25 08:08:48 rvb
|
||||
* cfs_venus ... done; until cred/vattr change
|
||||
*
|
||||
* Revision 1.4.14.9 97/11/24 15:44:48 rvb
|
||||
* Final cfs_venus.c w/o macros, but one locking bug
|
||||
*
|
||||
* Revision 1.4.14.8 97/11/21 11:28:04 rvb
|
||||
* cfs_venus.c is done: first pass
|
||||
*
|
||||
* Revision 1.4.14.7 97/11/20 11:46:51 rvb
|
||||
* Capture current cfs_venus
|
||||
*
|
||||
* Revision 1.4.14.6 97/11/18 10:27:19 rvb
|
||||
* cfs_nbsd.c is DEAD!!!; integrated into cfs_vf/vnops.c
|
||||
* cfs_nb_foo and cfs_foo are joined
|
||||
*
|
||||
* Revision 1.4.14.5 97/11/13 22:03:03 rvb
|
||||
* pass2 cfs_NetBSD.h mt
|
||||
*
|
||||
* Revision 1.4.14.4 97/11/12 12:09:42 rvb
|
||||
* reorg pass1
|
||||
*
|
||||
* Revision 1.4.14.3 97/11/06 21:03:28 rvb
|
||||
* don't include headers in headers
|
||||
*
|
||||
* Revision 1.4.14.2 97/10/29 16:06:30 rvb
|
||||
* Kill DYING
|
||||
*
|
||||
* Revision 1.4.14.1 1997/10/28 23:10:18 rvb
|
||||
* >64Meg; venus can be killed!
|
||||
*
|
||||
* Revision 1.4 1997/02/20 13:54:50 lily
|
||||
* check for NULL return from coda_nc_lookup before CTOV
|
||||
*
|
||||
* Revision 1.3 1996/12/12 22:11:02 bnoble
|
||||
* Fixed the "downcall invokes venus operation" deadlock in all known cases.
|
||||
* There may be more
|
||||
*
|
||||
* Revision 1.2 1996/01/02 16:57:07 bnoble
|
||||
* Added support for Coda MiniCache and raw inode calls (final commit)
|
||||
*
|
||||
* Revision 1.1.2.1 1995/12/20 01:57:34 bnoble
|
||||
* Added CODA-specific files
|
||||
*
|
||||
* Revision 3.1.1.1 1995/03/04 19:08:06 bnoble
|
||||
* Branch for NetBSD port revisions
|
||||
*
|
||||
* Revision 3.1 1995/03/04 19:08:04 bnoble
|
||||
* Bump to major revision 3 to prepare for NetBSD port
|
||||
*
|
||||
* Revision 2.6 1995/02/17 16:25:26 dcs
|
||||
* These versions represent several changes:
|
||||
* 1. Allow venus to restart even if outstanding references exist.
|
||||
* 2. Have only one ctlvp per client, as opposed to one per mounted cfs device.d
|
||||
* 3. Allow ody_expand to return many members, not just one.
|
||||
*
|
||||
* Revision 2.5 94/11/09 20:29:27 dcs
|
||||
* Small bug in remove dealing with hard links and link counts was fixed.
|
||||
*
|
||||
* Revision 2.4 94/10/14 09:58:42 dcs
|
||||
* Made changes 'cause sun4s have braindead compilers
|
||||
*
|
||||
* Revision 2.3 94/10/12 16:46:37 dcs
|
||||
* Cleaned kernel/venus interface by removing XDR junk, plus
|
||||
* so cleanup to allow this code to be more easily ported.
|
||||
*
|
||||
* Revision 2.2 94/09/20 14:12:41 dcs
|
||||
* Fixed bug in rename when moving a directory.
|
||||
*
|
||||
* Revision 2.1 94/07/21 16:25:22 satya
|
||||
* Conversion to C++ 3.0; start of Coda Release 2.0
|
||||
*
|
||||
* Revision 1.4 93/12/17 01:38:01 luqi
|
||||
* Changes made for kernel to pass process info to Venus:
|
||||
*
|
||||
* (1) in file cfs.h
|
||||
* add process id and process group id in most of the cfs argument types.
|
||||
*
|
||||
* (2) in file cfs_vnodeops.c
|
||||
* add process info passing in most of the cfs vnode operations.
|
||||
*
|
||||
* (3) in file cfs_xdr.c
|
||||
* expand xdr routines according changes in (1).
|
||||
* add variable pass_process_info to allow venus for kernel version checking.
|
||||
*
|
||||
* Revision 1.3 93/05/28 16:24:33 bnoble
|
||||
* *** empty log message ***
|
||||
*
|
||||
* Revision 1.2 92/10/27 17:58:25 lily
|
||||
* merge kernel/latest and alpha/src/cfs
|
||||
*
|
||||
* Revision 2.4 92/09/30 14:16:37 mja
|
||||
* Redid buffer allocation so that it does kmem_{alloc,free} for all
|
||||
* architectures. Zone allocation, previously used on the 386, caused
|
||||
* panics if it was invoked repeatedly. Stack allocation, previously
|
||||
* used on all other architectures, tickled some Mach bug that appeared
|
||||
* with large stack frames.
|
||||
* [91/02/09 jjk]
|
||||
*
|
||||
* Added contributors blurb.
|
||||
* [90/12/13 jjk]
|
||||
*
|
||||
* Revision 2.3 90/07/26 15:50:09 mrt
|
||||
* Fixed fix to rename to remove .. from moved directories.
|
||||
* [90/06/28 dcs]
|
||||
*
|
||||
* Revision 1.7 90/06/28 16:24:25 dcs
|
||||
* Fixed bug with moving directories, we weren't flushing .. for the moved directory.
|
||||
*
|
||||
* Revision 1.6 90/05/31 17:01:47 dcs
|
||||
* Prepare for merge with facilities kernel.
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/kernel.h>
|
||||
|
@ -27,7 +27,7 @@
|
||||
* Mellon the rights to redistribute these changes without encumbrance.
|
||||
*
|
||||
* @(#) src/sys/coda/coda_vnops.h,v 1.1.1.1 1998/08/29 21:14:52 rvb Exp $
|
||||
* $Id: coda_vnops.h,v 1.3 1998/09/11 18:50:17 rvb Exp $
|
||||
* $Id: coda_vnops.h,v 1.4 1998/09/13 13:57:59 rvb Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
@ -45,59 +45,6 @@
|
||||
* M. Satyanarayanan.
|
||||
*/
|
||||
|
||||
/*
|
||||
* HISTORY
|
||||
* $Log: coda_vnops.h,v $
|
||||
* Revision 1.3 1998/09/11 18:50:17 rvb
|
||||
* All the references to cfs, in symbols, structs, and strings
|
||||
* have been changed to coda. (Same for CFS.)
|
||||
*
|
||||
* Revision 1.2 1998/09/02 19:09:53 rvb
|
||||
* Pass2 complete
|
||||
*
|
||||
* Revision 1.1.1.1 1998/08/29 21:14:52 rvb
|
||||
* Very Preliminary Coda
|
||||
*
|
||||
* Revision 1.7 1998/08/28 18:12:24 rvb
|
||||
* Now it also works on FreeBSD -current. This code will be
|
||||
* committed to the FreeBSD -current and NetBSD -current
|
||||
* trees. It will then be tailored to the particular platform
|
||||
* by flushing conditional code.
|
||||
*
|
||||
* Revision 1.6 1998/08/18 17:05:22 rvb
|
||||
* Don't use __RCSID now
|
||||
*
|
||||
* Revision 1.5 1998/08/18 16:31:47 rvb
|
||||
* Sync the code for NetBSD -current; test on 1.3 later
|
||||
*
|
||||
* Revision 1.4 98/01/23 11:53:49 rvb
|
||||
* Bring RVB_CODA1_1 to HEAD
|
||||
*
|
||||
* Revision 1.3.2.3 98/01/23 11:21:13 rvb
|
||||
* Sync with 2.2.5
|
||||
*
|
||||
* Revision 1.3.2.2 97/12/16 12:40:20 rvb
|
||||
* Sync with 1.3
|
||||
*
|
||||
* Revision 1.3.2.1 97/12/10 14:08:34 rvb
|
||||
* Fix O_ flags; check result in coda_call
|
||||
*
|
||||
* Revision 1.3 97/12/05 10:39:25 rvb
|
||||
* Read CHANGES
|
||||
*
|
||||
* Revision 1.2.34.2 97/11/20 11:46:54 rvb
|
||||
* Capture current cfs_venus
|
||||
*
|
||||
* Revision 1.2.34.1 97/11/13 22:03:04 rvb
|
||||
* pass2 cfs_NetBSD.h mt
|
||||
*
|
||||
* Revision 1.2 96/01/02 16:57:14 bnoble
|
||||
* Added support for Coda MiniCache and raw inode calls (final commit)
|
||||
*
|
||||
* Revision 1.1.2.1 1995/12/20 01:57:40 bnoble
|
||||
* Added CODA-specific files
|
||||
*
|
||||
*/
|
||||
|
||||
/* NetBSD interfaces to the vnodeops */
|
||||
int coda_open __P((void *));
|
||||
|
@ -27,7 +27,7 @@
|
||||
* Mellon the rights to redistribute these changes without encumbrance.
|
||||
*
|
||||
* @(#) src/sys/coda/cnode.h,v 1.1.1.1 1998/08/29 21:14:52 rvb Exp $
|
||||
* $Id: cnode.h,v 1.4 1998/09/13 13:57:59 rvb Exp $
|
||||
* $Id: cnode.h,v 1.5 1998/11/11 20:32:20 rvb Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
@ -44,117 +44,6 @@
|
||||
* Contributers include David Steere, James Kistler, and M. Satyanarayanan.
|
||||
*/
|
||||
|
||||
/*
|
||||
* HISTORY
|
||||
* $Log: cnode.h,v $
|
||||
* Revision 1.4 1998/09/13 13:57:59 rvb
|
||||
* Finish conversion of cfs -> coda
|
||||
*
|
||||
* Revision 1.3 1998/09/11 18:50:17 rvb
|
||||
* All the references to cfs, in symbols, structs, and strings
|
||||
* have been changed to coda. (Same for CFS.)
|
||||
*
|
||||
* Revision 1.2 1998/09/02 19:09:53 rvb
|
||||
* Pass2 complete
|
||||
*
|
||||
* Revision 1.1.1.1 1998/08/29 21:14:52 rvb
|
||||
* Very Preliminary Coda
|
||||
*
|
||||
* Revision 1.10 1998/08/28 18:12:25 rvb
|
||||
* Now it also works on FreeBSD -current. This code will be
|
||||
* committed to the FreeBSD -current and NetBSD -current
|
||||
* trees. It will then be tailored to the particular platform
|
||||
* by flushing conditional code.
|
||||
*
|
||||
* Revision 1.9 1998/08/18 17:05:24 rvb
|
||||
* Don't use __RCSID now
|
||||
*
|
||||
* Revision 1.8 1998/08/18 16:31:49 rvb
|
||||
* Sync the code for NetBSD -current; test on 1.3 later
|
||||
*
|
||||
* Revision 1.7 98/02/24 22:22:53 rvb
|
||||
* Fixes up mainly to flush iopen and friends
|
||||
*
|
||||
* Revision 1.6 98/01/31 20:53:19 rvb
|
||||
* First version that works on FreeBSD 2.2.5
|
||||
*
|
||||
* Revision 1.5 98/01/23 11:53:51 rvb
|
||||
* Bring RVB_CODA1_1 to HEAD
|
||||
*
|
||||
* Revision 1.4.2.5 98/01/23 11:21:14 rvb
|
||||
* Sync with 2.2.5
|
||||
*
|
||||
* Revision 1.4.2.4 98/01/22 13:03:38 rvb
|
||||
* Had Breaken ls .
|
||||
*
|
||||
* Revision 1.4.2.3 97/12/19 14:26:09 rvb
|
||||
* session id
|
||||
*
|
||||
* Revision 1.4.2.2 97/12/16 12:40:24 rvb
|
||||
* Sync with 1.3
|
||||
*
|
||||
* Revision 1.4.2.1 97/12/06 17:41:28 rvb
|
||||
* Sync with peters coda.h
|
||||
*
|
||||
* Revision 1.4 97/12/05 10:39:30 rvb
|
||||
* Read CHANGES
|
||||
*
|
||||
* Revision 1.3.18.2 97/11/12 12:09:45 rvb
|
||||
* reorg pass1
|
||||
*
|
||||
* Revision 1.3.18.1 97/10/29 16:06:31 rvb
|
||||
* Kill DYING
|
||||
*
|
||||
* Revision 1.3 1996/12/12 22:11:03 bnoble
|
||||
* Fixed the "downcall invokes venus operation" deadlock in all known cases.
|
||||
* There may be more.
|
||||
*
|
||||
* Revision 1.2 1996/01/02 16:57:26 bnoble
|
||||
* Added support for Coda MiniCache and raw inode calls (final commit)
|
||||
*
|
||||
* Revision 1.1.2.1 1995/12/20 01:57:53 bnoble
|
||||
* Added CODA-specific files
|
||||
*
|
||||
* Revision 3.1.1.1 1995/03/04 19:08:23 bnoble
|
||||
* Branch for NetBSD port revisions
|
||||
*
|
||||
* Revision 3.1 1995/03/04 19:08:23 bnoble
|
||||
* Bump to major revision 3 to prepare for NetBSD port
|
||||
*
|
||||
* Revision 2.2 1994/12/06 13:39:18 dcs
|
||||
* Add a flag value to indicate a cnode was orphaned, e.g. the venus
|
||||
* that created it has exited. This will allow one to restart venus
|
||||
* even though some process may be cd'd into /coda.
|
||||
*
|
||||
* Revision 2.1 94/07/21 16:25:33 satya
|
||||
* Conversion to C++ 3.0; start of Coda Release 2.0
|
||||
*
|
||||
* Revision 1.2.7.1 94/06/16 11:26:02 raiff
|
||||
* Branch for release beta-16Jun1994_39118
|
||||
*
|
||||
* Revision 1.2 92/10/27 17:58:41 lily
|
||||
* merge kernel/latest and alpha/src/cfs
|
||||
*
|
||||
* Revision 2.3 92/09/30 14:16:53 mja
|
||||
* Picked up fixed #ifdef _KERNEL. Also...
|
||||
*
|
||||
* Substituted rvb's history blurb so that we agree with Mach 2.5 sources.
|
||||
* [91/02/09 jjk]
|
||||
*
|
||||
* Added contributors blurb.
|
||||
* [90/12/13 jjk]
|
||||
*
|
||||
* Revision 2.2 90/07/05 11:27:24 mrt
|
||||
* Created for the Coda File System.
|
||||
* [90/05/23 dcs]
|
||||
*
|
||||
* Revision 1.4 90/05/31 17:02:16 dcs
|
||||
* Prepare for merge with facilities kernel.
|
||||
*
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef _CNODE_H_
|
||||
#define _CNODE_H_
|
||||
|
||||
|
@ -27,7 +27,7 @@
|
||||
* Mellon the rights to redistribute these changes without encumbrance.
|
||||
*
|
||||
* @(#) src/sys/coda/coda_io.h,v 1.1.1.1 1998/08/29 21:14:52 rvb Exp $
|
||||
* $Id: coda_io.h,v 1.3 1998/09/11 18:50:17 rvb Exp $
|
||||
* $Id: coda_io.h,v 1.4 1998/09/13 13:57:59 rvb Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
@ -44,75 +44,6 @@
|
||||
* Contributers include David Steere, James Kistler, and M. Satyanarayanan.
|
||||
*/
|
||||
|
||||
/*
|
||||
* HISTORY
|
||||
* $Log: coda_io.h,v $
|
||||
* Revision 1.3 1998/09/11 18:50:17 rvb
|
||||
* All the references to cfs, in symbols, structs, and strings
|
||||
* have been changed to coda. (Same for CFS.)
|
||||
*
|
||||
* Revision 1.2 1998/09/02 19:09:53 rvb
|
||||
* Pass2 complete
|
||||
*
|
||||
* Revision 1.1.1.1 1998/08/29 21:14:52 rvb
|
||||
* Very Preliminary Coda
|
||||
*
|
||||
* Revision 1.5 1998/08/18 17:05:23 rvb
|
||||
* Don't use __RCSID now
|
||||
*
|
||||
* Revision 1.4 1998/08/18 16:31:47 rvb
|
||||
* Sync the code for NetBSD -current; test on 1.3 later
|
||||
*
|
||||
* Revision 1.3 98/01/23 11:53:49 rvb
|
||||
* Bring RVB_CODA1_1 to HEAD
|
||||
*
|
||||
* Revision 1.2.38.1 97/12/16 12:40:22 rvb
|
||||
* Sync with 1.3
|
||||
*
|
||||
* Revision 1.2 96/01/02 16:57:15 bnoble
|
||||
* Added support for Coda MiniCache and raw inode calls (final commit)
|
||||
*
|
||||
* Revision 1.1.2.1 1995/12/20 01:57:42 bnoble
|
||||
* Added CODA-specific files
|
||||
*
|
||||
* Revision 3.1.1.1 1995/03/04 19:08:20 bnoble
|
||||
* Branch for NetBSD port revisions
|
||||
*
|
||||
* Revision 3.1 1995/03/04 19:08:20 bnoble
|
||||
* Bump to major revision 3 to prepare for NetBSD port
|
||||
*
|
||||
* Revision 2.1 1994/07/21 16:25:25 satya
|
||||
* Conversion to C++ 3.0; start of Coda Release 2.0
|
||||
*
|
||||
* Revision 1.3 94/06/14 16:53:47 dcs
|
||||
* Added support for ODY-like mounting in the kernel (SETS)
|
||||
*
|
||||
* Revision 1.3 94/06/14 16:48:03 dcs
|
||||
* Added support for ODY-like mounting in the kernel (SETS)
|
||||
*
|
||||
* Revision 1.2 92/10/27 17:58:28 lily
|
||||
* merge kernel/latest and alpha/src/cfs
|
||||
*
|
||||
* Revision 1.1 92/04/03 17:35:34 satya
|
||||
* Initial revision
|
||||
*
|
||||
* Revision 1.5 91/02/09 12:53:26 jjk
|
||||
* Substituted rvb's history blurb so that we agree with Mach 2.5 sources.
|
||||
*
|
||||
* Revision 2.2.1.1 91/01/06 22:08:22 rvb
|
||||
* Created for the Coda File System.
|
||||
* [90/05/23 dcs]
|
||||
*
|
||||
* Revision 1.3 90/07/19 10:23:05 dcs
|
||||
* Added ; to cfs_resize definition for port to 386.
|
||||
*
|
||||
* Revision 1.2 90/05/31 17:02:09 dcs
|
||||
* Prepare for merge with facilities kernel.
|
||||
*
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef _CODAIO_H_
|
||||
#define _CODAIO_H_
|
||||
|
||||
|
@ -27,7 +27,7 @@
|
||||
* Mellon the rights to redistribute these changes without encumbrance.
|
||||
*
|
||||
* @(#) src/sys/coda/coda_namecache.c,v 1.1.1.1 1998/08/29 21:14:52 rvb Exp $
|
||||
* $Id: coda_namecache.c,v 1.7 1998/09/28 20:52:58 rvb Exp $
|
||||
* $Id: coda_namecache.c,v 1.8 1998/10/28 19:33:50 rvb Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
@ -44,156 +44,6 @@
|
||||
* Contributers include David Steere, James Kistler, and M. Satyanarayanan.
|
||||
*/
|
||||
|
||||
/*
|
||||
* HISTORY
|
||||
* $Log: coda_namecache.c,v $
|
||||
* Revision 1.7 1998/09/28 20:52:58 rvb
|
||||
* Cleanup and fix THE bug
|
||||
*
|
||||
* Revision 1.6 1998/09/25 17:38:31 rvb
|
||||
* Put "stray" printouts under DIAGNOSTIC. Make everything build
|
||||
* with DEBUG on. Add support for lkm. (The macro's don't work
|
||||
* for me; for a good chuckle look at the end of coda_fbsd.c.)
|
||||
*
|
||||
* Revision 1.5 1998/09/13 13:57:59 rvb
|
||||
* Finish conversion of cfs -> coda
|
||||
*
|
||||
* Revision 1.4 1998/09/11 18:50:17 rvb
|
||||
* All the references to cfs, in symbols, structs, and strings
|
||||
* have been changed to coda. (Same for CFS.)
|
||||
*
|
||||
* Revision 1.2 1998/09/02 19:09:53 rvb
|
||||
* Pass2 complete
|
||||
*
|
||||
* Revision 1.1.1.1 1998/08/29 21:14:52 rvb
|
||||
* Very Preliminary Coda
|
||||
*
|
||||
* Revision 1.11 1998/08/28 18:12:16 rvb
|
||||
* Now it also works on FreeBSD -current. This code will be
|
||||
* committed to the FreeBSD -current and NetBSD -current
|
||||
* trees. It will then be tailored to the particular platform
|
||||
* by flushing conditional code.
|
||||
*
|
||||
* Revision 1.10 1998/08/18 17:05:14 rvb
|
||||
* Don't use __RCSID now
|
||||
*
|
||||
* Revision 1.9 1998/08/18 16:31:39 rvb
|
||||
* Sync the code for NetBSD -current; test on 1.3 later
|
||||
*
|
||||
* Revision 1.8 98/01/31 20:53:10 rvb
|
||||
* First version that works on FreeBSD 2.2.5
|
||||
*
|
||||
* Revision 1.7 98/01/23 11:53:39 rvb
|
||||
* Bring RVB_CODA1_1 to HEAD
|
||||
*
|
||||
* Revision 1.6.2.4 98/01/23 11:21:02 rvb
|
||||
* Sync with 2.2.5
|
||||
*
|
||||
* Revision 1.6.2.3 97/12/16 12:40:03 rvb
|
||||
* Sync with 1.3
|
||||
*
|
||||
* Revision 1.6.2.2 97/12/09 16:07:10 rvb
|
||||
* Sync with vfs/include/coda.h
|
||||
*
|
||||
* Revision 1.6.2.1 97/12/06 17:41:18 rvb
|
||||
* Sync with peters coda.h
|
||||
*
|
||||
* Revision 1.6 97/12/05 10:39:13 rvb
|
||||
* Read CHANGES
|
||||
*
|
||||
* Revision 1.5.4.7 97/11/25 08:08:43 rvb
|
||||
* cfs_venus ... done; until cred/vattr change
|
||||
*
|
||||
* Revision 1.5.4.6 97/11/24 15:44:43 rvb
|
||||
* Final cfs_venus.c w/o macros, but one locking bug
|
||||
*
|
||||
* Revision 1.5.4.5 97/11/20 11:46:38 rvb
|
||||
* Capture current cfs_venus
|
||||
*
|
||||
* Revision 1.5.4.4 97/11/18 10:27:13 rvb
|
||||
* cfs_nbsd.c is DEAD!!!; integrated into cfs_vf/vnops.c
|
||||
* cfs_nb_foo and cfs_foo are joined
|
||||
*
|
||||
* Revision 1.5.4.3 97/11/13 22:02:57 rvb
|
||||
* pass2 cfs_NetBSD.h mt
|
||||
*
|
||||
* Revision 1.5.4.2 97/11/12 12:09:35 rvb
|
||||
* reorg pass1
|
||||
*
|
||||
* Revision 1.5.4.1 97/10/28 23:10:12 rvb
|
||||
* >64Meg; venus can be killed!
|
||||
*
|
||||
* Revision 1.5 97/08/05 11:08:01 lily
|
||||
* Removed cfsnc_replace, replaced it with a coda_find, unhash, and
|
||||
* rehash. This fixes a cnode leak and a bug in which the fid is
|
||||
* not actually replaced. (cfs_namecache.c, cfsnc.h, cfs_subr.c)
|
||||
*
|
||||
* Revision 1.4 96/12/12 22:10:57 bnoble
|
||||
* Fixed the "downcall invokes venus operation" deadlock in all known cases.
|
||||
* There may be more
|
||||
*
|
||||
* Revision 1.3 1996/11/08 18:06:09 bnoble
|
||||
* Minor changes in vnode operation signature, VOP_UPDATE signature, and
|
||||
* some newly defined bits in the include files.
|
||||
*
|
||||
* Revision 1.2 1996/01/02 16:56:50 bnoble
|
||||
* Added support for Coda MiniCache and raw inode calls (final commit)
|
||||
*
|
||||
* Revision 1.1.2.1 1995/12/20 01:57:15 bnoble
|
||||
* Added CODA-specific files
|
||||
*
|
||||
* Revision 3.1.1.1 1995/03/04 19:07:57 bnoble
|
||||
* Branch for NetBSD port revisions
|
||||
*
|
||||
* Revision 3.1 1995/03/04 19:07:56 bnoble
|
||||
* Bump to major revision 3 to prepare for NetBSD port
|
||||
*
|
||||
* Revision 2.3 1994/10/14 09:57:54 dcs
|
||||
* Made changes 'cause sun4s have braindead compilers
|
||||
*
|
||||
* Revision 2.2 94/08/28 19:37:35 luqi
|
||||
* Add a new CODA_REPLACE call to allow venus to replace a ViceFid in the
|
||||
* mini-cache.
|
||||
*
|
||||
* In "cfs.h":
|
||||
* Add CODA_REPLACE decl.
|
||||
*
|
||||
* In "cfs_namecache.c":
|
||||
* Add routine cfsnc_replace.
|
||||
*
|
||||
* In "cfs_subr.c":
|
||||
* Add case-statement to process CODA_REPLACE.
|
||||
*
|
||||
* In "cfsnc.h":
|
||||
* Add decl for CODA_NC_REPLACE.
|
||||
*
|
||||
*
|
||||
* Revision 2.1 94/07/21 16:25:15 satya
|
||||
* Conversion to C++ 3.0; start of Coda Release 2.0
|
||||
*
|
||||
* Revision 1.2 92/10/27 17:58:21 lily
|
||||
* merge kernel/latest and alpha/src/cfs
|
||||
*
|
||||
* Revision 2.3 92/09/30 14:16:20 mja
|
||||
* call coda_flush instead of calling inode_uncache_try directly
|
||||
* (from dcs). Also...
|
||||
*
|
||||
* Substituted rvb's history blurb so that we agree with Mach 2.5 sources.
|
||||
* [91/02/09 jjk]
|
||||
*
|
||||
* Added contributors blurb.
|
||||
* [90/12/13 jjk]
|
||||
*
|
||||
* Revision 2.2 90/07/05 11:26:30 mrt
|
||||
* Created for the Coda File System.
|
||||
* [90/05/23 dcs]
|
||||
*
|
||||
* Revision 1.3 90/05/31 17:01:24 dcs
|
||||
* Prepare for merge with facilities kernel.
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
/*
|
||||
* This module contains the routines to implement the CODA name cache. The
|
||||
* purpose of this cache is to reduce the cost of translating pathnames
|
||||
|
@ -27,7 +27,7 @@
|
||||
* Mellon the rights to redistribute these changes without encumbrance.
|
||||
*
|
||||
* @(#) src/sys/coda/coda_namecache.h,v 1.1.1.1 1998/08/29 21:14:52 rvb Exp $
|
||||
* $Id: coda_namecache.h,v 1.3 1998/09/11 18:50:17 rvb Exp $
|
||||
* $Id: coda_namecache.h,v 1.4 1998/09/13 13:57:59 rvb Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
@ -44,97 +44,6 @@
|
||||
* Contributers include David Steere, James Kistler, and M. Satyanarayanan.
|
||||
*/
|
||||
|
||||
/*
|
||||
* HISTORY
|
||||
* $Log: coda_namecache.h,v $
|
||||
* Revision 1.3 1998/09/11 18:50:17 rvb
|
||||
* All the references to cfs, in symbols, structs, and strings
|
||||
* have been changed to coda. (Same for CFS.)
|
||||
*
|
||||
* Revision 1.2 1998/09/02 19:09:53 rvb
|
||||
* Pass2 complete
|
||||
*
|
||||
* Revision 1.1.1.1 1998/08/29 21:14:52 rvb
|
||||
* Very Preliminary Coda
|
||||
*
|
||||
* Revision 1.8 1998/08/28 18:12:25 rvb
|
||||
* Now it also works on FreeBSD -current. This code will be
|
||||
* committed to the FreeBSD -current and NetBSD -current
|
||||
* trees. It will then be tailored to the particular platform
|
||||
* by flushing conditional code.
|
||||
*
|
||||
* Revision 1.7 1998/08/18 17:05:24 rvb
|
||||
* Don't use __RCSID now
|
||||
*
|
||||
* Revision 1.6 1998/08/18 16:31:49 rvb
|
||||
* Sync the code for NetBSD -current; test on 1.3 later
|
||||
*
|
||||
* Revision 1.5 98/01/23 11:53:51 rvb
|
||||
* Bring RVB_CODA1_1 to HEAD
|
||||
*
|
||||
* Revision 1.4.2.1 97/12/16 12:40:23 rvb
|
||||
* Sync with 1.3
|
||||
*
|
||||
* Revision 1.4 97/12/05 10:39:29 rvb
|
||||
* Read CHANGES
|
||||
*
|
||||
* Revision 1.3.4.3 97/11/24 15:44:51 rvb
|
||||
* Final cfs_venus.c w/o macros, but one locking bug
|
||||
*
|
||||
* Revision 1.3.4.2 97/11/12 12:09:44 rvb
|
||||
* reorg pass1
|
||||
*
|
||||
* Revision 1.3.4.1 97/11/06 21:06:05 rvb
|
||||
* don't include headers in headers
|
||||
*
|
||||
* Revision 1.3 97/08/05 11:08:19 lily
|
||||
* Removed cfsnc_replace, replaced it with a coda_find, unhash, and
|
||||
* rehash. This fixes a cnode leak and a bug in which the fid is
|
||||
* not actually replaced. (cfs_namecache.c, cfsnc.h, cfs_subr.c)
|
||||
*
|
||||
* Revision 1.2 96/01/02 16:57:19 bnoble
|
||||
* Added support for Coda MiniCache and raw inode calls (final commit)
|
||||
*
|
||||
* Revision 1.1.2.1 1995/12/20 01:57:45 bnoble
|
||||
* Added CODA-specific files
|
||||
*
|
||||
* Revision 3.1.1.1 1995/03/04 19:08:22 bnoble
|
||||
* Branch for NetBSD port revisions
|
||||
*
|
||||
* Revision 3.1 1995/03/04 19:08:21 bnoble
|
||||
* Bump to major revision 3 to prepare for NetBSD port
|
||||
*
|
||||
* Revision 2.2 1994/08/28 19:37:39 luqi
|
||||
* Add a new CODA_REPLACE call to allow venus to replace a ViceFid in the
|
||||
* mini-cache.
|
||||
*
|
||||
* In "cfs.h":
|
||||
* Add CODA_REPLACE decl.
|
||||
*
|
||||
* In "cfs_namecache.c":
|
||||
* Add routine cfsnc_replace.
|
||||
*
|
||||
* In "cfs_subr.c":
|
||||
* Add case-statement to process CODA_REPLACE.
|
||||
*
|
||||
* In "cfsnc.h":
|
||||
* Add decl for CODA_NC_REPLACE.
|
||||
*
|
||||
* Revision 2.1 94/07/21 16:25:27 satya
|
||||
* Conversion to C++ 3.0; start of Coda Release 2.0
|
||||
*
|
||||
* Revision 1.2 92/10/27 17:58:34 lily
|
||||
* merge kernel/latest and alpha/src/cfs
|
||||
*
|
||||
* Revision 2.2 90/07/05 11:27:04 mrt
|
||||
* Created for the Coda File System.
|
||||
* [90/05/23 dcs]
|
||||
*
|
||||
* Revision 1.4 90/05/31 17:02:12 dcs
|
||||
* Prepare for merge with facilities kernel.
|
||||
*
|
||||
*
|
||||
*/
|
||||
#ifndef _CODA_NC_HEADER_
|
||||
#define _CODA_NC_HEADER_
|
||||
|
||||
|
@ -27,7 +27,7 @@
|
||||
* Mellon the rights to redistribute these changes without encumbrance.
|
||||
*
|
||||
* @(#) src/sys/coda/coda_pioctl.h,v 1.1.1.1 1998/08/29 21:14:52 rvb Exp $
|
||||
* $Id: coda_pioctl.h,v 1.3 1998/09/11 18:50:17 rvb Exp $
|
||||
* $Id: coda_pioctl.h,v 1.4 1998/09/13 13:57:59 rvb Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
@ -40,69 +40,6 @@
|
||||
* the terms and conditions for use and redistribution.
|
||||
*/
|
||||
|
||||
/*
|
||||
* HISTORY
|
||||
* $Log: coda_pioctl.h,v $
|
||||
* Revision 1.3 1998/09/11 18:50:17 rvb
|
||||
* All the references to cfs, in symbols, structs, and strings
|
||||
* have been changed to coda. (Same for CFS.)
|
||||
*
|
||||
* Revision 1.2 1998/09/02 19:09:53 rvb
|
||||
* Pass2 complete
|
||||
*
|
||||
* Revision 1.1.1.1 1998/08/29 21:14:52 rvb
|
||||
* Very Preliminary Coda
|
||||
*
|
||||
* Revision 1.7 1998/08/28 18:12:26 rvb
|
||||
* Now it also works on FreeBSD -current. This code will be
|
||||
* committed to the FreeBSD -current and NetBSD -current
|
||||
* trees. It will then be tailored to the particular platform
|
||||
* by flushing conditional code.
|
||||
*
|
||||
* Revision 1.6 1998/08/18 17:05:26 rvb
|
||||
* Don't use __RCSID now
|
||||
*
|
||||
* Revision 1.5 1998/08/18 16:31:51 rvb
|
||||
* Sync the code for NetBSD -current; test on 1.3 later
|
||||
*
|
||||
* Revision 1.4 98/01/23 11:53:54 rvb
|
||||
* Bring RVB_CODA1_1 to HEAD
|
||||
*
|
||||
* Revision 1.3.2.1 97/12/06 17:41:29 rvb
|
||||
* Sync with peters coda.h
|
||||
*
|
||||
* Revision 1.3 97/12/05 10:39:31 rvb
|
||||
* Read CHANGES
|
||||
*
|
||||
* Revision 1.2.34.2 97/11/13 22:03:06 rvb
|
||||
* pass2 cfs_NetBSD.h mt
|
||||
*
|
||||
* Revision 1.2.34.1 97/11/12 12:38:11 rvb
|
||||
* mach_vioctl.h -> pioctl.h
|
||||
*
|
||||
* Revision 1.2 96/01/02 16:57:27 bnoble
|
||||
* Added support for Coda MiniCache and raw inode calls (final commit)
|
||||
*
|
||||
* Revision 1.1.2.1 1995/12/20 01:57:54 bnoble
|
||||
* Added CODA-specific files
|
||||
*
|
||||
* Revision 2.4 90/08/30 11:51:12 bohman
|
||||
* Ioctl changes for STDC.
|
||||
* [90/08/28 bohman]
|
||||
*
|
||||
* Revision 2.3 89/03/09 22:10:26 rpd
|
||||
* More cleanup.
|
||||
*
|
||||
* Revision 2.2 89/02/25 17:58:32 gm0w
|
||||
* Changes for cleanup.
|
||||
*
|
||||
* 7-Feb-87 Avadis Tevanian (avie) at Carnegie-Mellon University
|
||||
* No need for VICE conditional.
|
||||
*
|
||||
* 22-Oct-86 Jay Kistler (jjk) at Carnegie-Mellon University
|
||||
* Created from Andrew's vice.h and viceioctl.h.
|
||||
*
|
||||
*/
|
||||
/*
|
||||
* ITC Remote file system - vice ioctl interface module
|
||||
*/
|
||||
|
@ -27,7 +27,7 @@
|
||||
* Mellon the rights to redistribute these changes without encumbrance.
|
||||
*
|
||||
* @(#) src/sys/coda/coda_psdev.c,v 1.1.1.1 1998/08/29 21:14:52 rvb Exp $
|
||||
* $Id: coda_psdev.c,v 1.9 1998/11/11 20:32:20 rvb Exp $
|
||||
* $Id: coda_psdev.c,v 1.10 1999/01/17 21:04:53 peter Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
@ -50,140 +50,6 @@
|
||||
* porting coda. -- DCS 10/12/94
|
||||
*/
|
||||
|
||||
/*
|
||||
* HISTORY
|
||||
* $Log: coda_psdev.c,v $
|
||||
* Revision 1.9 1998/11/11 20:32:20 rvb
|
||||
* coda_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.
|
||||
*
|
||||
* Revision 1.8 1998/10/28 20:31:13 rvb
|
||||
* 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.
|
||||
*
|
||||
* Revision 1.7 1998/09/29 20:19:45 rvb
|
||||
* Fixes for lkm:
|
||||
* 1. use VFS_LKM vs ACTUALLY_LKM_NOT_KERNEL
|
||||
* 2. don't pass -DCODA to lkm build
|
||||
*
|
||||
* Revision 1.6 1998/09/28 20:52:58 rvb
|
||||
* Cleanup and fix THE bug
|
||||
*
|
||||
* Revision 1.5 1998/09/25 17:38:31 rvb
|
||||
* Put "stray" printouts under DIAGNOSTIC. Make everything build
|
||||
* with DEBUG on. Add support for lkm. (The macro's don't work
|
||||
* for me; for a good chuckle look at the end of coda_fbsd.c.)
|
||||
*
|
||||
* Revision 1.4 1998/09/13 13:57:59 rvb
|
||||
* Finish conversion of cfs -> coda
|
||||
*
|
||||
* Revision 1.3 1998/09/11 18:50:17 rvb
|
||||
* All the references to cfs, in symbols, structs, and strings
|
||||
* have been changed to coda. (Same for CFS.)
|
||||
*
|
||||
* Revision 1.2 1998/09/02 19:09:53 rvb
|
||||
* Pass2 complete
|
||||
*
|
||||
* Revision 1.1.1.1 1998/08/29 21:14:52 rvb
|
||||
* Very Preliminary Coda
|
||||
*
|
||||
* Revision 1.9 1998/08/28 18:12:17 rvb
|
||||
* Now it also works on FreeBSD -current. This code will be
|
||||
* committed to the FreeBSD -current and NetBSD -current
|
||||
* trees. It will then be tailored to the particular platform
|
||||
* by flushing conditional code.
|
||||
*
|
||||
* Revision 1.8 1998/08/18 17:05:15 rvb
|
||||
* Don't use __RCSID now
|
||||
*
|
||||
* Revision 1.7 1998/08/18 16:31:41 rvb
|
||||
* Sync the code for NetBSD -current; test on 1.3 later
|
||||
*
|
||||
* Revision 1.8 1998/06/09 23:30:42 rvb
|
||||
* Try to allow ^C -- take 1
|
||||
*
|
||||
* Revision 1.5.2.8 98/01/23 11:21:04 rvb
|
||||
* Sync with 2.2.5
|
||||
*
|
||||
* Revision 1.5.2.7 98/01/22 22:22:21 rvb
|
||||
* sync 1.2 and 1.3
|
||||
*
|
||||
* Revision 1.5.2.6 98/01/22 13:11:24 rvb
|
||||
* Move make_coda_node ctlfid later so vfsp is known; work on ^c and ^z
|
||||
*
|
||||
* Revision 1.5.2.5 97/12/16 22:01:27 rvb
|
||||
* Oops add cfs_subr.h cfs_venus.h; sync with peter
|
||||
*
|
||||
* Revision 1.5.2.4 97/12/16 12:40:05 rvb
|
||||
* Sync with 1.3
|
||||
*
|
||||
* Revision 1.5.2.3 97/12/10 14:08:24 rvb
|
||||
* Fix O_ flags; check result in coda_call
|
||||
*
|
||||
* Revision 1.5.2.2 97/12/10 11:40:24 rvb
|
||||
* No more ody
|
||||
*
|
||||
* Revision 1.5.2.1 97/12/06 17:41:20 rvb
|
||||
* Sync with peters coda.h
|
||||
*
|
||||
* Revision 1.5 97/12/05 10:39:16 rvb
|
||||
* Read CHANGES
|
||||
*
|
||||
* Revision 1.4.18.9 97/12/05 08:58:07 rvb
|
||||
* peter found this one
|
||||
*
|
||||
* Revision 1.4.18.8 97/11/26 15:28:57 rvb
|
||||
* Cant make downcall pbuf == union cfs_downcalls yet
|
||||
*
|
||||
* Revision 1.4.18.7 97/11/25 09:40:49 rvb
|
||||
* Final cfs_venus.c w/o macros, but one locking bug
|
||||
*
|
||||
* Revision 1.4.18.6 97/11/20 11:46:41 rvb
|
||||
* Capture current cfs_venus
|
||||
*
|
||||
* Revision 1.4.18.5 97/11/18 10:27:15 rvb
|
||||
* cfs_nbsd.c is DEAD!!!; integrated into cfs_vf/vnops.c
|
||||
* cfs_nb_foo and cfs_foo are joined
|
||||
*
|
||||
* Revision 1.4.18.4 97/11/13 22:02:59 rvb
|
||||
* pass2 cfs_NetBSD.h mt
|
||||
*
|
||||
* Revision 1.4.18.3 97/11/12 12:09:38 rvb
|
||||
* reorg pass1
|
||||
*
|
||||
* Revision 1.4.18.2 97/10/29 16:06:09 rvb
|
||||
* Kill DYING
|
||||
*
|
||||
* Revision 1.4.18.1 1997/10/28 23:10:15 rvb
|
||||
* >64Meg; venus can be killed!
|
||||
*
|
||||
* Revision 1.4 1996/12/12 22:10:58 bnoble
|
||||
* Fixed the "downcall invokes venus operation" deadlock in all known cases.
|
||||
* There may be more
|
||||
*
|
||||
* Revision 1.3 1996/11/13 04:14:20 bnoble
|
||||
* Merging BNOBLE_WORK_6_20_96 into main line
|
||||
*
|
||||
* Revision 1.2.8.1 1996/08/22 14:25:04 bnoble
|
||||
* Added a return code from vc_nb_close
|
||||
*
|
||||
* Revision 1.2 1996/01/02 16:56:58 bnoble
|
||||
* Added support for Coda MiniCache and raw inode calls (final commit)
|
||||
*
|
||||
* Revision 1.1.2.1 1995/12/20 01:57:24 bnoble
|
||||
* Added CODA-specific files
|
||||
*
|
||||
* Revision 1.1 1995/03/14 20:52:15 bnoble
|
||||
* Initial revision
|
||||
*
|
||||
*/
|
||||
|
||||
/* These routines are the device entry points for Venus. */
|
||||
|
||||
extern int coda_nc_initialized; /* Set if cache has been initialized */
|
||||
|
@ -27,7 +27,7 @@
|
||||
* Mellon the rights to redistribute these changes without encumbrance.
|
||||
*
|
||||
* @(#) src/sys/coda/coda_subr.c,v 1.1.1.1 1998/08/29 21:14:52 rvb Exp $
|
||||
* $Id: coda_subr.c,v 1.8 1998/10/28 19:33:50 rvb Exp $
|
||||
* $Id: coda_subr.c,v 1.9 1999/01/17 20:25:15 peter Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
@ -41,182 +41,8 @@
|
||||
/*
|
||||
* This code was written for the Coda file system at Carnegie Mellon
|
||||
* University. Contributers include David Steere, James Kistler, and
|
||||
* M. Satyanarayanan. */
|
||||
|
||||
/*
|
||||
* HISTORY
|
||||
* $Log: coda_subr.c,v $
|
||||
* Revision 1.8 1998/10/28 19:33:50 rvb
|
||||
* 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.
|
||||
*
|
||||
* Revision 1.7 1998/09/29 20:19:45 rvb
|
||||
* Fixes for lkm:
|
||||
* 1. use VFS_LKM vs ACTUALLY_LKM_NOT_KERNEL
|
||||
* 2. don't pass -DCODA to lkm build
|
||||
*
|
||||
* Revision 1.6 1998/09/25 17:38:31 rvb
|
||||
* Put "stray" printouts under DIAGNOSTIC. Make everything build
|
||||
* with DEBUG on. Add support for lkm. (The macro's don't work
|
||||
* for me; for a good chuckle look at the end of coda_fbsd.c.)
|
||||
*
|
||||
* Revision 1.5 1998/09/13 13:57:59 rvb
|
||||
* Finish conversion of cfs -> coda
|
||||
*
|
||||
* Revision 1.4 1998/09/11 18:50:17 rvb
|
||||
* All the references to cfs, in symbols, structs, and strings
|
||||
* have been changed to coda. (Same for CFS.)
|
||||
*
|
||||
* Revision 1.2 1998/09/02 19:09:53 rvb
|
||||
* Pass2 complete
|
||||
*
|
||||
* Revision 1.1.1.1 1998/08/29 21:14:52 rvb
|
||||
* Very Preliminary Coda
|
||||
*
|
||||
* Revision 1.11 1998/08/28 18:12:18 rvb
|
||||
* Now it also works on FreeBSD -current. This code will be
|
||||
* committed to the FreeBSD -current and NetBSD -current
|
||||
* trees. It will then be tailored to the particular platform
|
||||
* by flushing conditional code.
|
||||
*
|
||||
* Revision 1.10 1998/08/18 17:05:16 rvb
|
||||
* Don't use __RCSID now
|
||||
*
|
||||
* Revision 1.9 1998/08/18 16:31:41 rvb
|
||||
* Sync the code for NetBSD -current; test on 1.3 later
|
||||
*
|
||||
* Revision 1.8 98/01/31 20:53:12 rvb
|
||||
* First version that works on FreeBSD 2.2.5
|
||||
*
|
||||
* Revision 1.7 98/01/23 11:53:42 rvb
|
||||
* Bring RVB_CODA1_1 to HEAD
|
||||
*
|
||||
* Revision 1.6.2.3 98/01/23 11:21:05 rvb
|
||||
* Sync with 2.2.5
|
||||
*
|
||||
* Revision 1.6.2.2 97/12/16 12:40:06 rvb
|
||||
* Sync with 1.3
|
||||
*
|
||||
* Revision 1.6.2.1 97/12/06 17:41:21 rvb
|
||||
* Sync with peters coda.h
|
||||
*
|
||||
* Revision 1.6 97/12/05 10:39:17 rvb
|
||||
* Read CHANGES
|
||||
*
|
||||
* Revision 1.5.4.8 97/11/26 15:28:58 rvb
|
||||
* Cant make downcall pbuf == union cfs_downcalls yet
|
||||
*
|
||||
* Revision 1.5.4.7 97/11/20 11:46:42 rvb
|
||||
* Capture current cfs_venus
|
||||
*
|
||||
* Revision 1.5.4.6 97/11/18 10:27:16 rvb
|
||||
* cfs_nbsd.c is DEAD!!!; integrated into cfs_vf/vnops.c
|
||||
* cfs_nb_foo and cfs_foo are joined
|
||||
*
|
||||
* Revision 1.5.4.5 97/11/13 22:03:00 rvb
|
||||
* pass2 cfs_NetBSD.h mt
|
||||
*
|
||||
* Revision 1.5.4.4 97/11/12 12:09:39 rvb
|
||||
* reorg pass1
|
||||
*
|
||||
* Revision 1.5.4.3 97/11/06 21:02:38 rvb
|
||||
* first pass at ^c ^z
|
||||
*
|
||||
* Revision 1.5.4.2 97/10/29 16:06:27 rvb
|
||||
* Kill DYING
|
||||
*
|
||||
* Revision 1.5.4.1 97/10/28 23:10:16 rvb
|
||||
* >64Meg; venus can be killed!
|
||||
*
|
||||
* Revision 1.5 97/08/05 11:08:17 lily
|
||||
* Removed cfsnc_replace, replaced it with a coda_find, unhash, and
|
||||
* rehash. This fixes a cnode leak and a bug in which the fid is
|
||||
* not actually replaced. (cfs_namecache.c, cfsnc.h, cfs_subr.c)
|
||||
*
|
||||
* Revision 1.4 96/12/12 22:10:59 bnoble
|
||||
* Fixed the "downcall invokes venus operation" deadlock in all known cases.
|
||||
* There may be more
|
||||
*
|
||||
* Revision 1.3 1996/12/05 16:20:15 bnoble
|
||||
* Minor debugging aids
|
||||
*
|
||||
* Revision 1.2 1996/01/02 16:57:01 bnoble
|
||||
* Added support for Coda MiniCache and raw inode calls (final commit)
|
||||
*
|
||||
* Revision 1.1.2.1 1995/12/20 01:57:27 bnoble
|
||||
* Added CODA-specific files
|
||||
*
|
||||
* Revision 3.1.1.1 1995/03/04 19:07:59 bnoble
|
||||
* Branch for NetBSD port revisions
|
||||
*
|
||||
* Revision 3.1 1995/03/04 19:07:58 bnoble
|
||||
* Bump to major revision 3 to prepare for NetBSD port
|
||||
*
|
||||
* Revision 2.8 1995/03/03 17:00:04 dcs
|
||||
* Fixed kernel bug involving sleep and upcalls. Basically if you killed
|
||||
* a job waiting on venus, the venus upcall queues got trashed. Depending
|
||||
* on luck, you could kill the kernel or not.
|
||||
* (mods to cfs_subr.c and cfs_mach.d)
|
||||
*
|
||||
* Revision 2.7 95/03/02 22:45:21 dcs
|
||||
* Sun4 compatibility
|
||||
*
|
||||
* Revision 2.6 95/02/17 16:25:17 dcs
|
||||
* These versions represent several changes:
|
||||
* 1. Allow venus to restart even if outstanding references exist.
|
||||
* 2. Have only one ctlvp per client, as opposed to one per mounted cfs device.d
|
||||
* 3. Allow ody_expand to return many members, not just one.
|
||||
*
|
||||
* Revision 2.5 94/11/09 15:56:26 dcs
|
||||
* Had the thread sleeping on the wrong thing!
|
||||
*
|
||||
* Revision 2.4 94/10/14 09:57:57 dcs
|
||||
* Made changes 'cause sun4s have braindead compilers
|
||||
*
|
||||
* Revision 2.3 94/10/12 16:46:26 dcs
|
||||
* Cleaned kernel/venus interface by removing XDR junk, plus
|
||||
* so cleanup to allow this code to be more easily ported.
|
||||
*
|
||||
* Revision 1.2 92/10/27 17:58:22 lily
|
||||
* merge kernel/latest and alpha/src/cfs
|
||||
*
|
||||
* Revision 2.4 92/09/30 14:16:26 mja
|
||||
* Incorporated Dave Steere's fix for the GNU-Emacs bug.
|
||||
* Also, included his coda_flush routine in place of the former coda_nc_flush.
|
||||
* [91/02/07 jjk]
|
||||
*
|
||||
* Added contributors blurb.
|
||||
* [90/12/13 jjk]
|
||||
*
|
||||
* Hack to allow users to keep coda venus calls uninterruptible. THis
|
||||
* basically prevents the Gnu-emacs bug from appearing, in which a call
|
||||
* was being interrupted, and return EINTR, but gnu didn't check for the
|
||||
* error and figured the file was buggered.
|
||||
* [90/12/09 dcs]
|
||||
*
|
||||
* Revision 2.3 90/08/10 10:23:20 mrt
|
||||
* Removed include of vm/vm_page.h as it no longer exists.
|
||||
* [90/08/10 mrt]
|
||||
*
|
||||
* Revision 2.2 90/07/05 11:26:35 mrt
|
||||
* Initialize name cache on first call to vcopen.
|
||||
* [90/05/23 dcs]
|
||||
*
|
||||
* Created for the Coda File System.
|
||||
* [90/05/23 dcs]
|
||||
*
|
||||
* Revision 1.5 90/05/31 17:01:35 dcs
|
||||
* Prepare for merge with facilities kernel.
|
||||
*
|
||||
* Revision 1.2 90/03/19 15:56:25 dcs
|
||||
* Initialize name cache on first call to vcopen.
|
||||
*
|
||||
* Revision 1.1 90/03/15 10:43:26 jjk
|
||||
* Initial revision
|
||||
*
|
||||
*/
|
||||
* M. Satyanarayanan.
|
||||
*/
|
||||
|
||||
/* NOTES: rvb
|
||||
* 1. Added coda_unmounting to mark all cnodes as being UNMOUNTING. This has to
|
||||
|
@ -27,7 +27,7 @@
|
||||
* Mellon the rights to redistribute these changes without encumbrance.
|
||||
*
|
||||
* @(#) src/sys/cfs/coda_vfsops.c,v 1.1.1.1 1998/08/29 21:14:52 rvb Exp $
|
||||
* $Id: coda_vfsops.c,v 1.14 1999/05/31 11:24:18 phk Exp $
|
||||
* $Id: coda_vfsops.c,v 1.15 1999/07/20 07:18:17 phk Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
@ -44,224 +44,6 @@
|
||||
* M. Satyanarayanan.
|
||||
*/
|
||||
|
||||
/*
|
||||
* HISTORY
|
||||
* $Log: coda_vfsops.c,v $
|
||||
* Revision 1.14 1999/05/31 11:24:18 phk
|
||||
* Simplify cdevsw registration.
|
||||
*
|
||||
* The cdevsw_add() function now finds the major number(s) in the
|
||||
* struct cdevsw passed to it. cdevsw_add_generic() is no longer
|
||||
* needed, cdevsw_add() does the same thing.
|
||||
*
|
||||
* cdevsw_add() will print an message if the d_maj field looks bogus.
|
||||
*
|
||||
* Remove nblkdev and nchrdev variables. Most places they were used
|
||||
* bogusly. Instead check a dev_t for validity by seeing if devsw()
|
||||
* or bdevsw() returns NULL.
|
||||
*
|
||||
* Move bdevsw() and devsw() functions to kern/kern_conf.c
|
||||
*
|
||||
* Bump __FreeBSD_version to 400006
|
||||
*
|
||||
* This commit removes:
|
||||
* 72 bogus makedev() calls
|
||||
* 26 bogus SYSINIT functions
|
||||
*
|
||||
* if_xe.c bogusly accessed cdevsw[], author/maintainer please fix.
|
||||
*
|
||||
* I4b and vinum not changed. Patches emailed to authors. LINT
|
||||
* probably broken until they catch up.
|
||||
*
|
||||
* Revision 1.13 1999/05/09 13:11:37 phk
|
||||
* remove cast from dev_t to dev_t.
|
||||
*
|
||||
* Revision 1.12 1999/05/08 06:39:04 phk
|
||||
* I got tired of seeing all the cdevsw[major(foo)] all over the place.
|
||||
*
|
||||
* Made a new (inline) function devsw(dev_t dev) and substituted it.
|
||||
*
|
||||
* Changed to the BDEV variant to this format as well: bdevsw(dev_t dev)
|
||||
*
|
||||
* DEVFS will eventually benefit from this change too.
|
||||
*
|
||||
* Revision 1.11 1999/01/17 20:25:17 peter
|
||||
* Clean up the KLD/LKM goop a bit.
|
||||
*
|
||||
* Revision 1.10 1998/12/04 22:54:43 archie
|
||||
* Examine all occurrences of sprintf(), strcat(), and str[n]cpy()
|
||||
* for possible buffer overflow problems. Replaced most sprintf()'s
|
||||
* with snprintf(); for others cases, added terminating NUL bytes where
|
||||
* appropriate, replaced constants like "16" with sizeof(), etc.
|
||||
*
|
||||
* These changes include several bug fixes, but most changes are for
|
||||
* maintainability's sake. Any instance where it wasn't "immediately
|
||||
* obvious" that a buffer overflow could not occur was made safer.
|
||||
*
|
||||
* Reviewed by: Bruce Evans <bde@zeta.org.au>
|
||||
* Reviewed by: Matthew Dillon <dillon@apollo.backplane.com>
|
||||
* Reviewed by: Mike Spengler <mks@networkcs.com>
|
||||
*
|
||||
* Revision 1.9 1998/11/16 19:48:26 rvb
|
||||
* A few bug fixes for Robert Watson
|
||||
*
|
||||
* Revision 1.8 1998/11/03 08:55:06 peter
|
||||
* Support KLD. We register and unregister two modules. "coda" (the vfs)
|
||||
* via VFS_SET(), and "codadev" for the cdevsw entry. From kldstat -v:
|
||||
* 3 1 0xf02c5000 115d8 coda.ko
|
||||
* Contains modules:
|
||||
* Id Name
|
||||
* 2 codadev
|
||||
* 3 coda
|
||||
*
|
||||
* Revision 1.7 1998/09/29 20:19:45 rvb
|
||||
* Fixes for lkm:
|
||||
* 1. use VFS_LKM vs ACTUALLY_LKM_NOT_KERNEL
|
||||
* 2. don't pass -DCODA to lkm build
|
||||
*
|
||||
* Revision 1.6 1998/09/25 17:38:32 rvb
|
||||
* Put "stray" printouts under DIAGNOSTIC. Make everything build
|
||||
* with DEBUG on. Add support for lkm. (The macro's don't work
|
||||
* for me; for a good chuckle look at the end of coda_fbsd.c.)
|
||||
*
|
||||
* Revision 1.5 1998/09/13 13:57:59 rvb
|
||||
* Finish conversion of cfs -> coda
|
||||
*
|
||||
* Revision 1.4 1998/09/11 18:50:17 rvb
|
||||
* All the references to cfs, in symbols, structs, and strings
|
||||
* have been changed to coda. (Same for CFS.)
|
||||
*
|
||||
* Revision 1.2 1998/09/02 19:09:53 rvb
|
||||
* Pass2 complete
|
||||
*
|
||||
* Revision 1.1.1.1 1998/08/29 21:14:52 rvb
|
||||
* Very Preliminary Coda
|
||||
*
|
||||
* Revision 1.11 1998/08/28 18:12:22 rvb
|
||||
* Now it also works on FreeBSD -current. This code will be
|
||||
* committed to the FreeBSD -current and NetBSD -current
|
||||
* trees. It will then be tailored to the particular platform
|
||||
* by flushing conditional code.
|
||||
*
|
||||
* Revision 1.10 1998/08/18 17:05:19 rvb
|
||||
* Don't use __RCSID now
|
||||
*
|
||||
* Revision 1.9 1998/08/18 16:31:44 rvb
|
||||
* Sync the code for NetBSD -current; test on 1.3 later
|
||||
*
|
||||
* Revision 1.8 98/02/24 22:22:48 rvb
|
||||
* Fixes up mainly to flush iopen and friends
|
||||
*
|
||||
* Revision 1.7 98/01/23 11:53:45 rvb
|
||||
* Bring RVB_CODA1_1 to HEAD
|
||||
*
|
||||
* Revision 1.6.2.6 98/01/23 11:21:07 rvb
|
||||
* Sync with 2.2.5
|
||||
*
|
||||
* Revision 1.6.2.5 98/01/22 13:05:33 rvb
|
||||
* Move make_coda_node ctlfid later so vfsp is known
|
||||
*
|
||||
* Revision 1.6.2.4 97/12/19 14:26:05 rvb
|
||||
* session id
|
||||
*
|
||||
* Revision 1.6.2.3 97/12/16 12:40:11 rvb
|
||||
* Sync with 1.3
|
||||
*
|
||||
* Revision 1.6.2.2 97/12/10 11:40:25 rvb
|
||||
* No more ody
|
||||
*
|
||||
* Revision 1.6.2.1 97/12/06 17:41:24 rvb
|
||||
* Sync with peters coda.h
|
||||
*
|
||||
* Revision 1.6 97/12/05 10:39:21 rvb
|
||||
* Read CHANGES
|
||||
*
|
||||
* Revision 1.5.14.8 97/11/24 15:44:46 rvb
|
||||
* Final cfs_venus.c w/o macros, but one locking bug
|
||||
*
|
||||
* Revision 1.5.14.7 97/11/21 13:22:03 rvb
|
||||
* Catch a few coda_calls in coda_vfsops.c
|
||||
*
|
||||
* Revision 1.5.14.6 97/11/20 11:46:48 rvb
|
||||
* Capture current cfs_venus
|
||||
*
|
||||
* Revision 1.5.14.5 97/11/18 10:27:17 rvb
|
||||
* cfs_nbsd.c is DEAD!!!; integrated into cfs_vf/vnops.c
|
||||
* cfs_nb_foo and cfs_foo are joined
|
||||
*
|
||||
* Revision 1.5.14.4 97/11/13 22:03:01 rvb
|
||||
* pass2 cfs_NetBSD.h mt
|
||||
*
|
||||
* Revision 1.5.14.3 97/11/12 12:09:40 rvb
|
||||
* reorg pass1
|
||||
*
|
||||
* Revision 1.5.14.2 97/10/29 16:06:28 rvb
|
||||
* Kill DYING
|
||||
*
|
||||
* Revision 1.5.14.1 1997/10/28 23:10:17 rvb
|
||||
* >64Meg; venus can be killed!
|
||||
*
|
||||
* Revision 1.5 1997/01/13 17:11:07 bnoble
|
||||
* Coda statfs needs to return something other than -1 for blocks avail. and
|
||||
* files available for wabi (and other windowsish) programs to install
|
||||
* there correctly.
|
||||
*
|
||||
* Revision 1.4 1996/12/12 22:11:00 bnoble
|
||||
* Fixed the "downcall invokes venus operation" deadlock in all known cases.
|
||||
* There may be more
|
||||
*
|
||||
* Revision 1.3 1996/11/08 18:06:12 bnoble
|
||||
* Minor changes in vnode operation signature, VOP_UPDATE signature, and
|
||||
* some newly defined bits in the include files.
|
||||
*
|
||||
* Revision 1.2 1996/01/02 16:57:04 bnoble
|
||||
* Added support for Coda MiniCache and raw inode calls (final commit)
|
||||
*
|
||||
* Revision 1.1.2.1 1995/12/20 01:57:32 bnoble
|
||||
* Added CODA-specific files
|
||||
*
|
||||
* Revision 3.1.1.1 1995/03/04 19:08:02 bnoble
|
||||
* Branch for NetBSD port revisions
|
||||
*
|
||||
* Revision 3.1 1995/03/04 19:08:01 bnoble
|
||||
* Bump to major revision 3 to prepare for NetBSD port
|
||||
*
|
||||
* Revision 2.4 1995/02/17 16:25:22 dcs
|
||||
* These versions represent several changes:
|
||||
* 1. Allow venus to restart even if outstanding references exist.
|
||||
* 2. Have only one ctlvp per client, as opposed to one per mounted cfs device.d
|
||||
* 3. Allow ody_expand to return many members, not just one.
|
||||
*
|
||||
* Revision 2.3 94/10/14 09:58:21 dcs
|
||||
* Made changes 'cause sun4s have braindead compilers
|
||||
*
|
||||
* Revision 2.2 94/10/12 16:46:33 dcs
|
||||
* Cleaned kernel/venus interface by removing XDR junk, plus
|
||||
* so cleanup to allow this code to be more easily ported.
|
||||
*
|
||||
* Revision 1.3 93/05/28 16:24:29 bnoble
|
||||
* *** empty log message ***
|
||||
*
|
||||
* Revision 1.2 92/10/27 17:58:24 lily
|
||||
* merge kernel/latest and alpha/src/cfs
|
||||
*
|
||||
* Revision 2.3 92/09/30 14:16:32 mja
|
||||
* Added call to coda_flush to coda_unmount.
|
||||
* [90/12/15 dcs]
|
||||
*
|
||||
* Added contributors blurb.
|
||||
* [90/12/13 jjk]
|
||||
*
|
||||
* Revision 2.2 90/07/05 11:26:40 mrt
|
||||
* Created for the Coda File System.
|
||||
* [90/05/23 dcs]
|
||||
*
|
||||
* Revision 1.3 90/05/31 17:01:42 dcs
|
||||
* Prepare for merge with facilities kernel.
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
#include <vcoda.h>
|
||||
|
||||
#include <sys/param.h>
|
||||
|
@ -27,7 +27,7 @@
|
||||
* Mellon the rights to redistribute these changes without encumbrance.
|
||||
*
|
||||
* @(#) src/sys/coda/coda_vnops.c,v 1.1.1.1 1998/08/29 21:14:52 rvb Exp $
|
||||
* $Id: coda_vnops.c,v 1.14 1999/01/27 20:09:17 dillon Exp $
|
||||
* $Id: coda_vnops.c,v 1.15 1999/01/29 07:23:53 bde Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
@ -45,235 +45,6 @@
|
||||
* M. Satyanarayanan.
|
||||
*/
|
||||
|
||||
/*
|
||||
* HISTORY
|
||||
* $Log: coda_vnops.c,v $
|
||||
* Revision 1.14 1999/01/27 20:09:17 dillon
|
||||
* Fix warnings preparing for -Wall -Wcast-qual
|
||||
*
|
||||
* Also disable one usb module in LINT due to fatal compilation errors,
|
||||
* temporary.
|
||||
*
|
||||
* Revision 1.13 1999/01/20 14:49:05 eivind
|
||||
* Add 'options DEBUG_LOCKS', which stores extra information in struct
|
||||
* lock, and add some macros and function parameters to make sure that
|
||||
* the information get to the point where it can be put in the lock
|
||||
* structure.
|
||||
*
|
||||
* While I'm here, add DEBUG_VFS_LOCKS to LINT.
|
||||
*
|
||||
* Revision 1.12 1999/01/07 16:14:12 bde
|
||||
* Don't pass unused unused timestamp args to UFS_UPDATE() or waste
|
||||
* time initializing them. This almost finishes centralizing (in-core)
|
||||
* timestamp updates in ufs_itimes().
|
||||
*
|
||||
* Revision 1.11 1999/01/05 18:49:51 eivind
|
||||
* Remove the 'waslocked' parameter to vfs_object_create().
|
||||
*
|
||||
* Revision 1.10 1998/12/04 18:44:21 rvb
|
||||
* Don't print diagnostic anymore
|
||||
*
|
||||
* Revision 1.9 1998/11/16 19:48:26 rvb
|
||||
* A few bug fixes for Robert Watson
|
||||
*
|
||||
* Revision 1.8 1998/10/28 20:31:13 rvb
|
||||
* 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.
|
||||
*
|
||||
* Revision 1.7 1998/10/25 17:44:41 phk
|
||||
* Nitpicking and dusting performed on a train. Removes trivial warnings
|
||||
* about unused variables, labels and other lint.
|
||||
*
|
||||
* Revision 1.6 1998/09/28 20:52:58 rvb
|
||||
* Cleanup and fix THE bug
|
||||
*
|
||||
* Revision 1.5 1998/09/25 17:38:32 rvb
|
||||
* Put "stray" printouts under DIAGNOSTIC. Make everything build
|
||||
* with DEBUG on. Add support for lkm. (The macro's don't work
|
||||
* for me; for a good chuckle look at the end of coda_fbsd.c.)
|
||||
*
|
||||
* Revision 1.4 1998/09/13 13:57:59 rvb
|
||||
* Finish conversion of cfs -> coda
|
||||
*
|
||||
* Revision 1.3 1998/09/11 18:50:17 rvb
|
||||
* All the references to cfs, in symbols, structs, and strings
|
||||
* have been changed to coda. (Same for CFS.)
|
||||
*
|
||||
* Revision 1.2 1998/09/02 19:09:53 rvb
|
||||
* Pass2 complete
|
||||
*
|
||||
* Revision 1.1.1.1 1998/08/29 21:14:52 rvb
|
||||
* Very Preliminary Coda
|
||||
*
|
||||
* Revision 1.12 1998/08/28 18:28:00 rvb
|
||||
* NetBSD -current is stricter!
|
||||
*
|
||||
* Revision 1.11 1998/08/28 18:12:23 rvb
|
||||
* Now it also works on FreeBSD -current. This code will be
|
||||
* committed to the FreeBSD -current and NetBSD -current
|
||||
* trees. It will then be tailored to the particular platform
|
||||
* by flushing conditional code.
|
||||
*
|
||||
* Revision 1.10 1998/08/18 17:05:21 rvb
|
||||
* Don't use __RCSID now
|
||||
*
|
||||
* Revision 1.9 1998/08/18 16:31:46 rvb
|
||||
* Sync the code for NetBSD -current; test on 1.3 later
|
||||
*
|
||||
* Revision 1.8 98/02/24 22:22:50 rvb
|
||||
* Fixes up mainly to flush iopen and friends
|
||||
*
|
||||
* Revision 1.7 98/01/31 20:53:15 rvb
|
||||
* First version that works on FreeBSD 2.2.5
|
||||
*
|
||||
* Revision 1.6 98/01/23 11:53:47 rvb
|
||||
* Bring RVB_CODA1_1 to HEAD
|
||||
*
|
||||
* Revision 1.5.2.8 98/01/23 11:21:11 rvb
|
||||
* Sync with 2.2.5
|
||||
*
|
||||
* Revision 1.5.2.7 97/12/19 14:26:08 rvb
|
||||
* session id
|
||||
*
|
||||
* Revision 1.5.2.6 97/12/16 22:01:34 rvb
|
||||
* Oops add cfs_subr.h cfs_venus.h; sync with peter
|
||||
*
|
||||
* Revision 1.5.2.5 97/12/16 12:40:14 rvb
|
||||
* Sync with 1.3
|
||||
*
|
||||
* Revision 1.5.2.4 97/12/10 14:08:31 rvb
|
||||
* Fix O_ flags; check result in coda_call
|
||||
*
|
||||
* Revision 1.5.2.3 97/12/10 11:40:27 rvb
|
||||
* No more ody
|
||||
*
|
||||
* Revision 1.5.2.2 97/12/09 16:07:15 rvb
|
||||
* Sync with vfs/include/coda.h
|
||||
*
|
||||
* Revision 1.5.2.1 97/12/06 17:41:25 rvb
|
||||
* Sync with peters coda.h
|
||||
*
|
||||
* Revision 1.5 97/12/05 10:39:23 rvb
|
||||
* Read CHANGES
|
||||
*
|
||||
* Revision 1.4.14.10 97/11/25 08:08:48 rvb
|
||||
* cfs_venus ... done; until cred/vattr change
|
||||
*
|
||||
* Revision 1.4.14.9 97/11/24 15:44:48 rvb
|
||||
* Final cfs_venus.c w/o macros, but one locking bug
|
||||
*
|
||||
* Revision 1.4.14.8 97/11/21 11:28:04 rvb
|
||||
* cfs_venus.c is done: first pass
|
||||
*
|
||||
* Revision 1.4.14.7 97/11/20 11:46:51 rvb
|
||||
* Capture current cfs_venus
|
||||
*
|
||||
* Revision 1.4.14.6 97/11/18 10:27:19 rvb
|
||||
* cfs_nbsd.c is DEAD!!!; integrated into cfs_vf/vnops.c
|
||||
* cfs_nb_foo and cfs_foo are joined
|
||||
*
|
||||
* Revision 1.4.14.5 97/11/13 22:03:03 rvb
|
||||
* pass2 cfs_NetBSD.h mt
|
||||
*
|
||||
* Revision 1.4.14.4 97/11/12 12:09:42 rvb
|
||||
* reorg pass1
|
||||
*
|
||||
* Revision 1.4.14.3 97/11/06 21:03:28 rvb
|
||||
* don't include headers in headers
|
||||
*
|
||||
* Revision 1.4.14.2 97/10/29 16:06:30 rvb
|
||||
* Kill DYING
|
||||
*
|
||||
* Revision 1.4.14.1 1997/10/28 23:10:18 rvb
|
||||
* >64Meg; venus can be killed!
|
||||
*
|
||||
* Revision 1.4 1997/02/20 13:54:50 lily
|
||||
* check for NULL return from coda_nc_lookup before CTOV
|
||||
*
|
||||
* Revision 1.3 1996/12/12 22:11:02 bnoble
|
||||
* Fixed the "downcall invokes venus operation" deadlock in all known cases.
|
||||
* There may be more
|
||||
*
|
||||
* Revision 1.2 1996/01/02 16:57:07 bnoble
|
||||
* Added support for Coda MiniCache and raw inode calls (final commit)
|
||||
*
|
||||
* Revision 1.1.2.1 1995/12/20 01:57:34 bnoble
|
||||
* Added CODA-specific files
|
||||
*
|
||||
* Revision 3.1.1.1 1995/03/04 19:08:06 bnoble
|
||||
* Branch for NetBSD port revisions
|
||||
*
|
||||
* Revision 3.1 1995/03/04 19:08:04 bnoble
|
||||
* Bump to major revision 3 to prepare for NetBSD port
|
||||
*
|
||||
* Revision 2.6 1995/02/17 16:25:26 dcs
|
||||
* These versions represent several changes:
|
||||
* 1. Allow venus to restart even if outstanding references exist.
|
||||
* 2. Have only one ctlvp per client, as opposed to one per mounted cfs device.d
|
||||
* 3. Allow ody_expand to return many members, not just one.
|
||||
*
|
||||
* Revision 2.5 94/11/09 20:29:27 dcs
|
||||
* Small bug in remove dealing with hard links and link counts was fixed.
|
||||
*
|
||||
* Revision 2.4 94/10/14 09:58:42 dcs
|
||||
* Made changes 'cause sun4s have braindead compilers
|
||||
*
|
||||
* Revision 2.3 94/10/12 16:46:37 dcs
|
||||
* Cleaned kernel/venus interface by removing XDR junk, plus
|
||||
* so cleanup to allow this code to be more easily ported.
|
||||
*
|
||||
* Revision 2.2 94/09/20 14:12:41 dcs
|
||||
* Fixed bug in rename when moving a directory.
|
||||
*
|
||||
* Revision 2.1 94/07/21 16:25:22 satya
|
||||
* Conversion to C++ 3.0; start of Coda Release 2.0
|
||||
*
|
||||
* Revision 1.4 93/12/17 01:38:01 luqi
|
||||
* Changes made for kernel to pass process info to Venus:
|
||||
*
|
||||
* (1) in file cfs.h
|
||||
* add process id and process group id in most of the cfs argument types.
|
||||
*
|
||||
* (2) in file cfs_vnodeops.c
|
||||
* add process info passing in most of the cfs vnode operations.
|
||||
*
|
||||
* (3) in file cfs_xdr.c
|
||||
* expand xdr routines according changes in (1).
|
||||
* add variable pass_process_info to allow venus for kernel version checking.
|
||||
*
|
||||
* Revision 1.3 93/05/28 16:24:33 bnoble
|
||||
* *** empty log message ***
|
||||
*
|
||||
* Revision 1.2 92/10/27 17:58:25 lily
|
||||
* merge kernel/latest and alpha/src/cfs
|
||||
*
|
||||
* Revision 2.4 92/09/30 14:16:37 mja
|
||||
* Redid buffer allocation so that it does kmem_{alloc,free} for all
|
||||
* architectures. Zone allocation, previously used on the 386, caused
|
||||
* panics if it was invoked repeatedly. Stack allocation, previously
|
||||
* used on all other architectures, tickled some Mach bug that appeared
|
||||
* with large stack frames.
|
||||
* [91/02/09 jjk]
|
||||
*
|
||||
* Added contributors blurb.
|
||||
* [90/12/13 jjk]
|
||||
*
|
||||
* Revision 2.3 90/07/26 15:50:09 mrt
|
||||
* Fixed fix to rename to remove .. from moved directories.
|
||||
* [90/06/28 dcs]
|
||||
*
|
||||
* Revision 1.7 90/06/28 16:24:25 dcs
|
||||
* Fixed bug with moving directories, we weren't flushing .. for the moved directory.
|
||||
*
|
||||
* Revision 1.6 90/05/31 17:01:47 dcs
|
||||
* Prepare for merge with facilities kernel.
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/kernel.h>
|
||||
|
@ -27,7 +27,7 @@
|
||||
* Mellon the rights to redistribute these changes without encumbrance.
|
||||
*
|
||||
* @(#) src/sys/coda/coda_vnops.h,v 1.1.1.1 1998/08/29 21:14:52 rvb Exp $
|
||||
* $Id: coda_vnops.h,v 1.3 1998/09/11 18:50:17 rvb Exp $
|
||||
* $Id: coda_vnops.h,v 1.4 1998/09/13 13:57:59 rvb Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
@ -45,59 +45,6 @@
|
||||
* M. Satyanarayanan.
|
||||
*/
|
||||
|
||||
/*
|
||||
* HISTORY
|
||||
* $Log: coda_vnops.h,v $
|
||||
* Revision 1.3 1998/09/11 18:50:17 rvb
|
||||
* All the references to cfs, in symbols, structs, and strings
|
||||
* have been changed to coda. (Same for CFS.)
|
||||
*
|
||||
* Revision 1.2 1998/09/02 19:09:53 rvb
|
||||
* Pass2 complete
|
||||
*
|
||||
* Revision 1.1.1.1 1998/08/29 21:14:52 rvb
|
||||
* Very Preliminary Coda
|
||||
*
|
||||
* Revision 1.7 1998/08/28 18:12:24 rvb
|
||||
* Now it also works on FreeBSD -current. This code will be
|
||||
* committed to the FreeBSD -current and NetBSD -current
|
||||
* trees. It will then be tailored to the particular platform
|
||||
* by flushing conditional code.
|
||||
*
|
||||
* Revision 1.6 1998/08/18 17:05:22 rvb
|
||||
* Don't use __RCSID now
|
||||
*
|
||||
* Revision 1.5 1998/08/18 16:31:47 rvb
|
||||
* Sync the code for NetBSD -current; test on 1.3 later
|
||||
*
|
||||
* Revision 1.4 98/01/23 11:53:49 rvb
|
||||
* Bring RVB_CODA1_1 to HEAD
|
||||
*
|
||||
* Revision 1.3.2.3 98/01/23 11:21:13 rvb
|
||||
* Sync with 2.2.5
|
||||
*
|
||||
* Revision 1.3.2.2 97/12/16 12:40:20 rvb
|
||||
* Sync with 1.3
|
||||
*
|
||||
* Revision 1.3.2.1 97/12/10 14:08:34 rvb
|
||||
* Fix O_ flags; check result in coda_call
|
||||
*
|
||||
* Revision 1.3 97/12/05 10:39:25 rvb
|
||||
* Read CHANGES
|
||||
*
|
||||
* Revision 1.2.34.2 97/11/20 11:46:54 rvb
|
||||
* Capture current cfs_venus
|
||||
*
|
||||
* Revision 1.2.34.1 97/11/13 22:03:04 rvb
|
||||
* pass2 cfs_NetBSD.h mt
|
||||
*
|
||||
* Revision 1.2 96/01/02 16:57:14 bnoble
|
||||
* Added support for Coda MiniCache and raw inode calls (final commit)
|
||||
*
|
||||
* Revision 1.1.2.1 1995/12/20 01:57:40 bnoble
|
||||
* Added CODA-specific files
|
||||
*
|
||||
*/
|
||||
|
||||
/* NetBSD interfaces to the vnodeops */
|
||||
int coda_open __P((void *));
|
||||
|
Loading…
x
Reference in New Issue
Block a user