NetBSD/sys/ufs
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
..
ext2fs Make sure all cached buffers with valid, not yet written data have been 2008-05-16 09:21:59 +00:00
ffs Make sure all cached buffers with valid, not yet written data have been 2008-05-16 09:21:59 +00:00
lfs Make sure all cached buffers with valid, not yet written data have been 2008-05-16 09:21:59 +00:00
mfs Convert file systems to dynamically attach with the new module interface. 2008-05-10 02:26:09 +00:00
ufs Make sure all cached buffers with valid, not yet written data have been 2008-05-16 09:21:59 +00:00
files.ufs defflag LFS_KERNEL_RFW (in opt_lfs.h). 2007-12-12 02:56:03 +00:00
Makefile