NetBSD/sbin/newfs_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
config.h remove definitions for ffs, which don't belong here. 2003-12-17 05:08:43 +00:00
extern.h lfs_sb_cksum returns a uint32_t, not a u_long 2008-02-16 17:58:43 +00:00
make_lfs.c Make sure all cached buffers with valid, not yet written data have been 2008-05-16 09:21:59 +00:00
misc.c Remove more duplicate #includes, 2007-01-17 21:59:49 +00:00
newfs.c Deal with wedges and the new disk geometry structures, instead of using 2006-09-05 19:44:44 +00:00
newfs_lfs.8 newfs_lfs(8) compoment of the recent superblock parameter addition. Change 2006-05-04 04:39:15 +00:00