Home | History | Annotate | Download | only in man9
History log of /src/share/man/man9/vfsops.9
RevisionDateAuthorComments
 1.53  28-Aug-2020  hannken Another typo -- its vfs_newvnode().
 1.52  27-Aug-2020  fcambus Fix a bunch of typos in various kernel man pages.
 1.51  07-Aug-2020  christos Catch up with lktype addition.
 1.50  04-Jul-2020  christos add missing arg
 1.49  01-Jan-2019  hannken Add "void *extra" argument to vcache_new() so a file system may
pass more information about the file to create.

Welcome to 8.99.30
 1.48  03-Jul-2017  wiz branches: 1.48.4; 1.48.6;
Remove workaround for ancient HTML generation code.
 1.47  12-Jul-2015  hannken Operations getnewvnode() and ungetnewvnode() have been replaced with vcache.
- Remove now obsolete functions getnewvnode() and ungetnewvnode().
- Document vcache operations.

Welcome to 7.99.20
 1.46  13-Feb-2012  wiz Bump date for previous.
 1.45  13-Feb-2012  njoly Fix copyin/copyout sections in xrefs.
 1.44  13-Feb-2012  dholland Quota-related docs fixes:

- Remove old quotactl(2); replace with new __quotactl(2).
- Document quota_getrestrictions(3), the semantic restriction codes,
and quota_quotaon/off(3).
- Update VFS_QUOTACTL(9), which was still describing the pre-proplib API.

Approved by releng for the freeze.
 1.43  02-Dec-2010  wiz branches: 1.43.6;
Remove boilerplate in CODE REFERENCES on file paths.
Describe in intro(9) how to read paths in the CODE REFERENCES section.
 1.42  22-Apr-2009  elad There is no vfs_subr2.c.
 1.41  17-Mar-2009  joerg Match last row to get correct space for the first column.
 1.40  16-Mar-2009  uwe Don't restrict column width of the last column of the methods table.
nroff does the right thing and properly wrap descriptions that don't fit.
 1.39  16-Mar-2009  uwe Add more semantic markup (Dv, Fa, Va, ...).
 1.38  15-Mar-2009  joerg Convert to mdoc markup.
 1.37  23-Dec-2008  stacktic branches: 1.37.2;
VFS_UMOUNT -> VFS_UNMOUNT; fix typo.
 1.36  30-Apr-2008  martin Convert TNF licenses to new 2 clause variant
 1.35  24-Jan-2008  tnn branches: 1.35.4; 1.35.6;
Mention vfs_subr2.c.
 1.34  02-Dec-2007  wiz file system -> filesystem; fix typos.
 1.33  26-Nov-2007  pooka "struct lwp *l" is a goner from VFS/VOP interfaces.
 1.32  31-Jul-2007  pooka branches: 1.32.2; 1.32.4;
VFS_MOUNT():
+ nameidata is a goner
+ document dlen (hi dsl!)
 1.31  20-Jun-2007  pooka There is no p - it's the calling lwp these days.
 1.30  16-Apr-2007  pooka handle vptofh and fhtovp:

* file handles are not only for nfs
* these functions are not allowed to be null
* update description of vptofh to contain the size parameter
(*bump date)
 1.29  07-Mar-2007  dogcow running in emulated wizd mode, convert caddr_t to void *.
 1.28  21-Jan-2007  hannken Add and update documentation for fstrans(9) file system suspension helper.

wiz?
 1.27  04-Oct-2006  pooka ucred -> kauth sweep
 1.26  25-Apr-2006  rtr list -> lists
 1.25  20-Dec-2005  rpaulo Adapt man pages to ktrace-lwp.
 1.24  09-Nov-2005  pooka one thinko: s/VOP_START/VFS_START/
 1.23  23-Sep-2005  wiz Add missing comma. Mark up NULL with Dv.
 1.22  23-Sep-2005  jmmv Apply the NFS exports list rototill patch:

- Remove all NFS related stuff from file system specific code.
- Drop the vfs_checkexp hook and generalize it in the new nfs_check_export
function, thus removing redundancy from all file systems.
- Move all NFS export-related stuff from kern/vfs_subr.c to the new
file sys/nfs/nfs_export.c. The former was becoming large and its code
is always compiled, regardless of the build options. Using the latter,
the code is only compiled in when NFSSERVER is enabled. While doing this,
also make some functions in nfs_subs.c conditional to NFSSERVER.
- Add a new command in nfssvc(2), called NFSSVC_SETEXPORTSLIST, that takes a
path and a set of export entries. At the moment it can only clear the
exports list or append entries, one by one, but it is done in a way that
allows setting the whole set of entries atomically in the future (see the
comment in mountd_set_exports_list or in doc/TODO).
- Change mountd(8) to use the nfssvc(2) system call instead of mount(2) so
that it becomes file system agnostic. In fact, all this whole thing was
done to remove a 'XXX' block from this utility!
- Change the mount*, newfs and fsck* userland utilities to not deal with NFS
exports initialization; done internally by the kernel when initializing
the NFS support for each file system.
- Implement an interface for VFS (called VFS hooks) so that several kernel
subsystems can run arbitrary code upon receipt of specific VFS events.
At the moment, this only provides support for unmount and is used to
destroy NFS exports lists from the file systems being unmounted, though it
has room for extension.

