The NetBSD Project

CVS log for src/sys/ufs/ext2fs/ext2fs_balloc.c

[BACK] Up to [cvs.netbsd.org] / src / sys / ufs / ext2fs

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.32.22.2 / (download) - annotate - [select for diffs], Thu Mar 11 15:04:44 2010 UTC (2 years, 2 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.32.22.1: +2 -7 lines
Diff to previous 1.32.22.1 (colored) to branchpoint 1.32 (colored) next main 1.33 (colored)

sync with head

Revision 1.34 / (download) - annotate - [select for diffs], Mon Oct 19 18:41:17 2009 UTC (2 years, 7 months ago) by bouyer
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-pagecache, yamt-nfs-mp-base9, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, rmind-uvmplock-nbase, rmind-uvmplock-base, rmind-uvmplock, netbsd-6-base, netbsd-6, matt-premerge-20091211, matt-mips64-premerge-20101231, jym-xensuspend-nbase, jruoho-x86intr-base, jruoho-x86intr, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2, HEAD
Changes since 1.33: +2 -7 lines
Diff to previous 1.33 (colored)

Remove closes 3 & 4 from my licence. Lots of thanks to Soren Jacobsen
for the booring work !

Revision 1.32.22.1 / (download) - annotate - [select for diffs], Mon May 4 08:14:37 2009 UTC (3 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.32: +6 -6 lines
Diff to previous 1.32 (colored)

sync with head.

Revision 1.32.24.1 / (download) - annotate - [select for diffs], Mon Jun 23 04:32:04 2008 UTC (3 years, 11 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.32: +6 -6 lines
Diff to previous 1.32 (colored) next main 1.33 (colored)

Sync w/ -current. 34 merge conflicts to follow.

Revision 1.32.18.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:24:34 2008 UTC (3 years, 11 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.32: +6 -6 lines
Diff to previous 1.32 (colored) next main 1.33 (colored)

Sync with HEAD.

Revision 1.32.20.1 / (download) - annotate - [select for diffs], Sun May 18 12:35:54 2008 UTC (4 years ago) by yamt
Branch: yamt-pf42
Changes since 1.32: +6 -6 lines
Diff to previous 1.32 (colored) next main 1.33 (colored)

sync with head.

Revision 1.33 / (download) - annotate - [select for diffs], Fri May 16 09:22:00 2008 UTC (4 years ago) by hannken
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, nick-hppapmap, netbsd-5-base, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, mjf-devfs2-base, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, jymxensuspend-base, jym-xensuspend-base, jym-xensuspend, hpcarm-cleanup-nbase, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, ad-audiomp2-base, ad-audiomp2
Changes since 1.32: +6 -6 lines
Diff to previous 1.32 (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 <yamt@netbsd.org>

Revision 1.31.24.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:35:05 2007 UTC (4 years, 6 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.31: +12 -13 lines
Diff to previous 1.31 (colored) next main 1.32 (colored)

sync with HEAD

Revision 1.25.4.3 / (download) - annotate - [select for diffs], Sat Oct 27 11:36:38 2007 UTC (4 years, 6 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.25.4.2: +12 -13 lines
Diff to previous 1.25.4.2 (colored) to branchpoint 1.25 (colored) next main 1.26 (colored)

sync with head.

Revision 1.31.22.1 / (download) - annotate - [select for diffs], Fri Oct 26 15:49:25 2007 UTC (4 years, 7 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.31: +12 -13 lines
Diff to previous 1.31 (colored) next main 1.32 (colored)

Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.

Revision 1.31.26.1 / (download) - annotate - [select for diffs], Sun Oct 14 11:49:12 2007 UTC (4 years, 7 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.31: +12 -13 lines
Diff to previous 1.31 (colored) next main 1.32 (colored)

sync with head.

Revision 1.32 / (download) - annotate - [select for diffs], Mon Oct 8 18:01:27 2007 UTC (4 years, 7 months ago) by ad
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base2, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, vmlocking-base, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, mjf-devfs, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jmcneill-pm-base, jmcneill-base, hpcarm-cleanup-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64, ad-socklock-base1
Branch point for: yamt-pf42, yamt-nfs-mp, wrstuden-revivesa, mjf-devfs2
Changes since 1.31: +12 -13 lines
Diff to previous 1.31 (colored)

Merge ffs locking & brelse changes from the vmlocking branch.

Revision 1.31.8.2 / (download) - annotate - [select for diffs], Fri Aug 24 23:28:42 2007 UTC (4 years, 9 months ago) by ad
Branch: vmlocking
Changes since 1.31.8.1: +3 -3 lines
Diff to previous 1.31.8.1 (colored) to branchpoint 1.31 (colored) next main 1.32 (colored)

Sync with buffer cache locking changes. See buf.h/vfs_bio.c for details.
Some minor portions are incomplete and needs to be verified as a whole.

Revision 1.31.8.1 / (download) - annotate - [select for diffs], Sun May 13 17:36:40 2007 UTC (5 years ago) by ad
Branch: vmlocking
Changes since 1.31: +12 -13 lines
Diff to previous 1.31 (colored)

- Pass the error number and residual count to biodone(), and let it handle
  setting error indicators. Prepare to eliminate B_ERROR.
- Add a flag argument to brelse() to be set into the buf's flags, instead
  of doing it directly. Typically used to set B_INVAL.
- Add a "struct cpu_info *" argument to kthread_create(), to be used to
  create bound threads. Change "bool mpsafe" to "int flags".
- Allow exit of LWPs in the IDL state when (l != curlwp).
- More locking fixes & conversion to the new API.

Revision 1.25.4.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:51:00 2006 UTC (5 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.25.4.1: +4 -4 lines
Diff to previous 1.25.4.1 (colored) to branchpoint 1.25 (colored)

sync with head.

Revision 1.29.10.2 / (download) - annotate - [select for diffs], Sun Dec 10 07:19:32 2006 UTC (5 years, 5 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.29.10.1: +3 -3 lines
Diff to previous 1.29.10.1 (colored) to branchpoint 1.29 (colored) next main 1.30 (colored)

sync with head.

Revision 1.29.8.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:39:47 2006 UTC (5 years, 6 months ago) by ad
Branch: newlock2
Changes since 1.29: +4 -4 lines
Diff to previous 1.29 (colored) next main 1.30 (colored)

Sync with head.

Revision 1.31 / (download) - annotate - [select for diffs], Thu Nov 16 01:33:51 2006 UTC (5 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: yamt-x86pmap-base2, yamt-x86pmap-base, yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-idlelwp-base8, yamt-idlelwp, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, post-newlock2-merge, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, newlock2-nbase, newlock2-base, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, mjf-ufs-trans-base, mjf-ufs-trans, matt-nb4-arm-base, matt-nb4-arm, matt-mips64-base, matt-mips64, hpcarm-cleanup, ad-audiomp-base, ad-audiomp
Branch point for: yamt-x86pmap, vmlocking, matt-armv6, jmcneill-pm
Changes since 1.30: +3 -3 lines
Diff to previous 1.30 (colored)

__unused removal on arguments; approved by core.

Revision 1.29.10.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:07:47 2006 UTC (5 years, 7 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.29: +4 -4 lines
Diff to previous 1.29 (colored)

sync with head

Revision 1.30 / (download) - annotate - [select for diffs], Thu Oct 12 01:32:51 2006 UTC (5 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2
Changes since 1.29: +4 -4 lines
Diff to previous 1.29 (colored)

- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386

Revision 1.28.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 03:00:00 2006 UTC (5 years, 8 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.28: +5 -4 lines
Diff to previous 1.28 (colored) next main 1.29 (colored)

sync with head

Revision 1.25.4.1 / (download) - annotate - [select for diffs], Wed Jun 21 15:12:30 2006 UTC (5 years, 11 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.25: +7 -11 lines
Diff to previous 1.25 (colored)

sync with head.

Revision 1.28.6.1 / (download) - annotate - [select for diffs], Thu Jun 1 22:39:27 2006 UTC (5 years, 11 months ago) by kardel
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.28: +5 -4 lines
Diff to previous 1.28 (colored) next main 1.29 (colored)

Sync with head.

Revision 1.28.12.1 / (download) - annotate - [select for diffs], Wed May 24 15:50:47 2006 UTC (6 years ago) by tron
Branch: peter-altq
Changes since 1.28: +5 -4 lines
Diff to previous 1.28 (colored) next main 1.29 (colored)

Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.

Revision 1.28.8.1 / (download) - annotate - [select for diffs], Wed May 24 10:59:24 2006 UTC (6 years ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.28: +5 -4 lines
Diff to previous 1.28 (colored) next main 1.29 (colored)

sync with head.

Revision 1.29 / (download) - annotate - [select for diffs], Sun May 14 21:32:21 2006 UTC (6 years ago) by elad
Branch: MAIN
CVS Tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, simonb-timecounters-base, rpaulo-netinet-merge-pcb-base, gdamore-uart-base, gdamore-uart, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-splraiseipl, newlock2
Changes since 1.28: +5 -4 lines
Diff to previous 1.28 (colored)

integrate kauth.

Revision 1.28.10.2 / (download) - annotate - [select for diffs], Sat May 6 23:32:33 2006 UTC (6 years ago) by christos
Branch: elad-kernelauth
Changes since 1.28.10.1: +3 -2 lines
Diff to previous 1.28.10.1 (colored) to branchpoint 1.28 (colored) next main 1.29 (colored)

- Move kauth_cred_t declaration to <sys/types.h>
- Cleanup struct ucred; forward declarations that are unused.
- Don't include <sys/kauth.h> in any header, but include it in the c files
  that need it.

Approved by core.

Revision 1.28.10.1 / (download) - annotate - [select for diffs], Wed Mar 8 01:39:11 2006 UTC (6 years, 2 months ago) by elad
Branch: elad-kernelauth
Changes since 1.28: +4 -4 lines
Diff to previous 1.28 (colored)

Adapt to kernel authorization KPI.

Revision 1.28 / (download) - annotate - [select for diffs], Sun Dec 11 12:25:25 2005 UTC (6 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, peter-altq-base, elad-kernelauth-base
Branch point for: yamt-pdpolicy, simonb-timecounters, rpaulo-netinet-merge-pcb, peter-altq, elad-kernelauth
Changes since 1.27: +2 -2 lines
Diff to previous 1.27 (colored)

merge ktrace-lwp.

Revision 1.19.2.6 / (download) - annotate - [select for diffs], Thu Nov 10 14:12:31 2005 UTC (6 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.19.2.5: +5 -10 lines
Diff to previous 1.19.2.5 (colored) next main 1.20 (colored)

Sync with HEAD. Here we go again...

Revision 1.27 / (download) - annotate - [select for diffs], Wed Nov 2 12:39:00 2005 UTC (6 years, 6 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, ktrace-lwp-base
Changes since 1.26: +3 -3 lines
Diff to previous 1.26 (colored)

merge yamt-vop branch.  remove following VOPs.

	VOP_BLKATOFF
	VOP_VALLOC
	VOP_BALLOC
	VOP_REALLOCBLKS
	VOP_VFREE
	VOP_TRUNCATE
	VOP_UPDATE

Revision 1.26.2.1 / (download) - annotate - [select for diffs], Thu Oct 20 03:00:30 2005 UTC (6 years, 7 months ago) by yamt
Branch: yamt-vop
Changes since 1.26: +3 -3 lines
Diff to previous 1.26 (colored) next main 1.27 (colored)

adapt ufs.

Revision 1.26 / (download) - annotate - [select for diffs], Tue Aug 30 22:01:12 2005 UTC (6 years, 8 months ago) by xtraeme
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, thorpej-vnode-attr-base, thorpej-vnode-attr
Branch point for: yamt-vop
Changes since 1.25: +4 -9 lines
Diff to previous 1.25 (colored)

* Remove __P()
* Use ANSI function declarations on ext2fs and mfs

Revision 1.22.8.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:29:38 2005 UTC (7 years ago) by kent
Branch: kent-audio2
Changes since 1.22: +16 -8 lines
Diff to previous 1.22 (colored) next main 1.23 (colored)

sync with -current

Revision 1.22.10.2 / (download) - annotate - [select for diffs], Sat Mar 19 08:37:03 2005 UTC (7 years, 2 months ago) by yamt
Branch: yamt-km
Changes since 1.22.10.1: +5 -5 lines
Diff to previous 1.22.10.1 (colored) to branchpoint 1.22 (colored) next main 1.23 (colored)

sync with head.  xen and whitespace.  xen part is not finished.

Revision 1.19.2.5 / (download) - annotate - [select for diffs], Fri Mar 4 16:54:45 2005 UTC (7 years, 2 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.19.2.4: +4 -4 lines
Diff to previous 1.19.2.4 (colored)

Sync with HEAD.

Hi Perry!

Revision 1.25 / (download) - annotate - [select for diffs], Sat Feb 26 22:32:20 2005 UTC (7 years, 2 months ago) by perry
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, kent-audio2-base
Branch point for: yamt-lazymbuf
Changes since 1.24: +4 -4 lines
Diff to previous 1.24 (colored)

nuke trailing whitespace

Revision 1.19.2.4 / (download) - annotate - [select for diffs], Tue Feb 15 21:33:41 2005 UTC (7 years, 3 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.19.2.3: +14 -6 lines
Diff to previous 1.19.2.3 (colored)

Sync with HEAD.

Revision 1.24 / (download) - annotate - [select for diffs], Mon Feb 14 02:22:48 2005 UTC (7 years, 3 months ago) by chs
Branch: MAIN
CVS Tags: matt-timespec
Changes since 1.23: +3 -3 lines
Diff to previous 1.23 (colored)

fix typoe in previous.

Revision 1.22.10.1 / (download) - annotate - [select for diffs], Sat Feb 12 18:17:56 2005 UTC (7 years, 3 months ago) by yamt
Branch: yamt-km
Changes since 1.22: +14 -6 lines
Diff to previous 1.22 (colored)

sync with head.

Revision 1.23 / (download) - annotate - [select for diffs], Wed Feb 9 23:02:10 2005 UTC (7 years, 3 months ago) by ws
Branch: MAIN
CVS Tags: yamt-km-base2
Changes since 1.22: +14 -6 lines
Diff to previous 1.22 (colored)

Add support for large files (>2GB).
Like Linux, automagically convert old filesystem to use this,
if they are already at revision 1.
For revision 0, just punt (unlike Linux; makes me a bit too nervous.)

There should be an option to fsck_ext2fs to upgrade revision 0 to revision 1.

Reviewd by Manuel (bouyer@).

Revision 1.19.2.3 / (download) - annotate - [select for diffs], Tue Sep 21 13:39:07 2004 UTC (7 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.19.2.2: +2 -2 lines
Diff to previous 1.19.2.2 (colored)

Fix the sync with head I botched.

Revision 1.19.2.2 / (download) - annotate - [select for diffs], Sat Sep 18 14:56:52 2004 UTC (7 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.19.2.1: +0 -0 lines
Diff to previous 1.19.2.1 (colored)

Sync with HEAD.

Revision 1.19.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:56:49 2004 UTC (7 years, 9 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.19: +35 -8 lines
Diff to previous 1.19 (colored)

Sync with HEAD

Revision 1.22 / (download) - annotate - [select for diffs], Mon Mar 22 19:23:08 2004 UTC (8 years, 2 months ago) by bouyer
Branch: MAIN
CVS Tags: yamt-km-base, netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, kent-audio2
Changes since 1.21: +12 -13 lines
Diff to previous 1.21 (colored)

Fix disclaimer in my copyright. Pointed out by Thomas Klausner.

Revision 1.21 / (download) - annotate - [select for diffs], Sun Oct 5 17:48:49 2003 UTC (8 years, 7 months ago) by bouyer
Branch: MAIN
Changes since 1.20: +5 -7 lines
Diff to previous 1.20 (colored)

Remove references to University of California from my copyright notices.

Revision 1.20 / (download) - annotate - [select for diffs], Thu Aug 7 16:34:25 2003 UTC (8 years, 9 months ago) by agc
Branch: MAIN
Changes since 1.19: +33 -3 lines
Diff to previous 1.19 (colored)

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.

Revision 1.19 / (download) - annotate - [select for diffs], Fri Jan 24 21:55:19 2003 UTC (9 years, 4 months ago) by fvdl
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.18: +22 -14 lines
Diff to previous 1.18 (colored)

Bump daddr_t to 64 bits. Replace it with int32_t in all places where
it was used on-disk, so that on-disk formats remain the same.
Remove ufs_daddr_t and ufs_lbn_t for the time being.

Revision 1.8.2.8 / (download) - annotate - [select for diffs], Fri Oct 18 02:45:44 2002 UTC (9 years, 7 months ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.8.2.7: +2 -96 lines
Diff to previous 1.8.2.7 (colored) to branchpoint 1.8 (colored) next main 1.9 (colored)

Catch up to -current.

Revision 1.10.2.4 / (download) - annotate - [select for diffs], Thu Oct 10 18:44:48 2002 UTC (9 years, 7 months ago) by jdolecek
Branch: kqueue
Changes since 1.10.2.3: +2 -96 lines
Diff to previous 1.10.2.3 (colored) to branchpoint 1.10 (colored) next main 1.11 (colored)

sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work

Revision 1.18 / (download) - annotate - [select for diffs], Thu Sep 26 11:06:36 2002 UTC (9 years, 8 months ago) by jdolecek
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Changes since 1.17: +2 -96 lines
Diff to previous 1.17 (colored)

use ufs_balloc_range() rather than local (mostly identical, but with some
bugs) ext2fs variant

Revision 1.10.2.3 / (download) - annotate - [select for diffs], Sun Jun 23 17:52:06 2002 UTC (9 years, 11 months ago) by jdolecek
Branch: kqueue
Changes since 1.10.2.2: +3 -4 lines
Diff to previous 1.10.2.2 (colored) to branchpoint 1.10 (colored)

catch up with -current on kqueue branch

Revision 1.8.2.7 / (download) - annotate - [select for diffs], Thu Jun 20 03:50:21 2002 UTC (9 years, 11 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.8.2.6: +3 -4 lines
Diff to previous 1.8.2.6 (colored) to branchpoint 1.8 (colored)

Catch up to -current.

Revision 1.17 / (download) - annotate - [select for diffs], Sun May 5 17:01:41 2002 UTC (10 years ago) by chs
Branch: MAIN
CVS Tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, gehenna-devsw-base, gehenna-devsw
Changes since 1.16: +3 -4 lines
Diff to previous 1.16 (colored)

use the correct size when zeroing an array.

Revision 1.8.2.6 / (download) - annotate - [select for diffs], Thu Feb 28 04:15:26 2002 UTC (10 years, 2 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.8.2.5: +3 -5 lines
Diff to previous 1.8.2.5 (colored) to branchpoint 1.8 (colored)

Catch up to -current.

Revision 1.10.2.2 / (download) - annotate - [select for diffs], Mon Feb 11 20:10:46 2002 UTC (10 years, 3 months ago) by jdolecek
Branch: kqueue
Changes since 1.10.2.1: +3 -5 lines
Diff to previous 1.10.2.1 (colored) to branchpoint 1.10 (colored)

Sync w/ -current.

Revision 1.16 / (download) - annotate - [select for diffs], Sat Jan 26 08:32:06 2002 UTC (10 years, 4 months ago) by chs
Branch: MAIN
CVS Tags: newlock-base, newlock, ifpoll-base, ifpoll, eeh-devprop-base, eeh-devprop
Changes since 1.15: +3 -5 lines
Diff to previous 1.15 (colored)

fix an error case.

Revision 1.10.2.1 / (download) - annotate - [select for diffs], Thu Jan 10 20:04:56 2002 UTC (10 years, 4 months ago) by thorpej
Branch: kqueue
Changes since 1.10: +31 -42 lines
Diff to previous 1.10 (colored)

Sync kqueue branch with -current.

Revision 1.8.2.5 / (download) - annotate - [select for diffs], Tue Jan 8 00:34:45 2002 UTC (10 years, 4 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.8.2.4: +17 -17 lines
Diff to previous 1.8.2.4 (colored) to branchpoint 1.8 (colored)

Catch up to -current.

Revision 1.15 / (download) - annotate - [select for diffs], Fri Nov 30 07:06:19 2001 UTC (10 years, 5 months ago) by chs
Branch: MAIN
Changes since 1.14: +17 -17 lines
Diff to previous 1.14 (colored)

pick up changes from ufs_balloc_range().

Revision 1.8.2.4 / (download) - annotate - [select for diffs], Wed Nov 14 19:18:53 2001 UTC (10 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.8.2.3: +4 -5 lines
Diff to previous 1.8.2.3 (colored) to branchpoint 1.8 (colored)

Catch up to -current.

Revision 1.11.2.1 / (download) - annotate - [select for diffs], Mon Nov 12 21:19:43 2001 UTC (10 years, 6 months ago) by thorpej
Branch: thorpej-mips-cache
Changes since 1.11: +4 -5 lines
Diff to previous 1.11 (colored) next main 1.12 (colored)

Sync the thorpej-mips-cache branch with -current.

Revision 1.14 / (download) - annotate - [select for diffs], Sat Nov 10 17:48:02 2001 UTC (10 years, 6 months ago) by chs
Branch: MAIN
CVS Tags: thorpej-mips-cache-base
Changes since 1.13: +2 -5 lines
Diff to previous 1.13 (colored)

track some changes in the ufs code:
update UVM's notion of the file size in *_write() rather than
*_balloc().

Revision 1.13 / (download) - annotate - [select for diffs], Thu Nov 8 02:39:06 2001 UTC (10 years, 6 months ago) by lukem
Branch: MAIN
Changes since 1.12: +4 -1 lines
Diff to previous 1.12 (colored)

add RCSID

Revision 1.12 / (download) - annotate - [select for diffs], Fri Oct 26 05:56:07 2001 UTC (10 years, 7 months ago) by lukem
Branch: MAIN
Changes since 1.11: +1 -2 lines
Diff to previous 1.11 (colored)

remove #include <ufs/ufs/quota.h> where it was just to appease
<ufs/ufs/inode.h>, since the latter now includes the former.  leave the former
in source that obviously uses specific bits of it (for completeness.)

Revision 1.10.4.1 / (download) - annotate - [select for diffs], Mon Oct 1 12:48:18 2001 UTC (10 years, 7 months ago) by fvdl
Branch: thorpej-devvp
Changes since 1.10: +17 -27 lines
Diff to previous 1.10 (colored) next main 1.11 (colored)

Catch up with -current.

Revision 1.8.2.3 / (download) - annotate - [select for diffs], Fri Sep 21 22:37:02 2001 UTC (10 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.8.2.2: +17 -27 lines
Diff to previous 1.8.2.2 (colored) to branchpoint 1.8 (colored)

Catch up to -current.

Revision 1.11 / (download) - annotate - [select for diffs], Sat Sep 15 20:36:41 2001 UTC (10 years, 8 months ago) by chs
Branch: MAIN
CVS Tags: thorpej-devvp-base3, thorpej-devvp-base2, post-chs-ubcperf
Branch point for: thorpej-mips-cache
Changes since 1.10: +17 -27 lines
Diff to previous 1.10 (colored)

a whole bunch of changes to improve performance and robustness under load:

 - remove special treatment of pager_map mappings in pmaps.  this is
   required now, since I've removed the globals that expose the address range.
   pager_map now uses pmap_kenter_pa() instead of pmap_enter(), so there's
   no longer any need to special-case it.
 - eliminate struct uvm_vnode by moving its fields into struct vnode.
 - rewrite the pageout path.  the pager is now responsible for handling the
   high-level requests instead of only getting control after a bunch of work
   has already been done on its behalf.  this will allow us to UBCify LFS,
   which needs tighter control over its pages than other filesystems do.
   writing a page to disk no longer requires making it read-only, which
   allows us to write wired pages without causing all kinds of havoc.
 - use a new PG_PAGEOUT flag to indicate that a page should be freed
   on behalf of the pagedaemon when it's unlocked.  this flag is very similar
   to PG_RELEASED, but unlike PG_RELEASED, PG_PAGEOUT can be cleared if the
   pageout fails due to eg. an indirect-block buffer being locked.
   this allows us to remove the "version" field from struct vm_page,
   and together with shrinking "loan_count" from 32 bits to 16,
   struct vm_page is now 4 bytes smaller.
 - no longer use PG_RELEASED for swap-backed pages.  if the page is busy
   because it's being paged out, we can't release the swap slot to be
   reallocated until that write is complete, but unlike with vnodes we
   don't keep a count of in-progress writes so there's no good way to
   know when the write is done.  instead, when we need to free a busy
   swap-backed page, just sleep until we can get it busy ourselves.
 - implement a fast-path for extending writes which allows us to avoid
   zeroing new pages.  this substantially reduces cpu usage.
 - encapsulate the data used by the genfs code in a struct genfs_node,
   which must be the first element of the filesystem-specific vnode data
   for filesystems which use genfs_{get,put}pages().
 - eliminate many of the UVM pagerops, since they aren't needed anymore
   now that the pager "put" operation is a higher-level operation.
 - enhance the genfs code to allow NFS to use the genfs_{get,put}pages
   instead of a modified copy.
 - clean up struct vnode by removing all the fields that used to be used by
   the vfs_cluster.c code (which we don't use anymore with UBC).
 - remove kmem_object and mb_object since they were useless.
   instead of allocating pages to these objects, we now just allocate
   pages with no object.  such pages are mapped in the kernel until they
   are freed, so we can use the mapping to find the page to free it.
   this allows us to remove splvm() protection in several places.

The sum of all these changes improves write throughput on my
decstation 5000/200 to within 1% of the rate of NetBSD 1.5
and reduces the elapsed time for "make release" of a NetBSD 1.5
source tree on my 128MB pc to 10% less than a 1.5 kernel took.

Revision 1.8.2.2 / (download) - annotate - [select for diffs], Fri Aug 24 00:13:14 2001 UTC (10 years, 9 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.8.2.1: +7 -2 lines
Diff to previous 1.8.2.1 (colored) to branchpoint 1.8 (colored)

Catch up with -current.

Revision 1.10 / (download) - annotate - [select for diffs], Wed Jul 4 21:16:01 2001 UTC (10 years, 10 months ago) by chs
Branch: MAIN
CVS Tags: thorpej-devvp-base, pre-chs-ubcperf
Branch point for: thorpej-devvp, kqueue
Changes since 1.9: +7 -2 lines
Diff to previous 1.9 (colored)

in ext2fs_balloc_range(), clear PG_RDONLY on pages which now have backing store.

Revision 1.8.2.1 / (download) - annotate - [select for diffs], Thu Jun 21 20:10:02 2001 UTC (10 years, 11 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

Catch up to -current.

Revision 1.9 / (download) - annotate - [select for diffs], Wed May 30 11:57:19 2001 UTC (10 years, 11 months ago) by mrg
Branch: MAIN
CVS Tags: perseant-lfsv2-base, perseant-lfsv2
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

use _KERNEL_OPT

Revision 1.3.14.3 / (download) - annotate - [select for diffs], Wed Dec 13 15:50:42 2000 UTC (11 years, 5 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.3.14.2: +28 -51 lines
Diff to previous 1.3.14.2 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)

Sync with HEAD (for UBC fixes).

Revision 1.8 / (download) - annotate - [select for diffs], Sun Dec 10 06:38:31 2000 UTC (11 years, 5 months ago) by chs
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Branch point for: nathanw_sa
Changes since 1.7: +30 -53 lines
Diff to previous 1.7 (colored)

redo ext2fs_balloc_range(), accounting for differences between ext2fs and ffs.

Revision 1.3.14.2 / (download) - annotate - [select for diffs], Fri Dec 8 09:20:09 2000 UTC (11 years, 5 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.3.14.1: +236 -32 lines
Diff to previous 1.3.14.1 (colored) to branchpoint 1.3 (colored)

Sync with HEAD.

Revision 1.7 / (download) - annotate - [select for diffs], Mon Nov 27 08:39:53 2000 UTC (11 years, 6 months ago) by chs
Branch: MAIN
Changes since 1.6: +236 -32 lines
Diff to previous 1.6 (colored)

Initial integration of the Unified Buffer Cache project.

Revision 1.3.14.1 / (download) - annotate - [select for diffs], Mon Nov 20 18:11:41 2000 UTC (11 years, 6 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.3: +45 -21 lines
Diff to previous 1.3 (colored)

Update thorpej_scsipi to -current as of a month ago

Revision 1.6 / (download) - annotate - [select for diffs], Wed Jun 28 14:16:37 2000 UTC (11 years, 11 months ago) by mrg
Branch: MAIN
Changes since 1.5: +1 -3 lines
Diff to previous 1.5 (colored)

remove include of <vm/vm.h> and <uvm/uvm_extern.h>

Revision 1.4.2.1 / (download) - annotate - [select for diffs], Thu Jun 22 17:10:32 2000 UTC (11 years, 11 months ago) by minoura
Branch: minoura-xpg4dl
Changes since 1.4: +41 -15 lines
Diff to previous 1.4 (colored) next main 1.5 (colored)

Sync w/ netbsd-1-5-base.

Revision 1.5 / (download) - annotate - [select for diffs], Sun May 28 08:44:32 2000 UTC (12 years ago) by mycroft
Branch: MAIN
CVS Tags: netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, netbsd-1-5
Changes since 1.4: +41 -15 lines
Diff to previous 1.4 (colored)

Pull in indirect block unwind code from FFS.

Revision 1.4 / (download) - annotate - [select for diffs], Thu Mar 30 12:41:11 2000 UTC (12 years, 1 month ago) by augustss
Branch: MAIN
CVS Tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Changes since 1.3: +5 -5 lines
Diff to previous 1.3 (colored)

Remove register declarations.

Revision 1.3.20.1 / (download) - annotate - [select for diffs], Tue Dec 21 23:20:06 1999 UTC (12 years, 5 months ago) by wrstuden
Branch: wrstuden-devbsize
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored) next main 1.4 (colored)

Initial commit of recent changes to make DEV_BSIZE go away.

Runs on i386, needs work on other arch's. Main kernel routines should be
fine, but a number of the stand programs need help.

cd, fd, ccd, wd, and sd have been updated. sd has been tested with non-512
byte block devices. vnd, raidframe, and lfs need work.

Non 2**n block support is automatic for LKM's and conditional for kernels
on "options NON_PO2_BLOCKS".

Revision 1.3.10.1 / (download) - annotate - [select for diffs], Fri Aug 6 12:55:29 1999 UTC (12 years, 9 months ago) by chs
Branch: chs-ubc2
Changes since 1.3: +234 -44 lines
Diff to previous 1.3 (colored) next main 1.4 (colored)

UBCify.

Revision 1.3 / (download) - annotate - [select for diffs], Sun Mar 1 02:23:45 1998 UTC (14 years, 2 months ago) by fvdl
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4, kenh-if-detach-base, kenh-if-detach, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame, fvdl-softdep-base, fvdl-softdep, eeh-paddr_t-base, eeh-paddr_t, comdex-fall-1999-base, comdex-fall-1999, chs-ubc2-newbase, chs-ubc2-base, chs-ubc-base, chs-ubc
Branch point for: wrstuden-devbsize, thorpej_scsipi, chs-ubc2
Changes since 1.2: +38 -17 lines
Diff to previous 1.2 (colored)

Merge with Lite2 + local changes

Revision 1.1.4.1 / (download) - annotate - [select for diffs], Tue Oct 14 16:06:09 1997 UTC (14 years, 7 months ago) by thorpej
Branch: marc-pcmcia
Changes since 1.1: +8 -8 lines
Diff to previous 1.1 (colored) next main 1.2 (colored)

Update marc-pcmcia branch from trunk.

Revision 1.2 / (download) - annotate - [select for diffs], Thu Oct 9 15:42:47 1997 UTC (14 years, 7 months ago) by bouyer
Branch: MAIN
CVS Tags: netbsd-1-3-base, netbsd-1-3-RELEASE, netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA, netbsd-1-3, marc-pcmcia-base
Changes since 1.1: +8 -8 lines
Diff to previous 1.1 (colored)

Add byte-swapping functions (bswap16, bswap32, bswap64) to libkern.
Only assembly version for i386 bswap16 and bswap32 for now (bswap64 uses
bswap32). Contribution of assembly versions of these are welcome.
Add byte-swapping of ext2fs metadata for big-endian systems.
Tested on i386 and sparc.

Revision 1.1 / (download) - annotate - [select for diffs], Wed Jun 11 09:33:44 1997 UTC (14 years, 11 months ago) by bouyer
Branch: MAIN
CVS Tags: thorpej-signal-base, thorpej-signal, marc-pcmcia-bp, bouyer-scsipi
Branch point for: marc-pcmcia

The ext2fs layer, based on the ffs/ufs one. Uses a few functions from
sys/ufs/ufs/

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 <webmaster@jp.NetBSD.org>