The NetBSD Project

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

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.57.2.2 / (download) - annotate - [select for diffs], Wed May 23 10:08:18 2012 UTC (2 days, 22 hours ago) by yamt
Branch: yamt-pagecache
Changes since 1.57.2.1: +8 -9 lines
Diff to previous 1.57.2.1 (colored) to branchpoint 1.57 (colored) next main 1.58 (colored)

sync with head.

Revision 1.58.6.1 / (download) - annotate - [select for diffs], Mon May 7 03:01:12 2012 UTC (2 weeks, 5 days ago) by riz
Branch: netbsd-6
Changes since 1.58: +4 -3 lines
Diff to previous 1.58 (colored) next main 1.59 (colored)

Pull up following revision(s) (requested by chs in ticket #204):
	sys/fs/sysvbfs/sysvbfs_vnops.c: revision 1.44
	sys/ufs/ffs/ffs_vfsops.c: revision 1.277
	sys/fs/v7fs/v7fs_vnops.c: revision 1.11
	sys/ufs/chfs/chfs_vnops.c: revision 1.7
	sys/ufs/ext2fs/ext2fs_readwrite.c: revision 1.61
	sys/miscfs/genfs/genfs_io.c: revision 1.54
	sys/kern/vfs_wapbl.c: revision 1.52
	sys/uvm/uvm_pager.h: revision 1.43
	sys/ufs/ffs/ffs_vnops.c: revision 1.121
	sys/kern/vfs_subr.c: revision 1.434
	sys/fs/msdosfs/msdosfs_vnops.c: revision 1.83
	sys/fs/ntfs/ntfs_vnops.c: revision 1.51
	sys/fs/udf/udf_subr.c: revision 1.119
	sys/miscfs/specfs/spec_vnops.c: revision 1.135
	sys/ufs/ext2fs/ext2fs_vnops.c: revision 1.103
	sys/fs/udf/udf_vnops.c: revision 1.71
	sys/ufs/ufs/ufs_readwrite.c: revision 1.104
change vflushbuf() to take the full FSYNC_* flags.
translate FSYNC_LAZY into PGO_LAZY for VOP_PUTPAGES() so that
genfs_do_io() can set the appropriate io priority for the I/O.
this is the first part of addressing PR 46325.
mark all wapbl I/O as BPRIO_TIMECRITICAL.
this is the second part of addressing PR 46325.

Revision 1.58.4.2 / (download) - annotate - [select for diffs], Sun Apr 29 23:05:08 2012 UTC (3 weeks, 5 days ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.58.4.1: +6 -8 lines
Diff to previous 1.58.4.1 (colored) to branchpoint 1.58 (colored) next main 1.59 (colored)

sync to latest -current.

Revision 1.61 / (download) - annotate - [select for diffs], Sun Apr 29 22:54:00 2012 UTC (3 weeks, 5 days ago) by chs
Branch: MAIN
CVS Tags: yamt-pagecache-base5, HEAD
Changes since 1.60: +4 -3 lines
Diff to previous 1.60 (colored)

change vflushbuf() to take the full FSYNC_* flags.
translate FSYNC_LAZY into PGO_LAZY for VOP_PUTPAGES() so that
genfs_do_io() can set the appropriate io priority for the I/O.
this is the first part of addressing PR 46325.

Revision 1.60 / (download) - annotate - [select for diffs], Tue Apr 17 19:15:16 2012 UTC (5 weeks, 3 days ago) by christos
Branch: MAIN
CVS Tags: jmcneill-usbmp-base9
Changes since 1.59: +6 -8 lines
Diff to previous 1.59 (colored)

it is not an error if the kernel needs to clear the setuid/
setgid bit on write/chown/chgrp

Revision 1.57.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:08:55 2012 UTC (5 weeks, 4 days ago) by yamt
Branch: yamt-pagecache
Changes since 1.57: +19 -5 lines
Diff to previous 1.57 (colored)

sync with head

Revision 1.58.4.1 / (download) - annotate - [select for diffs], Thu Apr 5 21:33:51 2012 UTC (7 weeks, 1 day ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.58: +17 -5 lines
Diff to previous 1.58 (colored)

sync to latest -current.

Revision 1.59 / (download) - annotate - [select for diffs], Tue Mar 13 18:41:03 2012 UTC (2 months, 1 week ago) by elad
Branch: MAIN
CVS Tags: yamt-pagecache-base4, jmcneill-usbmp-base8
Changes since 1.58: +17 -5 lines
Diff to previous 1.58 (colored)

Replace the remaining KAUTH_GENERIC_ISSUSER authorization calls with
something meaningful. All relevant documentation has been updated or
written.

Most of these changes were brought up in the following messages:

    http://mail-index.netbsd.org/tech-kern/2012/01/18/msg012490.html
    http://mail-index.netbsd.org/tech-kern/2012/01/19/msg012502.html
    http://mail-index.netbsd.org/tech-kern/2012/02/17/msg012728.html

Thanks to christos, manu, njoly, and jmmv for input.

Huge thanks to pgoyette for spinning these changes through some build
cycles and ATF.

Revision 1.58 / (download) - annotate - [select for diffs], Fri Nov 18 21:18:51 2011 UTC (6 months ago) by christos
Branch: MAIN
CVS Tags: netbsd-6-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: netbsd-6, jmcneill-usbmp
Changes since 1.57: +4 -2 lines
Diff to previous 1.57 (colored)

Obey MNT_RELATIME, the only addition is that mkdir in ufs sets IN_ACCESS too.

Revision 1.56.6.1 / (download) - annotate - [select for diffs], Thu Jun 23 14:20:29 2011 UTC (11 months ago) by cherry
Branch: cherry-xenmp
Changes since 1.56: +4 -4 lines
Diff to previous 1.56 (colored) next main 1.57 (colored)

Catchup with rmind-uvmplock merge.

Revision 1.57 / (download) - annotate - [select for diffs], Sun Jun 12 03:36:00 2011 UTC (11 months, 2 weeks ago) by rmind
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base
Branch point for: yamt-pagecache
Changes since 1.56: +4 -4 lines
Diff to previous 1.56 (colored)

Welcome to 5.99.53!  Merge rmind-uvmplock branch:

- Reorganize locking in UVM and provide extra serialisation for pmap(9).
  New lock order: [vmpage-owner-lock] -> pmap-lock.

- Simplify locking in some pmap(9) modules by removing P->V locking.

- Use lock object on vmobjlock (and thus vnode_t::v_interlock) to share
  the locks amongst UVM objects where necessary (tmpfs, layerfs, unionfs).

- Rewrite and optimise x86 TLB shootdown code, make it simpler and cleaner.
  Add TLBSTATS option for x86 to collect statistics about TLB shootdowns.

- Unify /dev/mem et al in MI code and provide required locking (removes
  kernel-lock on some ports).  Also, avoid cache-aliasing issues.

Thanks to Andrew Doran and Joerg Sonnenberger, as their initial patches
formed the core changes of this branch.

Revision 1.51.2.4 / (download) - annotate - [select for diffs], Wed Aug 11 22:55:12 2010 UTC (21 months, 2 weeks ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.51.2.3: +2 -16 lines
Diff to previous 1.51.2.3 (colored) to branchpoint 1.51 (colored) next main 1.52 (colored)

sync with head.

Revision 1.55.4.2 / (download) - annotate - [select for diffs], Sun May 30 05:18:08 2010 UTC (23 months, 3 weeks ago) by rmind
Branch: rmind-uvmplock
Changes since 1.55.4.1: +2 -16 lines
Diff to previous 1.55.4.1 (colored) to branchpoint 1.55 (colored) next main 1.56 (colored)

sync with head

Revision 1.55.2.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:44:34 2010 UTC (2 years ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.55: +2 -16 lines
Diff to previous 1.55 (colored) next main 1.56 (colored)

Sync with HEAD.

Revision 1.56 / (download) - annotate - [select for diffs], Fri Apr 23 15:38:46 2010 UTC (2 years, 1 month ago) by pooka
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, rmind-uvmplock-nbase, rmind-uvmplock-base, matt-mips64-premerge-20101231, jruoho-x86intr-base, jruoho-x86intr, cherry-xenmp-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: cherry-xenmp
Changes since 1.55: +2 -16 lines
Diff to previous 1.55 (colored)

Enforce RLIMIT_FSIZE before VOP_WRITE.  This adds support to file
system drivers where it was missing from and fixes one buggy
implementation.  The arguably weird semantics of the check are
maintained (v_size vs. va_bytes, overwrite).

Revision 1.55.4.1 / (download) - annotate - [select for diffs], Tue Mar 16 15:38:14 2010 UTC (2 years, 2 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.55: +4 -4 lines
Diff to previous 1.55 (colored)

Change struct uvm_object::vmobjlock to be dynamically allocated with
mutex_obj_alloc().  It allows us to share the locks among UVM objects.

Revision 1.51.2.3 / (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.51.2.2: +2 -7 lines
Diff to previous 1.51.2.2 (colored) to branchpoint 1.51 (colored)

sync with head

Revision 1.55 / (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-nfs-mp-base9, uebayasi-xip-base, matt-premerge-20091211, jym-xensuspend-nbase
Branch point for: uebayasi-xip, rmind-uvmplock
Changes since 1.54: +2 -7 lines
Diff to previous 1.54 (colored)

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

Revision 1.51.2.2 / (download) - annotate - [select for diffs], Wed Sep 16 13:38:07 2009 UTC (2 years, 8 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.51.2.1: +4 -4 lines
Diff to previous 1.51.2.1 (colored) to branchpoint 1.51 (colored)

sync with head

Revision 1.54 / (download) - annotate - [select for diffs], Sat Sep 12 11:27:39 2009 UTC (2 years, 8 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8
Changes since 1.53: +4 -4 lines
Diff to previous 1.53 (colored)

Migrate from u_intNN_t to uintNN_t.

Revision 1.51.2.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.51: +11 -17 lines
Diff to previous 1.51 (colored)

sync with head.

Revision 1.52.6.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:20:31 2009 UTC (3 years, 4 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.52: +9 -15 lines
Diff to previous 1.52 (colored) next main 1.53 (colored)

Sync with HEAD.

Revision 1.50.6.2 / (download) - annotate - [select for diffs], Sat Jan 17 13:29:42 2009 UTC (3 years, 4 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.50.6.1: +7 -13 lines
Diff to previous 1.50.6.1 (colored) to branchpoint 1.50 (colored) next main 1.51 (colored)

Sync with HEAD.

Revision 1.52.4.1 / (download) - annotate - [select for diffs], Sat Dec 13 01:15:40 2008 UTC (3 years, 5 months ago) by haad
Branch: haad-dm
Changes since 1.52: +9 -15 lines
Diff to previous 1.52 (colored) next main 1.53 (colored)

Update haad-dm branch to haad-dm-base2.

Revision 1.53 / (download) - annotate - [select for diffs], Wed Nov 26 20:17:33 2008 UTC (3 years, 5 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, mjf-devfs2-base, jymxensuspend-base, jym-xensuspend-base, jym-xensuspend, haad-nbase2, haad-dm-base2, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Changes since 1.52: +9 -15 lines
Diff to previous 1.52 (colored)

Rototill all remaining file systems to use ubc_uiomove() instead
of the ubc_alloc() - uiomove() - ubc_release() dance.

Revision 1.51.4.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.51: +4 -4 lines
Diff to previous 1.51 (colored) next main 1.52 (colored)

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

Revision 1.50.6.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.50: +6 -6 lines
Diff to previous 1.50 (colored)

Sync with HEAD.

Revision 1.50.8.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.50: +6 -6 lines
Diff to previous 1.50 (colored) next main 1.51 (colored)

sync with head.

Revision 1.52 / (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, 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, 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, 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, hpcarm-cleanup-nbase, haad-dm-base1
Branch point for: nick-hppapmap, haad-dm
Changes since 1.51: +4 -4 lines
Diff to previous 1.51 (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.51 / (download) - annotate - [select for diffs], Thu Apr 24 15:35:31 2008 UTC (4 years, 1 month ago) by ad
Branch: MAIN
CVS Tags: yamt-nfs-mp-base2, yamt-nfs-mp-base
Branch point for: yamt-nfs-mp, wrstuden-revivesa
Changes since 1.50: +4 -4 lines
Diff to previous 1.50 (colored)

Network protocol interrupts can now block on locks, so merge the globals
proclist_mutex and proclist_lock into a single adaptive mutex (proc_lock).
Implications:

- Inspecting process state requires thread context, so signals can no longer
  be sent from a hardware interrupt handler. Signal activity must be
  deferred to a soft interrupt or kthread.

- As the proc state locking is simplified, it's now safe to take exit()
  and wait() out from under kernel_lock.

- The system spends less time at IPL_SCHED, and there is less lock activity.

Revision 1.48.4.1 / (download) - annotate - [select for diffs], Mon Feb 18 21:07:28 2008 UTC (4 years, 3 months ago) by mjf
Branch: mjf-devfs
Changes since 1.48: +4 -4 lines
Diff to previous 1.48 (colored) next main 1.49 (colored)

Sync with HEAD.

Revision 1.36.6.5 / (download) - annotate - [select for diffs], Mon Jan 21 09:48:05 2008 UTC (4 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.36.6.4: +5 -6 lines
Diff to previous 1.36.6.4 (colored) to branchpoint 1.36 (colored) next main 1.37 (colored)

sync with head

Revision 1.47.8.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:58:24 2008 UTC (4 years, 4 months ago) by matt
Branch: matt-armv6
Changes since 1.47.8.1: +5 -6 lines
Diff to previous 1.47.8.1 (colored) to branchpoint 1.47 (colored) next main 1.48 (colored)

sync with HEAD

Revision 1.49.4.1 / (download) - annotate - [select for diffs], Wed Jan 2 21:58:14 2008 UTC (4 years, 4 months ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.49: +4 -4 lines
Diff to previous 1.49 (colored) next main 1.50 (colored)

Sync with HEAD

Revision 1.50 / (download) - annotate - [select for diffs], Wed Jan 2 11:49:08 2008 UTC (4 years, 4 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base, bouyer-xeni386-nbase, bouyer-xeni386-base, ad-socklock-base1
Branch point for: yamt-pf42, mjf-devfs2
Changes since 1.49: +4 -4 lines
Diff to previous 1.49 (colored)

Merge vmlocking2 to head.

Revision 1.48.6.2 / (download) - annotate - [select for diffs], Wed Dec 26 21:39:58 2007 UTC (4 years, 5 months ago) by ad
Branch: vmlocking2
Changes since 1.48.6.1: +3 -4 lines
Diff to previous 1.48.6.1 (colored) to branchpoint 1.48 (colored) next main 1.49 (colored)

Sync with head.

Revision 1.47.6.2 / (download) - annotate - [select for diffs], Sun Dec 9 19:38:51 2007 UTC (4 years, 5 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.47.6.1: +3 -4 lines
Diff to previous 1.47.6.1 (colored) to branchpoint 1.47 (colored) next main 1.48 (colored)

Sync with HEAD.

Revision 1.49 / (download) - annotate - [select for diffs], Sat Dec 8 19:29:53 2007 UTC (4 years, 5 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, jmcneill-pm-base, cube-autoconf-base, cube-autoconf
Branch point for: bouyer-xeni386
Changes since 1.48: +3 -4 lines
Diff to previous 1.48 (colored)

Remove cn_lwp from struct componentname.  curlwp should be used
from on.  The NDINIT() macro no longer takes the lwp parameter and
associates the credentials of the calling thread with the namei
structure.

Revision 1.48.6.1 / (download) - annotate - [select for diffs], Tue Dec 4 13:03:42 2007 UTC (4 years, 5 months ago) by ad
Branch: vmlocking2
Changes since 1.48: +4 -4 lines
Diff to previous 1.48 (colored)

Pull the vmlocking changes into a new branch.

Revision 1.47.8.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.47: +4 -4 lines
Diff to previous 1.47 (colored)

sync with HEAD

Revision 1.36.6.4 / (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.36.6.3: +4 -4 lines
Diff to previous 1.36.6.3 (colored) to branchpoint 1.36 (colored)

sync with head.

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

sync with head.

Revision 1.48 / (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, vmlocking2-base2, vmlocking2-base1, vmlocking-nbase, vmlocking-base, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, jmcneill-base, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64
Branch point for: vmlocking2, mjf-devfs
Changes since 1.47: +4 -4 lines
Diff to previous 1.47 (colored)

Merge ffs locking & brelse changes from the vmlocking branch.

Revision 1.36.6.3 / (download) - annotate - [select for diffs], Mon Sep 3 14:46:46 2007 UTC (4 years, 8 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.36.6.2: +7 -2 lines
Diff to previous 1.36.6.2 (colored) to branchpoint 1.36 (colored)

sync with head.

Revision 1.45.6.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:12:41 2007 UTC (4 years, 10 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.45: +7 -2 lines
Diff to previous 1.45 (colored) next main 1.46 (colored)

Sync with head.

Revision 1.45.4.4 / (download) - annotate - [select for diffs], Sat Jun 9 23:58:18 2007 UTC (4 years, 11 months ago) by ad
Branch: vmlocking
Changes since 1.45.4.3: +5 -2 lines
Diff to previous 1.45.4.3 (colored) to branchpoint 1.45 (colored) next main 1.46 (colored)

Sync with head.

Revision 1.45.4.3 / (download) - annotate - [select for diffs], Fri Jun 8 14:18:15 2007 UTC (4 years, 11 months ago) by ad
Branch: vmlocking
Changes since 1.45.4.2: +4 -2 lines
Diff to previous 1.45.4.2 (colored) to branchpoint 1.45 (colored)

Sync with head.

Revision 1.47 / (download) - annotate - [select for diffs], Tue Jun 5 12:31:33 2007 UTC (4 years, 11 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-x86pmap-base2, yamt-x86pmap-base, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: yamt-x86pmap, matt-armv6, jmcneill-pm
Changes since 1.46: +5 -2 lines
Diff to previous 1.46 (colored)

improve post-ubc file overwrite performance in common cases.
ie. when it's safe, actually overwrite blocks rather than doing
read-modify-write.

also fixes PR/33152 and PR/36303.

Revision 1.45.4.2 / (download) - annotate - [select for diffs], Sun May 13 17:36:41 2007 UTC (5 years ago) by ad
Branch: vmlocking
Changes since 1.45.4.1: +4 -4 lines
Diff to previous 1.45.4.1 (colored) to branchpoint 1.45 (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.44.2.2 / (download) - annotate - [select for diffs], Mon May 7 10:56:15 2007 UTC (5 years ago) by yamt
Branch: yamt-idlelwp
Changes since 1.44.2.1: +4 -2 lines
Diff to previous 1.44.2.1 (colored) to branchpoint 1.44 (colored) next main 1.45 (colored)

sync with head.

Revision 1.46 / (download) - annotate - [select for diffs], Thu Apr 19 11:05:14 2007 UTC (5 years, 1 month ago) by yamt
Branch: MAIN
CVS Tags: yamt-idlelwp-base8
Changes since 1.45: +4 -2 lines
Diff to previous 1.45 (colored)

hold proclist_mutex when calling psignal().

Revision 1.45.4.1 / (download) - annotate - [select for diffs], Thu Apr 5 21:57:53 2007 UTC (5 years, 1 month ago) by ad
Branch: vmlocking
Changes since 1.45: +4 -4 lines
Diff to previous 1.45 (colored)

Compile fixes.

Revision 1.44.2.1 / (download) - annotate - [select for diffs], Tue Feb 27 16:55:21 2007 UTC (5 years, 2 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.44: +3 -3 lines
Diff to previous 1.44 (colored)

- sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.

Revision 1.36.6.2 / (download) - annotate - [select for diffs], Mon Feb 26 09:12:18 2007 UTC (5 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.36.6.1: +5 -4 lines
Diff to previous 1.36.6.1 (colored) to branchpoint 1.36 (colored)

sync with head.

Revision 1.45 / (download) - annotate - [select for diffs], Wed Feb 21 23:00:10 2007 UTC (5 years, 3 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, ad-audiomp-base, ad-audiomp
Branch point for: vmlocking, mjf-ufs-trans
Changes since 1.44: +3 -3 lines
Diff to previous 1.44 (colored)

Replace the Mach-derived boolean_t type with the C99 bool type.  A
future commit will replace use of TRUE and FALSE with true and false.

Revision 1.43.8.1 / (download) - annotate - [select for diffs], Fri Jan 12 01:04:24 2007 UTC (5 years, 4 months ago) by ad
Branch: newlock2
Changes since 1.43: +4 -3 lines
Diff to previous 1.43 (colored) next main 1.44 (colored)

Sync with head.

Revision 1.44 / (download) - annotate - [select for diffs], Thu Jan 4 16:55:29 2007 UTC (5 years, 4 months ago) by elad
Branch: MAIN
CVS Tags: post-newlock2-merge, newlock2-nbase, newlock2-base
Branch point for: yamt-idlelwp
Changes since 1.43: +4 -3 lines
Diff to previous 1.43 (colored)

Consistent usage of KAUTH_GENERIC_ISSUSER.

Revision 1.41.2.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.41: +8 -7 lines
Diff to previous 1.41 (colored) next main 1.42 (colored)

sync with head

Revision 1.36.6.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.36: +17 -16 lines
Diff to previous 1.36 (colored)

sync with head.

Revision 1.41.4.2 / (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.41.4.1: +6 -5 lines
Diff to previous 1.41.4.1 (colored) to branchpoint 1.41 (colored) next main 1.42 (colored)

Sync with head.

Revision 1.42.6.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.42: +6 -5 lines
Diff to previous 1.42 (colored) next main 1.43 (colored)

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

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

sync with head.

Revision 1.43 / (download) - annotate - [select for diffs], Sun May 14 21:32:21 2006 UTC (6 years ago) by elad
Branch: MAIN
CVS Tags: 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-pdpolicy-base5, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, simonb-timecounters-base, rpaulo-netinet-merge-pcb-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, matt-nb4-arm-base, matt-nb4-arm, gdamore-uart-base, gdamore-uart, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: newlock2
Changes since 1.42: +6 -5 lines
Diff to previous 1.42 (colored)

integrate kauth.

Revision 1.42.4.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.42.4.1: +3 -2 lines
Diff to previous 1.42.4.1 (colored) to branchpoint 1.42 (colored) next main 1.43 (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.41.4.1 / (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.41: +4 -4 lines
Diff to previous 1.41 (colored)

Sync with head.

Revision 1.42.4.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.42: +5 -5 lines
Diff to previous 1.42 (colored)

Adapt to kernel authorization KPI.

Revision 1.42 / (download) - annotate - [select for diffs], Wed Mar 1 12:38:33 2006 UTC (6 years, 2 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, peter-altq-base, elad-kernelauth-base
Branch point for: yamt-pdpolicy, peter-altq, elad-kernelauth
Changes since 1.41: +4 -4 lines
Diff to previous 1.41 (colored)

merge yamt-uio_vmspace branch.

- use vmspace rather than proc or lwp where appropriate.
  the latter is more natural to specify an address space.
  (and less likely to be abused for random purposes.)
- fix a swdmover race.

Revision 1.40.2.3 / (download) - annotate - [select for diffs], Sat Feb 18 13:07:29 2006 UTC (6 years, 3 months ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.40.2.2: +1 -1 lines
Diff to previous 1.40.2.2 (colored) next main 1.41 (colored)

fix proc/lwp mismatch.

Revision 1.40.2.2 / (download) - annotate - [select for diffs], Sun Jan 15 10:24:52 2006 UTC (6 years, 4 months ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.40.2.1: +4 -4 lines
Diff to previous 1.40.2.1 (colored)

convert the rest of ufs.

Revision 1.40.2.1 / (download) - annotate - [select for diffs], Sun Jan 15 10:03:04 2006 UTC (6 years, 4 months ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.40: +3 -3 lines
Diff to previous 1.40 (colored)

sync with head.

Revision 1.41 / (download) - annotate - [select for diffs], Sat Jan 14 23:49:59 2006 UTC (6 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5
Branch point for: simonb-timecounters, rpaulo-netinet-merge-pcb
Changes since 1.40: +3 -3 lines
Diff to previous 1.40 (colored)

Protect against uio_lwp being NULL from Pavel Cahyna

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

merge ktrace-lwp.

Revision 1.29.2.10 / (download) - annotate - [select for diffs], Sun Dec 11 10:29:41 2005 UTC (6 years, 5 months ago) by christos
Branch: ktrace-lwp
Changes since 1.29.2.9: +6 -4 lines
Diff to previous 1.29.2.9 (colored) next main 1.30 (colored)

Sync with head.

Revision 1.39 / (download) - annotate - [select for diffs], Tue Nov 29 22:52:03 2005 UTC (6 years, 5 months ago) by yamt
Branch: MAIN
CVS Tags: ktrace-lwp-base
Changes since 1.38: +6 -4 lines
Diff to previous 1.38 (colored)

merge yamt-readahead branch.

Revision 1.38.2.6 / (download) - annotate - [select for diffs], Tue Nov 22 15:42:06 2005 UTC (6 years, 6 months ago) by yamt
Branch: yamt-readahead
Changes since 1.38.2.5: +3 -2 lines
Diff to previous 1.38.2.5 (colored) to branchpoint 1.38 (colored) next main 1.39 (colored)

revert a whitespace change.

Revision 1.38.2.5 / (download) - annotate - [select for diffs], Sat Nov 19 17:37:00 2005 UTC (6 years, 6 months ago) by yamt
Branch: yamt-readahead
Changes since 1.38.2.4: +4 -8 lines
Diff to previous 1.38.2.4 (colored) to branchpoint 1.38 (colored)

- as read-ahead context is per-vnode now,
  there are less reasons to make VOP_READ call uvm_ra_request explicitly.
  move it to pager (uvn_get) so that it can handle accesses via mmap as well.
- pass advice to pager via ubc.
- tweak DPRINTF.

XXX can be disturbed by PGO_LOCKED.

XXX it's controversial where it should be done.
(uvm_fault, uvn_get or genfs_getpages.)

Revision 1.38.2.4 / (download) - annotate - [select for diffs], Sat Nov 19 11:03:44 2005 UTC (6 years, 6 months ago) by yamt
Branch: yamt-readahead
Changes since 1.38.2.3: +2 -3 lines
Diff to previous 1.38.2.3 (colored) to branchpoint 1.38 (colored)

- finish reverting VOP_READ prototype changes.
- remove unused variables.
- fix typos.
some of them are pointed by Juan RP.

Revision 1.38.2.3 / (download) - annotate - [select for diffs], Fri Nov 18 08:44:55 2005 UTC (6 years, 6 months ago) by yamt
Branch: yamt-readahead
CVS Tags: yamt-readahead-pervnode
Changes since 1.38.2.2: +6 -6 lines
Diff to previous 1.38.2.2 (colored) to branchpoint 1.38 (colored)

- associate read-ahead context to vnode, rather than file.
- revert VOP_READ prototype.

Revision 1.38.2.2 / (download) - annotate - [select for diffs], Tue Nov 15 10:46:15 2005 UTC (6 years, 6 months ago) by yamt
Branch: yamt-readahead
CVS Tags: yamt-readahead-perfile
Changes since 1.38.2.1: +3 -2 lines
Diff to previous 1.38.2.1 (colored) to branchpoint 1.38 (colored)

add missing include.

Revision 1.38.2.1 / (download) - annotate - [select for diffs], Tue Nov 15 05:36:49 2005 UTC (6 years, 6 months ago) by yamt
Branch: yamt-readahead
Changes since 1.38: +7 -2 lines
Diff to previous 1.38 (colored)

- adapt to the new prototype of VOP_READ.
- adapt ext2fs and union.

Revision 1.29.2.9 / (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.29.2.8: +8 -10 lines
Diff to previous 1.29.2.8 (colored)

Sync with HEAD. Here we go again...

Revision 1.38 / (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-base3, yamt-readahead-base2, yamt-readahead-base
Branch point for: yamt-readahead
Changes since 1.37: +5 -5 lines
Diff to previous 1.37 (colored)

merge yamt-vop branch.  remove following VOPs.

	VOP_BLKATOFF
	VOP_VALLOC
	VOP_BALLOC
	VOP_REALLOCBLKS
	VOP_VFREE
	VOP_TRUNCATE
	VOP_UPDATE

Revision 1.37.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.37: +5 -5 lines
Diff to previous 1.37 (colored) next main 1.38 (colored)

adapt ufs.

Revision 1.37 / (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.36: +4 -6 lines
Diff to previous 1.36 (colored)

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

Revision 1.35.2.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.35: +16 -14 lines
Diff to previous 1.35 (colored) next main 1.36 (colored)

sync with -current

Revision 1.29.2.8 / (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.29.2.7: +16 -14 lines
Diff to previous 1.29.2.7 (colored)

Sync with HEAD.

Revision 1.35.4.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.35: +16 -14 lines
Diff to previous 1.35 (colored) next main 1.36 (colored)

sync with head.

Revision 1.36 / (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-base4, yamt-km-base3, yamt-km-base2, 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, matt-timespec, kent-audio2-base
Branch point for: yamt-lazymbuf
Changes since 1.35: +16 -14 lines
Diff to previous 1.35 (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.29.2.7 / (download) - annotate - [select for diffs], Mon Jan 17 19:33:10 2005 UTC (7 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.29.2.6: +9 -7 lines
Diff to previous 1.29.2.6 (colored)

Sync with HEAD.

Revision 1.35 / (download) - annotate - [select for diffs], Sun Jan 9 16:42:44 2005 UTC (7 years, 4 months ago) by chs
Branch: MAIN
CVS Tags: yamt-km-base, kent-audio1-beforemerge
Branch point for: yamt-km, kent-audio2
Changes since 1.34: +9 -7 lines
Diff to previous 1.34 (colored)

adjust the UBC mapping code to support non-vnode uvm_objects.
this means we can no longer look at the vnode size to determine how many
pages to request in a fault, which is good since for NFS the size can change
out from under us on the server anyway.  there's also a new flag UBC_UNMAP
for ubc_release(), so that the file system code can make the decision about
whether to cache mappings for files being used as executables.

Revision 1.29.2.6 / (download) - annotate - [select for diffs], Mon Nov 29 07:25:05 2004 UTC (7 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.29.2.5: +2 -3 lines
Diff to previous 1.29.2.5 (colored)

Sync with HEAD.

Revision 1.34 / (download) - annotate - [select for diffs], Sun Nov 14 19:42:13 2004 UTC (7 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: kent-audio1-base, kent-audio1
Changes since 1.33: +2 -3 lines
Diff to previous 1.33 (colored)

Remove erroneous KASSERT; i_size is one of the fields mentioned in
<ufs/inode.h> as unused by ext2fs.

Revision 1.29.2.5 / (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.29.2.4: +4 -4 lines
Diff to previous 1.29.2.4 (colored)

Fix the sync with head I botched.

Revision 1.29.2.4 / (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.29.2.3: +4 -4 lines
Diff to previous 1.29.2.3 (colored)

Sync with HEAD.

Revision 1.29.2.3 / (download) - annotate - [select for diffs], Wed Aug 25 06:59:14 2004 UTC (7 years, 9 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.29.2.2: +25 -25 lines
Diff to previous 1.29.2.2 (colored)

Sync with HEAD.

Revision 1.33 / (download) - annotate - [select for diffs], Sun Aug 15 07:19:56 2004 UTC (7 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.32: +25 -25 lines
Diff to previous 1.32 (colored)

Fixing age old cruft:
* Rather than using mnt_maxsymlinklen to indicate that a file systems returns
  d_type fields(!), add a new internal flag, IMNT_DTYPE.

Add 3 new elements to ufsmount:
* um_maxsymlinklen, replaces mnt_maxsymlinklen (which never should have existed
  in the first place).
* um_dirblksiz, which tracks the current directory block size, eliminating the
  FS-specific checks littered throughout the code.  This may be used later to
  make the block size variable.
* um_maxfilesize, which is the maximum file size, possibly adjusted lower due
  to implementation issues.

Sync some bug fixes from FFS into ext2fs, particularly:
* ffs_lookup.c 1.21, 1.28, 1.33, 1.48
* ffs_inode.c 1.43, 1.44, 1.45, 1.66, 1.67
* ffs_vnops.c 1.84, 1.85, 1.86

Clean up some crappy pointer frobnication.

Revision 1.29.2.2 / (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.29.2.1: +35 -8 lines
Diff to previous 1.29.2.1 (colored)

Sync with HEAD

Revision 1.32 / (download) - annotate - [select for diffs], Mon Mar 22 19:23:08 2004 UTC (8 years, 2 months ago) by bouyer
Branch: MAIN
CVS Tags: 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
Changes since 1.31: +12 -13 lines
Diff to previous 1.31 (colored)

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

Revision 1.31 / (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.30: +5 -7 lines
Diff to previous 1.30 (colored)

Remove references to University of California from my copyright notices.

Revision 1.30 / (download) - annotate - [select for diffs], Thu Aug 7 16:34:26 2003 UTC (8 years, 9 months ago) by agc
Branch: MAIN
Changes since 1.29: +33 -3 lines
Diff to previous 1.29 (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.29.2.1 / (download) - annotate - [select for diffs], Wed Jul 2 15:27:20 2003 UTC (8 years, 10 months ago) by darrenr
Branch: ktrace-lwp
Changes since 1.29: +4 -4 lines
Diff to previous 1.29 (colored)

Apply the aborted ktrace-lwp changes to a specific branch.  This is just for
others to review, I'm concerned that patch fuziness may have resulted in some
errant code being generated but I'll look at that later by comparing the diff
from the base to the branch with the file I attempt to apply to it.  This will,
at the very least, put the changes in a better context for others to review
them and attempt to tinker with removing passing of 'struct lwp' through
the kernel.

Revision 1.29 / (download) - annotate - [select for diffs], Sun Jun 29 22:32:32 2003 UTC (8 years, 10 months ago) by fvdl
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.28: +2 -2 lines
Diff to previous 1.28 (colored)

Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.

Revision 1.28 / (download) - annotate - [select for diffs], Sat Jun 28 14:22:24 2003 UTC (8 years, 11 months ago) by darrenr
Branch: MAIN
Changes since 1.27: +4 -4 lines
Diff to previous 1.27 (colored)

Pass lwp pointers throughtout the kernel, as required, so that the lwpid can
be inserted into ktrace records.  The general change has been to replace
"struct proc *" with "struct lwp *" in various function prototypes, pass
the lwp through and use l_proc to get the process pointer when needed.

Bump the kernel rev up to 1.6V

Revision 1.27 / (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.26: +4 -4 lines
Diff to previous 1.26 (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.16.2.7 / (download) - annotate - [select for diffs], Mon Nov 11 22:16:47 2002 UTC (9 years, 6 months ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.16.2.6: +5 -0 lines
Diff to previous 1.16.2.6 (colored) to branchpoint 1.16 (colored) next main 1.17 (colored)

Catch up to -current

Revision 1.26 / (download) - annotate - [select for diffs], Wed Oct 23 09:15:04 2002 UTC (9 years, 7 months ago) by jdolecek
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Changes since 1.25: +7 -2 lines
Diff to previous 1.25 (colored)

merge kqueue branch into -current

kqueue provides a stateful and efficient event notification framework
currently supported events include socket, file, directory, fifo,
pipe, tty and device changes, and monitoring of processes and signals

kqueue is supported by all writable filesystems in NetBSD tree
(with exception of Coda) and all device drivers supporting poll(2)

based on work done by Jonathan Lemon for FreeBSD
initial NetBSD port done by Luke Mewburn and Jason Thorpe

Revision 1.16.2.6 / (download) - annotate - [select for diffs], Fri Oct 18 02:45:47 2002 UTC (9 years, 7 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.16.2.5: +2 -2 lines
Diff to previous 1.16.2.5 (colored) to branchpoint 1.16 (colored)

Catch up to -current.

Revision 1.16.6.4 / (download) - annotate - [select for diffs], Thu Oct 10 18:44:50 2002 UTC (9 years, 7 months ago) by jdolecek
Branch: kqueue
Changes since 1.16.6.3: +4 -4 lines
Diff to previous 1.16.6.3 (colored) to branchpoint 1.16 (colored) next main 1.17 (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.16.6.3 / (download) - annotate - [select for diffs], Thu Sep 26 22:04:52 2002 UTC (9 years, 8 months ago) by jdolecek
Branch: kqueue
Changes since 1.16.6.2: +7 -2 lines
Diff to previous 1.16.6.2 (colored) to branchpoint 1.16 (colored)

add support for kevents - sprikle VN_KNOTE() and add genfs_kqfilter()
to vnode ops; basically same thing as in ufs_readwrite.c and ufs_vnops.c

Revision 1.25 / (download) - annotate - [select for diffs], Sun Sep 22 19:32:56 2002 UTC (9 years, 8 months ago) by jdolecek
Branch: MAIN
CVS Tags: kqueue-beforemerge, kqueue-base
Changes since 1.24: +4 -4 lines
Diff to previous 1.24 (colored)

don't need <sys/conf.h> here

Revision 1.16.6.2 / (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.16.6.1: +7 -3 lines
Diff to previous 1.16.6.1 (colored) to branchpoint 1.16 (colored)

catch up with -current on kqueue branch

Revision 1.16.2.5 / (download) - annotate - [select for diffs], Mon Apr 1 07:49:14 2002 UTC (10 years, 1 month ago) by nathanw
Branch: nathanw_sa
Changes since 1.16.2.4: +7 -3 lines
Diff to previous 1.16.2.4 (colored) to branchpoint 1.16 (colored)

Catch up to -current.
(CVS: It's not just a program. It's an adventure!)

Revision 1.24 / (download) - annotate - [select for diffs], Mon Mar 25 02:23:55 2002 UTC (10 years, 2 months 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.23: +4 -2 lines
Diff to previous 1.23 (colored)

if the size argument to write(2) is 0, do not modify the file in any way,
including updating timestamps.  required for standards conformance.

Revision 1.23 / (download) - annotate - [select for diffs], Sun Mar 17 23:58:10 2002 UTC (10 years, 2 months ago) by chs
Branch: MAIN
CVS Tags: eeh-devprop-base, eeh-devprop
Changes since 1.22: +5 -3 lines
Diff to previous 1.22 (colored)

don't do any flush-behind for async mounts.
this matches the traditional behaviour.

Revision 1.16.6.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.16: +47 -33 lines
Diff to previous 1.16 (colored)

Sync kqueue branch with -current.

Revision 1.16.2.4 / (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.16.2.3: +8 -8 lines
Diff to previous 1.16.2.3 (colored) to branchpoint 1.16 (colored)

Catch up to -current.

Revision 1.22 / (download) - annotate - [select for diffs], Fri Nov 30 07:05:54 2001 UTC (10 years, 5 months ago) by chs
Branch: MAIN
CVS Tags: newlock-base, newlock, ifpoll-base, ifpoll
Changes since 1.21: +8 -8 lines
Diff to previous 1.21 (colored)

VOP_PUTPAGES() requires page-aligned offsets, so be sure to provide such.
fixes PR 14759.

(while I'm here, call VOP_PUTPAGES() directly instead of indirecting through
the UVM pager op vector.)

Revision 1.16.2.3 / (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.16.2.2: +25 -2 lines
Diff to previous 1.16.2.2 (colored) to branchpoint 1.16 (colored)

Catch up to -current.

Revision 1.18.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.18: +25 -2 lines
Diff to previous 1.18 (colored) next main 1.19 (colored)

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

Revision 1.21 / (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.20: +23 -2 lines
Diff to previous 1.20 (colored)

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

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

add RCSID

Revision 1.19 / (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.18: +1 -2 lines
Diff to previous 1.18 (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.16.8.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.16: +23 -32 lines
Diff to previous 1.16 (colored) next main 1.17 (colored)

Catch up with -current.

Revision 1.16.2.2 / (download) - annotate - [select for diffs], Wed Sep 26 19:55:12 2001 UTC (10 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.16.2.1: +3 -1 lines
Diff to previous 1.16.2.1 (colored) to branchpoint 1.16 (colored)

Catch up to -current.
Again.

Revision 1.18 / (download) - annotate - [select for diffs], Sat Sep 22 22:44:08 2001 UTC (10 years, 8 months ago) by chs
Branch: MAIN
CVS Tags: thorpej-devvp-base3, thorpej-devvp-base2
Branch point for: thorpej-mips-cache
Changes since 1.17: +3 -1 lines
Diff to previous 1.17 (colored)

check early for reads beyond EOF.

Revision 1.16.2.1 / (download) - annotate - [select for diffs], Fri Sep 21 22:37:03 2001 UTC (10 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.16: +21 -32 lines
Diff to previous 1.16 (colored)

Catch up to -current.

Revision 1.17 / (download) - annotate - [select for diffs], Sat Sep 15 20:36:41 2001 UTC (10 years, 8 months ago) by chs
Branch: MAIN
CVS Tags: post-chs-ubcperf
Changes since 1.16: +21 -32 lines
Diff to previous 1.16 (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.10.8.3 / (download) - annotate - [select for diffs], Mon Mar 12 13:32:06 2001 UTC (11 years, 2 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.10.8.2: +4 -4 lines
Diff to previous 1.10.8.2 (colored) to branchpoint 1.10 (colored) next main 1.11 (colored)

Sync with HEAD.

Revision 1.16 / (download) - annotate - [select for diffs], Tue Feb 27 04:37:47 2001 UTC (11 years, 2 months ago) by chs
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base, thorpej-devvp-base, pre-chs-ubcperf, perseant-lfsv2-base, perseant-lfsv2
Branch point for: thorpej-devvp, nathanw_sa, kqueue
Changes since 1.15: +4 -4 lines
Diff to previous 1.15 (colored)

min() -> MIN(), max() -> MAX().
fixes more problems with file offsets > 4GB.

Revision 1.10.8.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.10.8.1: +82 -22 lines
Diff to previous 1.10.8.1 (colored) to branchpoint 1.10 (colored)

Sync with HEAD.

Revision 1.15 / (download) - annotate - [select for diffs], Fri Dec 1 07:02:40 2000 UTC (11 years, 5 months ago) by chs
Branch: MAIN
Changes since 1.14: +3 -4 lines
Diff to previous 1.14 (colored)

fix merge error: ext2fs uses a custom balloc rather than a VOP-style one.

Revision 1.14 / (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.13: +84 -23 lines
Diff to previous 1.13 (colored)

Initial integration of the Unified Buffer Cache project.

Revision 1.10.8.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.10: +11 -15 lines
Diff to previous 1.10 (colored)

Update thorpej_scsipi to -current as of a month ago

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

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

Revision 1.12 / (download) - annotate - [select for diffs], Sat May 13 23:43:13 2000 UTC (12 years ago) by perseant
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, minoura-xpg4dl-base, minoura-xpg4dl
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored)

Change the sementics of the last parameter from a boolean ("waitfor") to
a set of flags ("flags").  Two flags are defined, UPDATE_WAIT and
UPDATE_DIROP.

Under the old semantics, VOP_UPDATE would block if waitfor were set,
under the assumption that directory operations should be done
synchronously.  At least LFS and FFS+softdep do not make this
assumption; FFS+softdep got around the problem by enclosing all relevant
calls to VOP_UPDATE in a "if(!DOINGSOFTDEP(vp))", while LFS simply
ignored waitfor, one of the reasons why NFS-serving an LFS filesystem
did not work properly.

Under the new semantics, the UPDATE_DIROP flag is a hint to the
fs-specific update routine that the call comes from a dirop routine, and
should be wait for, or not, accordingly.

Closes PR#8996.

Revision 1.11 / (download) - annotate - [select for diffs], Thu Mar 30 12:41:11 2000 UTC (12 years, 1 month ago) by augustss
Branch: MAIN
Changes since 1.10: +9 -9 lines
Diff to previous 1.10 (colored)

Remove register declarations.

Revision 1.10.4.2 / (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.10.4.1: +77 -4 lines
Diff to previous 1.10.4.1 (colored) to branchpoint 1.10 (colored) next main 1.11 (colored)

UBCify.

Revision 1.10.4.1 / (download) - annotate - [select for diffs], Sun Jul 11 05:43:59 1999 UTC (12 years, 10 months ago) by chs
Branch: chs-ubc2
Changes since 1.10: +1 -2 lines
Diff to previous 1.10 (colored)

remove uvm_vnp_uncache(), it's no longer needed.

Revision 1.10 / (download) - annotate - [select for diffs], Wed Mar 24 05:51:30 1999 UTC (13 years, 2 months ago) by mrg
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame, fvdl-softdep-base, fvdl-softdep, comdex-fall-1999-base, comdex-fall-1999, chs-ubc2-newbase, chs-ubc2-base
Branch point for: thorpej_scsipi, chs-ubc2
Changes since 1.9: +2 -15 lines
Diff to previous 1.9 (colored)

completely remove Mach VM support.  all that is left is the all the
header files as UVM still uses (most of) these.

Revision 1.9 / (download) - annotate - [select for diffs], Fri Mar 5 21:09:49 1999 UTC (13 years, 2 months ago) by mycroft
Branch: MAIN
Changes since 1.8: +5 -11 lines
Diff to previous 1.8 (colored)

Pass null pointers to VOP_UPDATE rather than having all the callers fetch the
current time themselves.

Revision 1.8 / (download) - annotate - [select for diffs], Tue Sep 29 10:24:58 1998 UTC (13 years, 7 months ago) by bouyer
Branch: MAIN
CVS Tags: kenh-if-detach-base, kenh-if-detach, chs-ubc-base, chs-ubc
Changes since 1.7: +3 -1 lines
Diff to previous 1.7 (colored)

#include opt_uvm.h only if _KENREL and !_LKM
Make ext2fs_init() call ufs_init(). it was doing the init by itself,
testing for extern done != 0. This bug was hidden by the fact that
ext2fs_init() is called before ffs_init().

Revision 1.7 / (download) - annotate - [select for diffs], Sun Aug 2 18:57:23 1998 UTC (13 years, 9 months ago) by kleink
Branch: MAIN
Changes since 1.6: +9 -3 lines
Diff to previous 1.6 (colored)

Implement support for IEEE Std 1003.1b-1993 synchronous I/O:
* in the read vnode operator, check for IO_SYNC being set in the ioflag and
  synchronously update the file's meta-data if appropriate.
* in the write vnode operator, update the appropriate checks for IO_SYNC being
  set in the ioflag to reflect that IO_DSYNC is now inclusive-or'ed into
  IO_SYNC, and require all IO_SYNC bits to be set for operations defined by
  synchronized I/O file integrity completion but not by synchronized I/O data
  integrity completion.

Revision 1.6 / (download) - annotate - [select for diffs], Sun Mar 1 02:23:46 1998 UTC (14 years, 2 months ago) by fvdl
Branch: MAIN
CVS Tags: eeh-paddr_t-base, eeh-paddr_t
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored)

Merge with Lite2 + local changes

Revision 1.5 / (download) - annotate - [select for diffs], Tue Feb 10 14:10:45 1998 UTC (14 years, 3 months ago) by mrg
Branch: MAIN
Changes since 1.4: +3 -1 lines
Diff to previous 1.4 (colored)

- add defopt's for UVM, UVMHIST and PMAP_NEW.
- remove unnecessary UVMHIST_DECL's.

Revision 1.4 / (download) - annotate - [select for diffs], Thu Feb 5 08:00:30 1998 UTC (14 years, 3 months ago) by mrg
Branch: MAIN
Changes since 1.3: +12 -1 lines
Diff to previous 1.3 (colored)

initial import of the new virtual memory system, UVM, into -current.

UVM was written by chuck cranor <chuck@maria.wustl.edu>, with some
minor portions derived from the old Mach code.  i provided some help
getting swap and paging working, and other bug fixes/ideas.  chuck
silvers <chuq@chuq.com> also provided some other fixes.

this is the rest of the MI portion changes.

this will be KNF'd shortly.  :-)

Revision 1.2.6.1 / (download) - annotate - [select for diffs], Fri Oct 24 20:24:40 1997 UTC (14 years, 7 months ago) by thorpej
Branch: netbsd-1-3
CVS Tags: 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
Changes since 1.2: +1 -3 lines
Diff to previous 1.2 (colored) next main 1.3 (colored)

Pull up from trunk: kill an unused variable.

Revision 1.3 / (download) - annotate - [select for diffs], Thu Oct 23 11:41:16 1997 UTC (14 years, 7 months ago) by bouyer
Branch: MAIN
Changes since 1.2: +1 -3 lines
Diff to previous 1.2 (colored)

Uses ext2fs_vinit not ufs_vinit.
In ext2fs, an inode is deleted either when mode == 0 or dtime != 0. If
  dtime != 0, reset others fields before using the inode, or we could end
  up with the wrong v_op in ext2fs_vinit.
While I'm there, kill a unused variable in ext2fs_readwrite

Revision 1.2 / (download) - annotate - [select for diffs], Fri Jul 4 20:22:14 1997 UTC (14 years, 10 months ago) by drochner
Branch: MAIN
CVS Tags: thorpej-signal-base, thorpej-signal, netbsd-1-3-base, marc-pcmcia-bp, marc-pcmcia-base, marc-pcmcia
Branch point for: netbsd-1-3
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored)

Don't cast 64bit (off_t) file sizes to vm_offset_t (32bit on many
architectures), truncate them intelligently instead.
The truncation is done centralized in vnode_pager.c.
This prevents from wrap-over effects when parts of large (>2^32 byte) files
are mmapped.
Don't allow to mmap above the numerical range of vm_offset_t.
This is considered a temporary solution until the vm system handles the
object sizes/offsets more cleanly.

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