Up to [cvs.NetBSD.org] / src / sys / ufs / ext2fs
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: MAIN
Revision 1.62 / (download) - annotate - [select for diffs], Wed Nov 21 23:11:23 2012 UTC (6 months ago) by jakllsch
Branch: MAIN
CVS Tags: yamt-pagecache-base8,
yamt-pagecache-base7,
tls-maxphys-nbase,
tls-maxphys-base,
khorben-n900,
agc-symver-base,
agc-symver,
HEAD
Changes since 1.61: +3 -3
lines
Diff to previous 1.61 (colored)
Write support for the Ext4 Read-only Compatible Feature "huge_file". Primarily, this feature extends the inode block count field to 48 bits. Additionally, this feature allows this field to be represented in file system block size units rather than DEV_BSIZE units.
Revision 1.61 / (download) - annotate - [select for diffs], Sun Apr 29 22:54:00 2012 UTC (12 months, 3 weeks ago) by chs
Branch: MAIN
CVS Tags: yamt-pagecache-base6,
yamt-pagecache-base5,
jmcneill-usbmp-base10
Branch point for: tls-maxphys
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 (13 months 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.59 / (download) - annotate - [select for diffs], Tue Mar 13 18:41:03 2012 UTC (14 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 (18 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.57 / (download) - annotate - [select for diffs], Sun Jun 12 03:36:00 2011 UTC (23 months, 1 week 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.56 / (download) - annotate - [select for diffs], Fri Apr 23 15:38:46 2010 UTC (3 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 / (download) - annotate - [select for diffs], Mon Oct 19 18:41:17 2009 UTC (3 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.54 / (download) - annotate - [select for diffs], Sat Sep 12 11:27:39 2009 UTC (3 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.53 / (download) - annotate - [select for diffs], Wed Nov 26 20:17:33 2008 UTC (4 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.52 / (download) - annotate - [select for diffs], Fri May 16 09:22:00 2008 UTC (5 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-2-RELEASE,
netbsd-5-2-RC1,
netbsd-5-2,
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 (5 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.50 / (download) - annotate - [select for diffs], Wed Jan 2 11:49:08 2008 UTC (5 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.49 / (download) - annotate - [select for diffs], Sat Dec 8 19:29:53 2007 UTC (5 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 / (download) - annotate - [select for diffs], Mon Oct 8 18:01:28 2007 UTC (5 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.47 / (download) - annotate - [select for diffs], Tue Jun 5 12:31:33 2007 UTC (5 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.46 / (download) - annotate - [select for diffs], Thu Apr 19 11:05:14 2007 UTC (6 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 / (download) - annotate - [select for diffs], Wed Feb 21 23:00:10 2007 UTC (6 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.44 / (download) - annotate - [select for diffs], Thu Jan 4 16:55:29 2007 UTC (6 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.43 / (download) - annotate - [select for diffs], Sun May 14 21:32:21 2006 UTC (7 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 / (download) - annotate - [select for diffs], Wed Mar 1 12:38:33 2006 UTC (7 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.41 / (download) - annotate - [select for diffs], Sat Jan 14 23:49:59 2006 UTC (7 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 (7 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.39 / (download) - annotate - [select for diffs], Tue Nov 29 22:52:03 2005 UTC (7 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 / (download) - annotate - [select for diffs], Wed Nov 2 12:39:00 2005 UTC (7 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 / (download) - annotate - [select for diffs], Tue Aug 30 22:01:12 2005 UTC (7 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.36 / (download) - annotate - [select for diffs], Wed Feb 9 23:02:10 2005 UTC (8 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.35 / (download) - annotate - [select for diffs], Sun Jan 9 16:42:44 2005 UTC (8 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.34 / (download) - annotate - [select for diffs], Sun Nov 14 19:42:13 2004 UTC (8 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.33 / (download) - annotate - [select for diffs], Sun Aug 15 07:19:56 2004 UTC (8 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.32 / (download) - annotate - [select for diffs], Mon Mar 22 19:23:08 2004 UTC (9 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 (9 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 (9 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 / (download) - annotate - [select for diffs], Sun Jun 29 22:32:32 2003 UTC (9 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 (9 years, 10 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 (10 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.26 / (download) - annotate - [select for diffs], Wed Oct 23 09:15:04 2002 UTC (10 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.25 / (download) - annotate - [select for diffs], Sun Sep 22 19:32:56 2002 UTC (10 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.24 / (download) - annotate - [select for diffs], Mon Mar 25 02:23:55 2002 UTC (11 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 (11 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.22 / (download) - annotate - [select for diffs], Fri Nov 30 07:05:54 2001 UTC (11 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.21 / (download) - annotate - [select for diffs], Sat Nov 10 17:48:02 2001 UTC (11 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 (11 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 (11 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.18 / (download) - annotate - [select for diffs], Sat Sep 22 22:44:08 2001 UTC (11 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.17 / (download) - annotate - [select for diffs], Sat Sep 15 20:36:41 2001 UTC (11 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.16 / (download) - annotate - [select for diffs], Tue Feb 27 04:37:47 2001 UTC (12 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.15 / (download) - annotate - [select for diffs], Fri Dec 1 07:02:40 2000 UTC (12 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 (12 years, 5 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.13 / (download) - annotate - [select for diffs], Wed Jun 28 14:16:38 2000 UTC (12 years, 10 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 (13 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 (13 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 / (download) - annotate - [select for diffs], Wed Mar 24 05:51:30 1999 UTC (14 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 (14 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 (14 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 (14 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 (15 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 (15 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 (15 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.3 / (download) - annotate - [select for diffs], Thu Oct 23 11:41:16 1997 UTC (15 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 (15 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 (15 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/