NetBSD/sys/miscfs
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
..
deadfs Remove VOP_LEASE. Discussed on tech-kern. 2008-01-25 14:32:11 +00:00
fdesc mnt_data is a pointer, set it to NULL not 0 when we're finished with it. 2008-05-13 08:31:12 +00:00
fifofs Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
genfs Import writing part of the UDF file system making optical media like CD's 2008-05-14 16:49:47 +00:00
kernfs Convert file systems to dynamically attach with the new module interface. 2008-05-10 02:26:09 +00:00
nullfs Convert file systems to dynamically attach with the new module interface. 2008-05-10 02:26:09 +00:00
overlay mnt_data is a pointer, set it to NULL not 0 when we're finished with it. 2008-05-13 08:31:12 +00:00
portal mnt_data is a pointer, set it to NULL not 0 when we're finished with it. 2008-05-13 08:31:12 +00:00
procfs mnt_data is a pointer, set it to NULL not 0 when we're finished with it. 2008-05-13 08:31:12 +00:00
specfs Make sure all cached buffers with valid, not yet written data have been 2008-05-16 09:21:59 +00:00
syncfs PR kern/38141 lookup/vfs_busy acquire rwlock recursively 2008-05-06 18:43:44 +00:00
umapfs mnt_data is a pointer, set it to NULL not 0 when we're finished with it. 2008-05-13 08:31:12 +00:00
Makefile