NetBSD/sbin/fsck_lfs
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
..
Makefile Make it build with src/sys from the vmlocking2 branch. 2007-12-28 21:44:32 +00:00
bufcache.c Make sure all cached buffers with valid, not yet written data have been 2008-05-16 09:21:59 +00:00
bufcache.h Make sure all cached buffers with valid, not yet written data have been 2008-05-16 09:21:59 +00:00
dir.c Make sure all cached buffers with valid, not yet written data have been 2008-05-16 09:21:59 +00:00
extern.h
fsck.h Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
fsck_lfs.8
fsck_vars.h Several fixes to improve the reliability of the roll-forward agent. 2006-09-01 19:52:48 +00:00
inode.c Make sure all cached buffers with valid, not yet written data have been 2008-05-16 09:21:59 +00:00
lfs.c Make sure all cached buffers with valid, not yet written data have been 2008-05-16 09:21:59 +00:00
lfs_user.h Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
main.c Make sure that the exit values are always sane, and use symbolic instead 2008-02-23 21:41:47 +00:00
pass0.c Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
pass1.c Give brelse() a second argument so that it matches the kernel. 2007-10-08 21:39:49 +00:00
pass2.c Fix malloc/realloc/calloc issues: always check and exit, use EEXIT instead 2006-11-09 19:36:36 +00:00
pass3.c Several fixes to improve the reliability of the roll-forward agent. 2006-09-01 19:52:48 +00:00
pass4.c Fix malloc/realloc/calloc issues: always check and exit, use EEXIT instead 2006-11-09 19:36:36 +00:00
pass5.c Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
pass6.c Make sure all cached buffers with valid, not yet written data have been 2008-05-16 09:21:59 +00:00
segwrite.c Make sure all cached buffers with valid, not yet written data have been 2008-05-16 09:21:59 +00:00
segwrite.h Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
setup.c Make sure all cached buffers with valid, not yet written data have been 2008-05-16 09:21:59 +00:00
utilities.c Make sure that the exit values are always sane, and use symbolic instead 2008-02-23 21:41:47 +00:00
vars.c Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
vnode.c Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
vnode.h Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00