Home | History | Annotate | Download | only in coda
History log of /src/sys/coda/coda_vfsops.h
RevisionDateAuthorComments
 1.21  17-Jan-2020  ad VFS_VGET(), VFS_ROOT(), VFS_FHTOVP(): give them a "int lktype" argument, to
allow us to get shared locks (or no lock) on the returned vnode. Matches
FreeBSD.
 1.20  08-Jun-2017  chs branches: 1.20.6; 1.20.12;
add a forward declaration of struct mbuf.
needed due to some other change I made for ZFS.
 1.19  13-Dec-2014  hannken Change coda from hashlist to vcache.
- Replace all hash list crawlers with vfs_vnode_iterator.
 1.18  26-Nov-2007  pooka branches: 1.18.62; 1.18.82;
Remove the "struct lwp *" argument from all VFS and VOP interfaces.
The general trend is to remove it from all kernel interfaces and
this is a start. In case the calling lwp is desired, curlwp should
be used.

quick consensus on tech-kern
 1.17  31-Jul-2007  pooka branches: 1.17.2; 1.17.4; 1.17.10; 1.17.12;
* nuke the nameidata parameter from VFS_MOUNT(). Nobody on tech-kern
knew what it was supposed to be used for and wrstuden gave a go-ahead
* while rototilling, convert file systems which went easily to
use VFS_PROTOS() instead of manually prototyping the methods
 1.16  12-Jul-2007  dsl branches: 1.16.2;
Update coda for VFS_MOUNT() change
 1.15  14-May-2006  elad branches: 1.15.18;
integrate kauth.
 1.14  11-Dec-2005  christos branches: 1.14.4; 1.14.6; 1.14.8; 1.14.10; 1.14.12;
merge ktrace-lwp.
 1.13  26-Feb-2005  perry branches: 1.13.4;
nuke trailing whitespace
 1.12  20-May-2004  atatat branches: 1.12.4; 1.12.6;
Tweak sysctl setup functions (the macros, actually) for use in lkms,
and tweak lkminit_*.c (where applicable) to call them, and to call
sysctl_teardown() when being unloaded.

This consists of (1) making setup functions not be static when being
compiled as lkms (change to sys/sysctl.h), (2) making prototypes
visible for the various setup functions in header files (changes to
various header files), and (3) making simple "load" and "unload"
functions in the actual lkminit stuff.

linux_sysctl.c also needs its root exposed (ie, made not static) for
this (when built as an lkm).
 1.11  27-Apr-2004  jrf First pass for some caddr_t removal and changes to get rid of it where we
no longer use and/or need it

- removed casts from unionfs, deadfs and fdesc
(there are more to hunt down still)
- changed vfs_quotactl args argumet from caddr_t to void *
- changed vfs_quotactl structures/callers to reflect the api change

Compiled fine and ran for about a day. Approved/reviewed by
christos@netbsd.org and gimpy@netbsd.org.
 1.10  21-Apr-2004  christos Replace the statfs() family of system calls with statvfs().
Retain binary compatibility.
 1.9  27-Aug-2003  drochner branches: 1.9.2;
update for the protocol used by coda>=6,
patches supplied by the coda-6.0.2 distribution,
with small changes to support the old protocol optionally
(options CODA_COMPAT_5)
 1.8  29-Jun-2003  fvdl branches: 1.8.2;
Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.
 1.7  29-Jun-2003  thorpej Undo part of the ktrace/lwp changes. In particular:
