NetBSD/libexec/lfs_cleanerd
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
cleaner.h
cleansrv.c Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
coalesce.c Make sure all cached buffers with valid, not yet written data have been 2008-05-16 09:21:59 +00:00
fdfs.c Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
fdfs.h
lfs_cleanerd.8
lfs_cleanerd.c Make sure all cached buffers with valid, not yet written data have been 2008-05-16 09:21:59 +00:00