Home | History | Annotate | Download | only in coda
History log of /src/sys/coda/coda_subr.c
RevisionDateAuthorComments
 1.33  17-May-2024  thorpej Remove unnecessary include of <sys/malloc.h>.
 1.32  13-Apr-2020  ad Replace most uses of vp->v_usecount with a call to vrefcnt(vp), a function
that hides the details and does atomic_load_relaxed(). Signature matches
FreeBSD.
 1.31  06-Jan-2015  hannken branches: 1.31.18; 1.31.28;
Add missing vrele() and vfs_vnode_iterator_destroy() to coda_cacheprint().
 1.30  13-Dec-2014  hannken Change coda from hashlist to vcache.
- Replace all hash list crawlers with vfs_vnode_iterator.
 1.29  13-Dec-2014  hannken Move the definition of NVCODA and CODA_COMPAT_5 to coda.h,
remove them from coda_vfsops.c and coda_psdev.c.
 1.28  13-Dec-2014  hannken Attach the control object vnode to the coda mount and release it
on unmount. Initialize special files with NODEV.
 1.27  02-Aug-2012  christos branches: 1.27.2; 1.27.16;
- move debugging functions to vcoda so modules with -DDEBUG link
- fix writing to coda files. this is probably not the right way to do
this, but it satisfies the locking protocol:
1. Sometimes coda_open() is called with an unlocked vnode which
does not satisfy the locking protocol. Lock it for now. We
need to find out why this happens
2. VFS_VGET sometimes returns the container vnode unlocked. What
is the locking protocol for VFS_VGET? We also lock it here.
 1.26  26-Apr-2012  christos re-arrange things so that vcoda does not depend on coda.
 1.25  31-Aug-2011  plunky branches: 1.25.2; 1.25.6;
NULL does not need a cast
 1.24  10-Oct-2007  ad Merge from vmlocking:

- Split vnode::v_flag into three fields, depending on field locking.
- simple_lock -> kmutex in a few places.
- Fix some simple locking problems.
 1.23  04-Mar-2007  christos branches: 1.23.2; 1.23.14; 1.23.16; 1.23.18;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.22  16-Nov-2006  christos branches: 1.22.4;
__unused removal on arguments; approved by core.
 1.21  20-Oct-2006  reinoud Replace the LIST structure mp->mnt_vnodelist to a TAILQ structure since all
vnodes were synced and processed backwards. This meant that the last
accessed node was processed first and the earlierst last.

An extra benefit is the removal of the ugly hack from the Berkly days on
LFS.

In the proces, i've also replaced the various variations hand written loops
by the TAILQ_FOREACH() macro's.
 1.20  12-Oct-2006  christos - sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386
 1.19  11-Dec-2005  christos branches: 1.19.20; 1.19.22;
merge ktrace-lwp.
 1.18  30-Aug-2005  xtraeme * Remove __P()
* Use ANSI function declarations
 1.17  26-Feb-2005  perry branches: 1.17.4;
nuke trailing whitespace
 1.16  28-Aug-2003  mrg branches: 1.16.8; 1.16.10;
don't include opt_coda_compat.h unless _KERNEL_OPT. also, only include it
once...
 1.15  27-Aug-2003  drochner 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.14  26-Dec-2002  jdolecek branches: 1.14.2;
do not need <vcoda.h>/NVCODA here
 1.13  12-Nov-2001  lukem add RCSIDs
 1.12  18-Jul-2001  thorpej bzero -> memset
 1.11  30-Apr-2001  lukem branches: 1.11.2;
delint newline in string
 1.10  27-Nov-2000  chs branches: 1.10.2;
Initial integration of the Unified Buffer Cache project.
 1.9  30-Mar-2000  augustss Kill register declarations.
 1.8  17-Oct-1999  cgd branches: 1.8.2;
nuke RCS "Log" tags. They cause problems for third parties importing
our sources, and for NetBSD release engineering folks. (They've
been against the NetBSD coding style forever, but they crept in anyway.)
 1.7  01-Oct-1999  soren branches: 1.7.2;
Account for widened v_usecount in struct vnode.
 1.6  28-Oct-1998  rvb branches: 1.6.6;
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.
 1.5  25-Sep-1998  rvb Conditionalize "stray" printouts under DIAGNOSTIC and DEBUG.
Make files compile if DEBUG is on (from Alan Barrett). Finally,
make coda an lkm.
 1.4  15-Sep-1998  rvb 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.6.6.1  10-Oct-1999  cgd pull up rev 1.7 from trunk (requested by mycroft):
Fix potential overflow of v_usecount and v_writecount (and panics
resulting from this) by widening them to `long'. Mostly affects
systems where maxvnodes>=32768.
 1.7.2.1  27-Dec-1999  wrstuden Pull up to last week's -current.
 1.8.2.2  08-Dec-2000  bouyer Sync with HEAD.
 1.8.2.1  20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
 1.10.2.4  29-Dec-2002  thorpej Sync with HEAD.
 1.10.2.3  14-Nov-2001  nathanw Catch up to -current.
 1.10.2.2  24-Aug-2001  nathanw Catch up with -current.
 1.10.2.1  21-Jun-2001  nathanw Catch up to -current.
 1.11.2.2  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.11.2.1  03-Aug-2001  lukem update to -current
 1.14.2.5  10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.14.2.4  04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.14.2.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.14.2.2  18-Sep-2004  skrll Sync with HEAD.
 1.14.2.1  03-Aug-2004  skrll Sync with HEAD
 1.16.10.1  19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.16.8.1  29-Apr-2005  kent sync with -current
 1.17.4.4  27-Oct-2007  yamt sync with head.
 1.17.4.3  03-Sep-2007  yamt sync with head.
 1.17.4.2  30-Dec-2006  yamt sync with head.
 1.17.4.1  21-Jun-2006  yamt sync with head.
 1.19.22.2  10-Dec-2006  yamt sync with head.
 1.19.22.1  22-Oct-2006  yamt sync with head
 1.19.20.1  18-Nov-2006  ad Sync with head.
 1.22.4.1  12-Mar-2007  rmind Sync with HEAD.
 1.23.18.1  14-Oct-2007  yamt sync with head.
 1.23.16.1  06-Nov-2007  matt sync with HEAD
 1.23.14.1  26-Oct-2007  joerg Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
 1.23.2.1  17-Jun-2007  ad - Increase the number of thread priorities from 128 to 256. How the space
is set up is to be revisited.
- Implement soft interrupts as kernel threads. A generic implementation
is provided, with hooks for fast-path MD code that can run the interrupt
threads over the top of other threads executing in the kernel.
- Split vnode::v_flag into three fields, depending on how the flag is
locked (by the interlock, by the vnode lock, by the file system).
- Miscellaneous locking fixes and improvements.
 1.25.6.1  29-Apr-2012  mrg sync to latest -current.
 1.25.2.2  30-Oct-2012  yamt sync with head
 1.25.2.1  23-May-2012  yamt sync with head.
 1.27.16.1  06-Apr-2015  skrll Sync with HEAD
 1.27.2.1  03-Dec-2017  jdolecek update from HEAD
 1.31.28.1  20-Apr-2020  bouyer Sync with HEAD
 1.31.18.1  21-Apr-2020  martin Sync with HEAD

RSS XML Feed