* Remove the "lwp *" argument that was added to vget(). Turns out
that nothing actually used it!
* Remove the "lwp *" arguments that were added to VFS_ROOT(), VFS_VGET(),
and VFS_FHTOVP(); all they did was pass it to vget() (which, as noted
above, didn't use it).
* Remove all of the "lwp *" arguments to internal functions that were added
just to appease the above.
 1.6  28-Jun-2003  darrenr Pass lwp pointers throughtout the kernel, as required, so that the lwpid can
be inserted into ktrace records. The general change has been to replace
"struct proc *" with "struct lwp *" in various function prototypes, pass
the lwp through and use l_proc to get the process pointer when needed.

Bump the kernel rev up to 1.6V
 1.5  16-Mar-2000  jdolecek Add new VFS op routine - vfs_done and call it on filesystem detach
in vfs_detach(). vfs_done may free global filesystem's resources,
typically those allocated in respective filesystem's init function.
Needed so those filesystems which went in via LKM have a chance to
clean after themselves before unloading. This fixes random panics
when LKM for filesystem using pools was loaded and unloaded several
times.

For each leaf filesystem, add appropriate vfs_done routine.
 1.4  15-Sep-1998  rvb branches: 1.4.12;
Final piece of rename cfs->coda
 1.3  12-Sep-1998  rvb Change cfs/CFS in symbols, strings and constants to coda/CODA
to avoid fs conflicts.
 1.2  08-Sep-1998  rvb Pass2 complete
 1.1  29-Aug-1998  rvb branches: 1.1.1;
Initial revision
 1.1.1.1  29-Aug-1998  rvb Very Preliminary Coda
 1.4.12.1  20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
 1.8.2.6  04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.8.2.5  21-Sep-2004  skrll Fix the sync with head I botched.
 1.8.2.4  18-Sep-2004  skrll Sync with HEAD.
 1.8.2.3  24-Aug-2004  skrll Undo part of the ktrace/lwp changes. In particular:
* Remove the "lwp *" argument that was added to vget(). Turns out
that nothing actually used it!
* Remove the "lwp *" arguments that were added to VFS_ROOT(), VFS_VGET(),
and VFS_FHTOVP(); all they did was pass it to vget() (which, as noted
above, didn't use it).
* Remove all of the "lwp *" arguments to internal functions that were added
just to appease the above.
 1.8.2.2  03-Aug-2004  skrll Sync with HEAD
 1.8.2.1  02-Jul-2003  darrenr Apply the aborted ktrace-lwp changes to a specific branch. This is just for
others to review, I'm concerned that patch fuziness may have resulted in some
errant code being generated but I'll look at that later by comparing the diff
from the base to the branch with the file I attempt to apply to it. This will,
at the very least, put the changes in a better context for others to review
them and attempt to tinker with removing passing of 'struct lwp' through
the kernel.
 1.9.2.1  23-May-2004  tron Pull up revision 1.12 (requested by atatat in ticket #374):
Tweak sysctl setup functions (the macros, actually) for use in lkms,
and tweak lkminit_*.c (where applicable) to call them, and to call
sysctl_teardown() when being unloaded.
This consists of (1) making setup functions not be static when being
compiled as lkms (change to sys/sysctl.h), (2) making prototypes
visible for the various setup functions in header files (changes to
various header files), and (3) making simple "load" and "unload"
functions in the actual lkminit stuff.
linux_sysctl.c also needs its root exposed (ie, made not static) for
this (when built as an lkm).
 1.12.6.1  19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.12.4.1  29-Apr-2005  kent sync with -current
 1.13.4.3  07-Dec-2007  yamt sync with head
 1.13.4.2  03-Sep-2007  yamt sync with head.
 1.13.4.1  21-Jun-2006  yamt sync with head.
 1.14.12.1  24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.14.10.1  08-Mar-2006  elad Adapt to kernel authorization KPI.
 1.14.8.1  24-May-2006  yamt sync with head.
 1.14.6.1  01-Jun-2006  kardel Sync with head.
 1.14.4.1  09-Sep-2006  rpaulo sync with head
 1.15.18.2  20-Aug-2007  ad Sync with HEAD.
 1.15.18.1  15-Jul-2007  ad Sync with head.
 1.16.2.1  15-Aug-2007  skrll Sync with HEAD.
 1.17.12.2  31-Jul-2007  pooka * nuke the nameidata parameter from VFS_MOUNT(). Nobody on tech-kern
knew what it was supposed to be used for and wrstuden gave a go-ahead
* while rototilling, convert file systems which went easily to
use VFS_PROTOS() instead of manually prototyping the methods
 1.17.12.1  31-Jul-2007  pooka file coda_vfsops.h was added on branch matt-mips64 on 2007-07-31 21:14:20 +0000
 1.17.10.1  08-Dec-2007  mjf Sync with HEAD.
 1.17.4.1  09-Jan-2008  matt sync with HEAD
 1.17.2.1  27-Nov-2007  joerg Sync with HEAD. amd64 Xen support needs testing.
 1.18.82.2  28-Aug-2017  skrll Sync with HEAD
 1.18.82.1  06-Apr-2015  skrll Sync with HEAD
 1.18.62.1  03-Dec-2017  jdolecek update from HEAD
 1.20.12.1  17-Jan-2020  ad Sync with head.
 1.20.6.1  08-Apr-2020  martin Merge changes from current as of 20200406

RSS XML Feed