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
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
newfs.c
newfs_lfs.8