Thanks go to yamt@, chs@, thorpej@, wrstuden@ and others for their comments
and advice in the development of this patch.
 1.21  20-Jul-2005  wiz Bump date for v.
 1.20  20-Jul-2005  pooka statfs -> statvfs
(better late than never)
 1.19  16-Jul-2005  rtr not -> no typo
 1.18  20-Jun-2005  peter Change all .Xr config 8 to .Xr config 1, following the recent move of
config from usr.sbin -> usr.bin.

Reviewed by wiz.
 1.17  20-Jun-2004  hannken branches: 1.17.2;
- Add flag L_COWINPROGRESS to struct lwp to avoid recursion when
doing copy-on-write.

- Change VFS_SNAPSHOT() to return the snapshot vnode locked.

- Make the IO path for copy-on-write and snapshot-read more lightweight.
Avoids deadlocks where vn_rdwr(...READ...) has a shared lock and needs
to copy-on-write.
Avoids deadlocks/panics where to clean pages the copy-on-write needs
to allocate pages for its VOP_PUTPAGES().

L_COWINPROGRESS part approved by: Jason R. Thorpe <thorpej@netbsd.org>
 1.16  25-May-2004  hannken Add ffs internal snapshots. Written by Marshall Kirk McKusick for FreeBSD.

- Not enabled by default. Needs kernel option FFS_SNAPSHOT.
- Change parameters of ffs_blkfree.
- Let the copy-on-write functions return an error so spec_strategy
may fail if the copy-on-write fails.
- Change genfs_*lock*() to use vp->v_vnlock instead of &vp->v_lock.
- Add flag B_METAONLY to VOP_BALLOC to return indirect block buffer.
- Add a function ffs_checkfreefile needed for snapshot creation.
- Add special handling of snapshot files:
Snapshots may not be opened for writing and the attributes are read-only.
Use the mtime as the time this snapshot was taken.
Deny mtime updates for snapshot files.
- Add function transferlockers to transfer any waiting processes from
one lock to another.
- Add vfsop VFS_SNAPSHOT to take a snapshot and make it accessible through
a vnode.
- Add snapshot support to ls, fsck_ffs and dump.

Welcome to 2.0F.

Approved by: Jason R. Thorpe <thorpej@netbsd.org>
 1.15  04-Dec-2003  wiz Bump date for previous (hi atatat!).
 1.14  04-Dec-2003  atatat Garbage collect some references to the old sysctl() infrastructure.
 1.13  06-Sep-2003  yamt use .Fn rather than .Fa for functions.
 1.12  30-Jun-2003  wiz Remove a superfluous space.
 1.11  16-Apr-2003  wiz Use
.In header.h
instead of
.Fd #include \*[Lt]header.h\*[Gt]
Much easier to read and write, and supported by groff for ages.
Okayed by ross.
 1.10  06-Apr-2003  gmcgarry Move vfs interface out of vfsops.9 into its own page. Document
it completely.
 1.9  04-Feb-2003  perry "Utilize" has exactly the same meaning as "use," but it is more
difficult to read and understand. Most manuals of English style
therefore say that you should use "use".
 1.8  03-Jan-2003  jschauma Fix typos noted by Igor Sobrado in PR misc/19641 (some already fixed
by others):

MCHTYPE(9) - implemntation (implementation)
VFS_CHECKEXP(9) - specied (specified), acces (access)
VOP_ABORTOP(9) - singla (single), implments (implements),
callling (calling), credientials (credentials)
 1.7  14-Oct-2002  wiz New sentence, new line.
 1.6  15-Aug-2002  wiz Don't xref ourselves in SEE ALSO; separate SEE ALSO entries by comma;
use more mark up in some places.
 1.5  14-Aug-2002  soren Misc fixes.
Cross-reference v*ops.9.
 1.4  13-Feb-2002  ross Generate <>& symbolically. I'm avoiding .../dist/... directories for now.
 1.3  27-Dec-2001  wiz Fix the typo reported in PR #15062 and another one.
 1.2  22-Oct-2001  wiz Whitespace, punctuation fixes; sort sections, fix xrefs.
 1.1  22-Oct-2001  gmcgarry Programmer's guide to the VFS interface.
 1.17.2.1  21-Jul-2005  tron Pull up revision 1.20 (requested by pooka in ticket #605):
statfs -> statvfs
(better late than never)
 1.32.4.2  31-Jul-2007  pooka VFS_MOUNT():
+ nameidata is a goner
+ document dlen (hi dsl!)
 1.32.4.1  31-Jul-2007  pooka file vfsops.9 was added on branch matt-mips64 on 2007-07-31 21:39:57 +0000
 1.32.2.2  23-Mar-2008  matt sync with HEAD
 1.32.2.1  09-Jan-2008  matt sync with HEAD
 1.35.6.1  18-May-2008  yamt sync with head.
 1.35.4.1  02-Jun-2008  mjf Sync with HEAD.
 1.37.2.1  13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.43.6.1  17-Apr-2012  yamt sync with head
 1.48.6.1  10-Jun-2019  christos Sync with HEAD
 1.48.4.1  18-Jan-2019  pgoyette Synch with HEAD

RSS XML Feed