NetBSD/sys/ufs/ext2fs
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_alloc.c Make sure all cached buffers with valid, not yet written data have been 2008-05-16 09:21:59 +00:00
ext2fs_balloc.c Make sure all cached buffers with valid, not yet written data have been 2008-05-16 09:21:59 +00:00
ext2fs_bmap.c Make rusage collection per-LWP and collate in the appropriate places. 2008-03-27 19:06:51 +00:00
ext2fs_bswap.c Some KNF and cosmetics. 2007-11-17 08:34:38 +00:00
ext2fs_dinode.h Misc cosmetics. 2007-11-17 08:51:51 +00:00
ext2fs_dir.h Convert many of the uses of __attribute__ to equivalent 2007-12-25 18:33:32 +00:00
ext2fs_extern.h Remove cn_lwp from struct componentname. curlwp should be used 2007-12-08 19:29:36 +00:00
ext2fs_inode.c Make sure all cached buffers with valid, not yet written data have been 2008-05-16 09:21:59 +00:00
ext2fs_lookup.c Remove cn_lwp from struct componentname. curlwp should be used 2007-12-08 19:29:36 +00:00
ext2fs_readwrite.c Make sure all cached buffers with valid, not yet written data have been 2008-05-16 09:21:59 +00:00
ext2fs_subr.c Make sure all cached buffers with valid, not yet written data have been 2008-05-16 09:21:59 +00:00
ext2fs_vfsops.c Make sure all cached buffers with valid, not yet written data have been 2008-05-16 09:21:59 +00:00
ext2fs_vnops.c PR kern/38057 ffs makes assuptions about devvp file system 2008-04-29 18:18:08 +00:00
ext2fs.h Convert many of the uses of __attribute__ to equivalent 2007-12-25 18:33:32 +00:00
Makefile