Commit Graph

33 Commits

Author SHA1 Message Date
riz
de31682369 Catch the documentation up with the changes in vfs_vnops.c revision
1.155 - s/struct file/file_t/, and dropping a struct lwp * arg from
some functions.
2008-04-10 04:43:02 +00:00
hannken
3c258e6a15 Bump date. 2007-10-08 10:32:38 +00:00
hannken
3856acafe2 Update the file system copy-on-write handler.
- Instead of hooking the handler on the specdev of a mounted file system
  hook directly on the `struct mount'.

- Rename from `vn_cow_*' to `fscow_*' and move to `kern/vfs_trans.c'.  Use
  `mount_*specific' instead of clobbering `struct mount' or `struct specinfo'.

- Replace the hand-made reader/writer lock with a krwlock.

- Keep `vn_cow_*' functions and mark as obsolete.

- Welcome to NetBSD 4.99.32 - `struct specinfo' changed size.

Reviewed by: Jason Thorpe <thorpej@netbsd.org>
2007-10-07 13:38:53 +00:00
dogcow
c1a14b53bd running in emulated wizd mode, convert caddr_t to void *. 2007-03-07 00:41:16 +00:00
hannken
198beb0314 Make fstrans(9) the default helper for file system suspension.
Replaces the now obsolete vn_start_write()/vn_finished_write().
2007-02-16 17:23:53 +00:00
wiz
0f3c9bb729 Sort ERRORS. 2007-01-23 20:31:20 +00:00
hannken
facd1f65cb Add and update documentation for fstrans(9) file system suspension helper.
wiz?
2007-01-21 15:42:36 +00:00
pooka
9852bfb57e ucred -> kauth sweep 2006-10-04 11:35:47 +00:00
rumble
5ba5e6b230 Typo. 2006-03-04 20:34:08 +00:00
rpaulo
ff8e3c8c68 More ktrace-lwp that I got wrong in the first try.
Thanks to Gregory McGarry for pointing this out.
2006-01-29 03:09:19 +00:00
rpaulo
7d7fe4b786 Adapt man pages to ktrace-lwp. 2005-12-20 19:53:14 +00:00
wiz
b0d70faefb Grammar fix and improvement from jmc@openbsd. 2005-06-06 02:04:03 +00:00
hannken
8c21bc6224 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>
2004-05-25 14:54:55 +00:00
cube
5e6e0e1b39 vn_close() expects an unlocked vnode. 2004-03-14 22:39:21 +00:00
hannken
142e9d5deb Add a generic copy-on-write hook to add/remove functions that will be
called with every buffer written through spec_strategy().

Used by fss(4). Future file-system-internal snapshots will need them too.

Welcome to 1.6ZK

Approved by: Jason R. Thorpe <thorpej@netbsd.org>
2004-02-14 00:00:56 +00:00
hannken
c6d83326cb Forgot to update the .Dd line. From Thomas Klausner <wiz@netbsd.org>. 2003-10-22 07:12:43 +00:00
hannken
9dec5da8e8 Add section 9 man pages for:
vfs_write_suspend, vfs_write_resume, vn_start_write and vn_finished_write.
2003-10-21 22:01:24 +00:00
wiz
b93a29cdaa Fixes to make these man page look nice with groff-1.19. 2003-06-30 19:12:31 +00:00
wiz
472351e13d 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.
2003-04-16 13:34:34 +00:00
wiz
24dd3383e1 Fix a typo, from Igor Sobrado in PR 19680. 2003-04-06 15:56:59 +00:00
perry
43e0efbdeb "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".
2003-02-04 22:38:15 +00:00
wiz
25238abfbb Sort SEE ALSO. 2002-10-20 10:37:36 +00:00
gmcgarry
445a917506 Xr file.9 2002-10-20 05:18:38 +00:00
gmcgarry
1b54fb00e8 link for vn_rdwr() 2002-10-14 21:03:19 +00:00
wiz
770eef2122 New sentence, new line. 2002-10-14 13:43:14 +00:00
gmcgarry
4bcdade258 Move the vnode file descriptor operations into their own file.
Add vn_marktext() and vn_statfile() descriptions.
2002-10-14 04:56:48 +00:00
gmcgarry
1e5d66967e vn_stat() now takes a struct vnode *. The description already implied this. 2002-10-14 04:21:14 +00:00
ross
4fa402f116 Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-13 08:17:26 +00:00
deberg
bf6454fc5c fix typo 2002-01-06 22:15:19 +00:00
gmcgarry
8e84a660f0 Document new VEXECMAP vnode flag and rename vn_marktext() to vn_markexec(). 2001-10-31 19:53:07 +00:00
gmcgarry
ec7180252d fnctl -> fcntl 2001-10-22 19:22:42 +00:00
wiz
1978ea7c16 Whitespace, punctuation fixes; sort sections, fix xrefs. 2001-10-22 08:21:32 +00:00
gmcgarry
f9acd7a62a Programmer's guide to the VFS interface. 2001-10-22 03:33:19 +00:00