Commit Graph

29 Commits

Author SHA1 Message Date
uwe
f6e5045d93 Minor markup fixes. Add a missing word. 2018-10-05 16:21:22 +00:00
wiz
5e5fafd9a4 Simplify macro usage. No visible change. 2018-10-05 15:37:26 +00:00
hannken
fef73d22c5 Bring back three state file system suspension:
NORMAL -> SUSPENDING -> SUSPENDED

and add operation fstrans_start_lazy() that only blocks while SUSPENDED.

Change vndthread() support operation handle_with_rdwr() to bracket
its file system operations by fstrans_start_lazy() and fstrans_done().

PR kern/53624 (dom0 freeze on domU exit)
2018-10-05 09:51:55 +00:00
wiz
01869ca4d2 Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
hannken
287643b0da Operations fstrans_start() and fstrans_start_nowait() now always
use FSTRANS_SHARED as lock type so remove the lock type argument.

File system state FSTRANS_SUSPENDING is now unused so remove it.

Regen vnode_if files.

Ride 8.99.1 less than a hour ago.
2017-06-04 08:05:41 +00:00
wiz
bd404f8f85 Bump date for previous. 2017-05-29 08:03:13 +00:00
riastradh
8aa6b6b474 Omit description of fstrans_mount/unmount too. 2017-05-29 01:51:55 +00:00
riastradh
84ba7395ce No more need to call fstrans_mount: vfs does for us now. 2017-05-29 01:49:42 +00:00
riastradh
88f8641118 Use \(em', not --'.
Refill sentences and tweak wording where appropriate while here.
2017-03-18 19:01:01 +00:00
riastradh
d14ef2c7cc More details on what may sleep and what won't sleep when. 2015-03-31 21:08:06 +00:00
riastradh
c380b27c05 Nesting shared in lazy is OK. Note nesting never blocks. 2015-03-31 20:50:29 +00:00
riastradh
68bdcb5496 Prohibit cross-mount transactions. 2015-03-31 15:49:45 +00:00
riastradh
590c31eca4 Revamp fstrans(9) man page.
- Fix example: fstrans_start never fails and returns void.
- Add fstrans_mount/fstrans_unmount.
- Explain intent, not just mechanism.
- Add internal cross-references and redundant information from
  different callers' perspectives.
2015-03-31 15:47:50 +00:00
wiz
4119c8fbd9 Sort sections: consistently put CODE REFERENCES directly before SEE ALSO. 2013-09-17 19:58:03 +00:00
jruoho
ee515c2a1b Add a FUNCTIONS section.
In addition, small improvements to wording and markup.
2010-04-12 21:28:55 +00:00
zafer
ca54efd201 fix common spelling error. 2009-06-24 22:39:40 +00:00
joerg
46370d8363 Drop conditionals now that groff can handle the umlaut in the author
name.
2009-04-12 19:00:56 +00:00
martin
11a6dbe728 Convert TNF licenses to new 2 clause variant 2008-04-30 13:10:46 +00:00
hannken
d556dc98b0 Fscow_run(): add a flag "bool data_valid" to note still valid data.
Buffers run through copy-on-write are marked B_COWDONE.  This condition
is valid until the buffer has run through bwrite() and gets cleared from
biodone().

Welcome to 4.99.39.

Reviewed by: YAMAMOTO Takashi <yamt@netbsd.org>
2007-12-02 13:56:15 +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
pooka
0abd6d25d4 missed a few due to the blinding effects of underlining 2007-07-26 08:43:52 +00:00
pooka
9cb446adae include variable names in synopsis 2007-07-26 08:42:17 +00:00
rumble
b9ff3c810f TRUE -> true, FALSE -> false. 2007-06-24 19:26:58 +00:00
hannken
64b7e5637e Fstrans_start() always returns zero, so change its type to void. 2007-05-17 07:26:21 +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
hannken
4d607243ba Change fstrans enum types to upper case.
No functional change.

From Antti Kantee <pooka@netbsd.org>
2007-01-29 15:42:50 +00:00
wiz
c0ed8c1e97 Make HTML-safe. 2007-01-23 20:31:33 +00:00
hannken
facd1f65cb Add and update documentation for fstrans(9) file system suspension helper.
wiz?
2007-01-21 15:42:36 +00:00