The NetBSD Project

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

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.25.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.25.22.1: +2 -7 lines
Diff to previous 1.25.22.1 (colored) to branchpoint 1.25 (colored) next main 1.26 (colored)

sync with head

Revision 1.27 / (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.26: +2 -7 lines
Diff to previous 1.26 (colored)

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

Revision 1.25.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.25: +3 -3 lines
Diff to previous 1.25 (colored)

sync with head.

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

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

Revision 1.25.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.25: +3 -3 lines
Diff to previous 1.25 (colored) next main 1.26 (colored)

Sync with HEAD.

Revision 1.25.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.25: +3 -3 lines
Diff to previous 1.25 (colored) next main 1.26 (colored)

sync with head.

Revision 1.26 / (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.25: +3 -3 lines
Diff to previous 1.25 (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.24.30.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:35:07 2007 UTC (4 years, 6 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.24: +3 -3 lines
Diff to previous 1.24 (colored) next main 1.25 (colored)

sync with HEAD

Revision 1.13.16.3 / (download) - annotate - [select for diffs], Sat Oct 27 11:36:39 2007 UTC (4 years, 6 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.13.16.2: +3 -3 lines
Diff to previous 1.13.16.2 (colored) to branchpoint 1.13 (colored) next main 1.14 (colored)

sync with head.

Revision 1.24.28.1 / (download) - annotate - [select for diffs], Fri Oct 26 15:49:27 2007 UTC (4 years, 7 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.24: +3 -3 lines
Diff to previous 1.24 (colored) next main 1.25 (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.24.32.1 / (download) - annotate - [select for diffs], Sun Oct 14 11:49:14 2007 UTC (4 years, 7 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.24: +3 -3 lines
Diff to previous 1.24 (colored) next main 1.25 (colored)

sync with head.

Revision 1.25 / (download) - annotate - [select for diffs], Mon Oct 8 18:01:28 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.24: +3 -3 lines
Diff to previous 1.24 (colored)

Merge ffs locking & brelse changes from the vmlocking branch.

Revision 1.24.14.1 / (download) - annotate - [select for diffs], Sun May 13 17:36:41 2007 UTC (5 years ago) by ad
Branch: vmlocking
Changes since 1.24: +3 -3 lines
Diff to previous 1.24 (colored) next main 1.25 (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.13.16.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.13.16.1: +3 -3 lines
Diff to previous 1.13.16.1 (colored) to branchpoint 1.13 (colored)

sync with head.

Revision 1.20.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.20: +9 -6 lines
Diff to previous 1.20 (colored) next main 1.21 (colored)

sync with head

Revision 1.23.2.1 / (download) - annotate - [select for diffs], Thu Jul 13 17:50:13 2006 UTC (5 years, 10 months ago) by gdamore
Branch: gdamore-uart
Changes since 1.23: +3 -3 lines
Diff to previous 1.23 (colored) next main 1.24 (colored)

Merge from HEAD.

Revision 1.20.8.3 / (download) - annotate - [select for diffs], Mon Jun 26 12:54:49 2006 UTC (5 years, 11 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.20.8.2: +7 -6 lines
Diff to previous 1.20.8.2 (colored) to branchpoint 1.20 (colored) next main 1.21 (colored)

sync with head.

Revision 1.24 / (download) - annotate - [select for diffs], Fri Jun 23 14:13:02 2006 UTC (5 years, 11 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-x86pmap-base2, yamt-x86pmap-base, yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-idlelwp-base8, yamt-idlelwp, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, thorpej-atomic-base, thorpej-atomic, rpaulo-netinet-merge-pcb-base, reinoud-bufcleanup, post-newlock2-merge, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, newlock2-nbase, newlock2-base, newlock2, 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, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-x86pmap, vmlocking, matt-armv6, jmcneill-pm
Changes since 1.23: +3 -3 lines
Diff to previous 1.23 (colored)

fix a simonb-timecounters regression.
the precision of getnanotime() is not suitable for file timestamps.
esp. when it's nfs-exported.

- introduce vfs_timestamp().
  (the name is from freebsd.  currently merely a wrapper of nanotime())
- for ufs-like filesystems, use it rather than getnanotime().

XXX check other filesystems.

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

sync with head.

Revision 1.22.2.1 / (download) - annotate - [select for diffs], Mon Jun 19 04:11:13 2006 UTC (5 years, 11 months ago) by chap
Branch: chap-midi
Changes since 1.22: +7 -6 lines
Diff to previous 1.22 (colored) next main 1.23 (colored)

Sync with head.

Revision 1.23 / (download) - annotate - [select for diffs], Wed Jun 7 22:34:18 2006 UTC (5 years, 11 months ago) by kardel
Branch: MAIN
CVS Tags: gdamore-uart-base, chap-midi-nbase, chap-midi-base
Branch point for: gdamore-uart
Changes since 1.22: +7 -6 lines
Diff to previous 1.22 (colored)

merge FreeBSD timecounters from branch simonb-timecounters
- struct timeval time is gone
  time.tv_sec -> time_second
- struct timeval mono_time is gone
  mono_time.tv_sec -> time_uptime
- access to time via
	{get,}{micro,nano,bin}time()
	get* versions are fast but less precise
- support NTP nanokernel implementation (NTP API 4)
- further reading:
  Timecounter Paper: http://phk.freebsd.dk/pubs/timecounter.pdf
  NTP Nanokernel: http://www.eecis.udel.edu/~mills/ntp/html/kern.html

Revision 1.20.6.4 / (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.20.6.3: +4 -2 lines
Diff to previous 1.20.6.3 (colored) to branchpoint 1.20 (colored) next main 1.21 (colored)

Sync with head.

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

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

Revision 1.20.8.2 / (download) - annotate - [select for diffs], Wed May 24 10:59:25 2006 UTC (6 years ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.20.8.1: +4 -2 lines
Diff to previous 1.20.8.1 (colored) to branchpoint 1.20 (colored)

sync with head.

Revision 1.22 / (download) - annotate - [select for diffs], Sun May 14 21:32:21 2006 UTC (6 years ago) by elad
Branch: MAIN
CVS Tags: yamt-pdpolicy-base5, simonb-timecounters-base
Branch point for: chap-midi
Changes since 1.21: +4 -2 lines
Diff to previous 1.21 (colored)

integrate kauth.

Revision 1.20.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.20.10.1: +4 -2 lines
Diff to previous 1.20.10.1 (colored) to branchpoint 1.20 (colored) next main 1.21 (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.20.6.3 / (download) - annotate - [select for diffs], Sat Apr 22 11:40:22 2006 UTC (6 years, 1 month ago) by simonb
Branch: simonb-timecounters
Changes since 1.20.6.2: +2 -2 lines
Diff to previous 1.20.6.2 (colored) to branchpoint 1.20 (colored)

Sync with head.

Revision 1.20.10.1 / (download) - annotate - [select for diffs], Wed Apr 19 03:54:09 2006 UTC (6 years, 1 month ago) by elad
Branch: elad-kernelauth
Changes since 1.20: +3 -3 lines
Diff to previous 1.20 (colored)

sync with head.

Revision 1.20.8.1 / (download) - annotate - [select for diffs], Sat Apr 1 12:07:51 2006 UTC (6 years, 1 month ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.20: +3 -3 lines
Diff to previous 1.20 (colored)

sync with head.

Revision 1.20.12.1 / (download) - annotate - [select for diffs], Tue Mar 28 09:42:29 2006 UTC (6 years, 2 months ago) by tron
Branch: peter-altq
Changes since 1.20: +3 -3 lines
Diff to previous 1.20 (colored)

Merge 2006-03-28 NetBSD-current into the "peter-altq" branch.

Revision 1.21 / (download) - annotate - [select for diffs], Sat Mar 18 13:54:21 2006 UTC (6 years, 2 months ago) by bouyer
Branch: MAIN
CVS Tags: yamt-pdpolicy-base4, yamt-pdpolicy-base3, elad-kernelauth-base
Changes since 1.20: +3 -3 lines
Diff to previous 1.20 (colored)

Fix a dead error condition, coverity ID 603.

Revision 1.20.6.2 / (download) - annotate - [select for diffs], Sun Feb 5 11:42:39 2006 UTC (6 years, 3 months ago) by simonb
Branch: simonb-timecounters
Changes since 1.20.6.1: +2 -3 lines
Diff to previous 1.20.6.1 (colored) to branchpoint 1.20 (colored)

In the *itimes functions, just call getnanotime() at the start of
the function and use the result if needed, rather than the previous
conditional calls/assignments method.  The code is clearer this way,
and benchmarks at about the same speed.

Revision 1.20.6.1 / (download) - annotate - [select for diffs], Sat Feb 4 14:12:50 2006 UTC (6 years, 3 months ago) by simonb
Branch: simonb-timecounters
Changes since 1.20: +8 -6 lines
Diff to previous 1.20 (colored)

Adapt for timecounters: mostly use get*time() and use "time_second"
instead of "time.tv_sec".

Revision 1.20 / (download) - annotate - [select for diffs], Tue Dec 27 04:06:46 2005 UTC (6 years, 5 months ago) by chs
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-pdpolicy-base2, yamt-pdpolicy-base, peter-altq-base
Branch point for: yamt-pdpolicy, simonb-timecounters, rpaulo-netinet-merge-pcb, peter-altq, elad-kernelauth
Changes since 1.19: +2 -39 lines
Diff to previous 1.19 (colored)

changes for making DIAGNOSTIC not change the kernel ABI:
 - for structure fields that are conditionally present,
   make those fields always present.
 - for functions which are conditionally inline, make them never inline.
 - remove some other functions which are conditionally defined but
   don't actually do anything anymore.
 - make a lock-debugging function conditional on only LOCKDEBUG.

as discussed on tech-kern some time back.

Revision 1.19 / (download) - annotate - [select for diffs], Sun Dec 11 12:25:25 2005 UTC (6 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.18: +2 -2 lines
Diff to previous 1.18 (colored)

merge ktrace-lwp.

Revision 1.9.2.4 / (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.9.2.3: +44 -20 lines
Diff to previous 1.9.2.3 (colored) next main 1.10 (colored)

Sync with HEAD. Here we go again...

Revision 1.18 / (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.17: +10 -16 lines
Diff to previous 1.17 (colored)

merge yamt-vop branch.  remove following VOPs.

	VOP_BLKATOFF
	VOP_VALLOC
	VOP_BALLOC
	VOP_REALLOCBLKS
	VOP_VFREE
	VOP_TRUNCATE
	VOP_UPDATE

Revision 1.17.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.17: +10 -16 lines
Diff to previous 1.17 (colored) next main 1.18 (colored)

adapt ufs.

Revision 1.17 / (download) - annotate - [select for diffs], Tue Sep 27 06:48:55 2005 UTC (6 years, 7 months ago) by yamt
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.16: +5 -3 lines
Diff to previous 1.16 (colored)

introduce "ufs_ops" and use it for ITIMES.

Revision 1.16 / (download) - annotate - [select for diffs], Mon Sep 12 20:21:18 2005 UTC (6 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.15: +4 -2 lines
Diff to previous 1.15 (colored)

Add a KASSERT like the one ffs has.

Revision 1.15 / (download) - annotate - [select for diffs], Mon Sep 12 16:24:41 2005 UTC (6 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.14: +31 -2 lines
Diff to previous 1.14 (colored)

Use nanotime() to update the time fields in filesystems. Convert the code
from macros to real functions. Original patch and review from chuq.
Note: ext2fs only keeps seconds in the on-disk inode, and msdosfs does not
have enough precision for all fields, so this is not very useful for those
two.

Revision 1.14 / (download) - annotate - [select for diffs], Tue Aug 30 22:01:12 2005 UTC (6 years, 8 months ago) by xtraeme
Branch: MAIN
Changes since 1.13: +4 -7 lines
Diff to previous 1.13 (colored)

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

Revision 1.9.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.9.2.2: +2 -2 lines
Diff to previous 1.9.2.2 (colored)

Fix the sync with head I botched.

Revision 1.9.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.9.2.1: +0 -0 lines
Diff to previous 1.9.2.1 (colored)

Sync with HEAD.

Revision 1.9.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.9: +39 -8 lines
Diff to previous 1.9 (colored)

Sync with HEAD

Revision 1.13 / (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-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, 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, 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, matt-timespec, kent-audio2-base, kent-audio2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-lazymbuf
Changes since 1.12: +12 -13 lines
Diff to previous 1.12 (colored)

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

Revision 1.12 / (download) - annotate - [select for diffs], Tue Dec 30 12:33:24 2003 UTC (8 years, 4 months ago) by pk
Branch: MAIN
Changes since 1.11: +6 -2 lines
Diff to previous 1.11 (colored)

Replace the traditional buffer memory management -- based on fixed per buffer
virtual memory reservation and a private pool of memory pages -- by a scheme
based on memory pools.

This allows better utilization of memory because buffers can now be allocated
with a granularity finer than the system's native page size (useful for
filesystems with e.g. 1k or 2k fragment sizes).  It also avoids fragmentation
of virtual to physical memory mappings (due to the former fixed virtual
address reservation) resulting in better utilization of MMU resources on some
platforms.  Finally, the scheme is more flexible by allowing run-time decisions
on the amount of memory to be used for buffers.

On the other hand, the effectiveness of the LRU queue for buffer recycling
may be somewhat reduced compared to the traditional method since, due to the
nature of the pool based memory allocation, the actual least recently used
buffer may release its memory to a pool different from the one needed by a
newly allocated buffer. However, this effect will kick in only if the
system is under memory pressure.

Revision 1.11 / (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.10: +5 -7 lines
Diff to previous 1.10 (colored)

Remove references to University of California from my copyright notices.

Revision 1.10 / (download) - annotate - [select for diffs], Thu Aug 7 16:34:27 2003 UTC (8 years, 9 months ago) by agc
Branch: MAIN
Changes since 1.9: +33 -3 lines
Diff to previous 1.9 (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.9 / (download) - annotate - [select for diffs], Sat Jan 25 18:12:31 2003 UTC (9 years, 4 months ago) by tron
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.8: +5 -3 lines
Diff to previous 1.8 (colored)

Use PRId64 instead of hard coding "%lld" to fix build problems under
LP64 ports.

Revision 1.8 / (download) - annotate - [select for diffs], Sat Jan 25 12:50:38 2003 UTC (9 years, 4 months ago) by tron
Branch: MAIN
Changes since 1.7: +3 -3 lines
Diff to previous 1.7 (colored)

Fix printf() format strings problems caused by "daddr_t" change.

Revision 1.7 / (download) - annotate - [select for diffs], Fri Jan 24 21:55:20 2003 UTC (9 years, 4 months ago) by fvdl
Branch: MAIN
Changes since 1.6: +5 -5 lines
Diff to previous 1.6 (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.4.10.1 / (download) - annotate - [select for diffs], Thu Jan 10 20:04:58 2002 UTC (10 years, 4 months ago) by thorpej
Branch: kqueue
Changes since 1.4: +4 -2 lines
Diff to previous 1.4 (colored) next main 1.5 (colored)

Sync kqueue branch with -current.

Revision 1.4.6.1 / (download) - annotate - [select for diffs], Wed Nov 14 19:18:54 2001 UTC (10 years, 6 months ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.4: +4 -2 lines
Diff to previous 1.4 (colored) next main 1.5 (colored)

Catch up to -current.

Revision 1.4.14.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.4: +4 -2 lines
Diff to previous 1.4 (colored) next main 1.5 (colored)

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

Revision 1.6 / (download) - annotate - [select for diffs], Thu Nov 8 02:39:07 2001 UTC (10 years, 6 months ago) by lukem
Branch: MAIN
CVS Tags: thorpej-mips-cache-base, newlock-base, newlock, 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, nathanw_sa_before_merge, nathanw_sa_base, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, ifpoll-base, ifpoll, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, gehenna-devsw-base, gehenna-devsw, fvdl_fs64_base, eeh-devprop-base, eeh-devprop
Changes since 1.5: +4 -1 lines
Diff to previous 1.5 (colored)

add RCSID

Revision 1.5 / (download) - annotate - [select for diffs], Fri Oct 26 05:56:08 2001 UTC (10 years, 7 months ago) by lukem
Branch: MAIN
Changes since 1.4: +1 -2 lines
Diff to previous 1.4 (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.3.14.1 / (download) - annotate - [select for diffs], Mon Nov 20 18:11:42 2000 UTC (11 years, 6 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.3: +4 -4 lines
Diff to previous 1.3 (colored) next main 1.4 (colored)

Update thorpej_scsipi to -current as of a month ago

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: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base, thorpej-devvp-base3, thorpej-devvp-base2, thorpej-devvp-base, thorpej-devvp, pre-chs-ubcperf, post-chs-ubcperf, perseant-lfsv2-base, perseant-lfsv2, 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, minoura-xpg4dl-base, minoura-xpg4dl
Branch point for: thorpej-mips-cache, nathanw_sa, kqueue
Changes since 1.3: +4 -4 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: +6 -4 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 / (download) - annotate - [select for diffs], Wed Mar 4 06:50:25 1998 UTC (14 years, 2 months ago) by cgd
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-ubc2, chs-ubc-base, chs-ubc
Branch point for: wrstuden-devbsize, thorpej_scsipi
Changes since 1.2: +3 -1 lines
Diff to previous 1.2 (colored)

ext2fs_checkoverlap is (or at least seems) unused, and its prototype is
#ifdef DIAGNOSTIC.  Make the function #ifdef DIAGNOSTIC, as well, so we
don't get a warning about the function declaration not being a prototype.

Revision 1.2 / (download) - annotate - [select for diffs], Sun Mar 1 02:23:46 1998 UTC (14 years, 2 months ago) by fvdl
Branch: MAIN
Changes since 1.1: +6 -11 lines
Diff to previous 1.1 (colored)

Merge with Lite2 + local changes

Revision 1.1 / (download) - annotate - [select for diffs], Wed Jun 11 09:34:03 1997 UTC (14 years, 11 months ago) by bouyer
Branch: MAIN
CVS Tags: thorpej-signal-base, thorpej-signal, 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-bp, marc-pcmcia-base, marc-pcmcia, bouyer-scsipi

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>