Commit Graph

25 Commits

Author SHA1 Message Date
wiz
05859157e6 Remove boilerplate in CODE REFERENCES on file paths.
Describe in intro(9) how to read paths in the CODE REFERENCES section.
2010-12-02 12:54:13 +00:00
rmind
66d36229df Sync declarations with reality, bump date. 2009-11-11 08:43:18 +00:00
hannken
5d2bff060a Make sure all cached buffers with valid, not yet written data have been
run through copy-on-write.  Call fscow_run() with valid data where possible.

The LP_UFSCOW hack is no longer needed to protect ffs_copyonwrite() against
endless recursion.

- Add a flag B_MODIFY to bread(), breada() and breadn().  If set the caller
  intends to modify the buffer returned.

- Always run copy-on-write on buffers returned from ffs_balloc().

- Add new function ffs_getblk() that gets a buffer, assigns a new blkno,
  may clear the buffer and runs copy-on-write.  Process possible errors
  from getblk() or fscow_run().  Part of PR kern/38664.

Welcome to 4.99.63

Reviewed by: YAMAMOTO Takashi <yamt@netbsd.org>
2008-05-16 09:21:59 +00:00
ad
53d643b5f7 - kcont was removed.
- Replace some references to tsleep.
2007-07-14 10:52:47 +00:00
dillo
8f94021d97 Mark up function arguments with .Fa, not .Fn; also, fix typo in
function argument.
2007-02-08 08:04:00 +00:00
pooka
9852bfb57e ucred -> kauth sweep 2006-10-04 11:35:47 +00:00
yamt
7706432040 note that biodone and biowait don't really belong here. 2006-01-16 22:26:41 +00:00
yamt
09073ec514 fix bread prototype. reminded by adam at albedo.art.pl 2005-11-30 16:01:26 +00:00
wrstuden
d68d1b14ad Tweak non-device-file discussion of blkno units. 2005-10-27 16:08:48 +00:00
wrstuden
6eb892ae53 Adjust discussion of blkno's units to describe the units for
blkno for non-special files. Per comments from yamt at.
2005-10-27 00:05:03 +00:00
wiz
382e4da58a Drop trailing whitespace. 2005-09-10 22:45:45 +00:00
wrstuden
1fa8554ba6 Note the fact that buffer cache takes block numbers in
units of DEV_BSIZE, even if the device's device size is
larger. Update date.

Reviewed by wiz. :-)
2005-09-08 22:51:36 +00:00
wiz
c58cd09201 Avoid contractions; use macro for emphasizing instead of stars; add articles. 2004-06-25 15:31:37 +00:00
yamt
f34604727e sync with the recent reality. (allocbuf; hi, pk) 2004-06-17 13:13:41 +00:00
keihan
1d9683a930 s/NetBSD.ORG/NetBSD.org/
s/netbsd.org/NetBSD.org/

OK'd by martin@
2003-11-04 13:45:52 +00:00
wiz
df7ebc9ee6 Bump date for previous, and add two articles. 2003-09-15 13:19:10 +00:00
yamt
0f28ff6749 correct book title. 2003-09-15 13:15:31 +00:00
yamt
f11dd83e4c a brief note about struct buf. 2003-09-15 13:14:34 +00:00
wiz
a4ef1e4169 Fix typo. 2003-09-10 13:54:08 +00:00
yamt
3284959051 add a missig period. 2003-09-07 10:09:07 +00:00
yamt
23af6a400e this is about buffer cache, not namei 2003-09-06 19:38:19 +00:00
yamt
ef0f2fa292 use .Fn rather than .Fa for functions. 2003-09-06 19:25:04 +00:00
wiz
ab4849bbde Grammar improvements; fix typos; mark up B_* flags with .Dv. 2003-09-06 19:09:03 +00:00
yamt
b840c9fdf3 note that bread() and friends don't use a given ucred. 2003-09-06 18:41:44 +00:00
yamt
ad7083055f a man page for buffer cache interfaces.
(an incomplete page is better than no page)
2003-09-06 18:12:39 +00:00