The NetBSD Project

CVS log for src/sys/ufs/ufs/ufs_dirhash.c

[BACK] Up to [] / src / sys / ufs / ufs

Request diff between arbitrary revisions

Default branch: MAIN
Current tag: yamt-pf42-base2

Revision 1.22 / (download) - annotate - [select for diffs], Fri May 16 09:22:01 2008 UTC (10 years, 8 months ago) by hannken
Branch: MAIN
CVS Tags: yamt-pf42-base3, yamt-pf42-base2, hpcarm-cleanup-nbase
Changes since 1.21: +6 -5 lines
Diff to previous 1.21 (colored)

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 <>

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

CVSweb <>