Up to [cvs.NetBSD.org] / src / sys / ufs / ext2fs
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: MAIN
Revision 1.107 / (download) - annotate - [select for diffs], Mon Mar 18 19:35:47 2013 UTC (3 months ago) by plunky
Branch: MAIN
CVS Tags: khorben-n900,
agc-symver-base,
agc-symver,
HEAD
Changes since 1.106: +3 -3
lines
Diff to previous 1.106 (colored)
C99 section 6.7.2.3 (Tags) Note 3 states that: A type specifier of the form enum identifier without an enumerator list shall only appear after the type it specifies is complete. which means that we cannot pass an "enum vtype" argument to kauth_access_action() without fully specifying the type first. Unfortunately there is a complicated include file loop which makes that difficult, so convert this minimal function into a macro (and capitalize it). (ok elad@)
Revision 1.106 / (download) - annotate - [select for diffs], Tue Jan 22 09:39:15 2013 UTC (4 months, 3 weeks ago) by dholland
Branch: MAIN
CVS Tags: yamt-pagecache-base8,
tls-maxphys-nbase,
tls-maxphys-base
Changes since 1.105: +3 -3
lines
Diff to previous 1.105 (colored)
Stuff UFS_ in front of a few of ufs's symbols to reduce namespace pollution. Specifically: ROOTINO -> UFS_ROOTINO WINO -> UFS_WINO NXADDR -> UFS_NXADDR NDADDR -> UFS_NDADDR NIADDR -> UFS_NIADDR MAXSYMLINKLEN -> UFS_MAXSYMLINKLEN MAXSYMLINKLEN_UFS[12] -> UFS[12]_MAXSYMLINKLEN (for consistency) Sort out ext2fs's misuse of NDADDR and NIADDR; fortunately, these have the same values in ext2fs and ffs. No functional change intended.
Revision 1.105 / (download) - annotate - [select for diffs], Wed Nov 21 23:11:23 2012 UTC (6 months, 3 weeks ago) by jakllsch
Branch: MAIN
CVS Tags: yamt-pagecache-base7
Changes since 1.104: +4 -4
lines
Diff to previous 1.104 (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.104 / (download) - annotate - [select for diffs], Wed May 9 00:21:18 2012 UTC (13 months, 1 week ago) by riastradh
Branch: MAIN
CVS Tags: yamt-pagecache-base6,
yamt-pagecache-base5,
jmcneill-usbmp-base10
Branch point for: tls-maxphys
Changes since 1.103: +2 -422
lines
Diff to previous 1.103 (colored)
Adapt ffs, lfs, and ext2fs to use genfs_rename. ok dholland, rmind
Revision 1.103 / (download) - annotate - [select for diffs], Sun Apr 29 22:54:00 2012 UTC (13 months, 2 weeks ago) by chs
Branch: MAIN
Changes since 1.102: +3 -3
lines
Diff to previous 1.102 (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.102 / (download) - annotate - [select for diffs], Tue Mar 13 18:41:04 2012 UTC (15 months ago) by elad
Branch: MAIN
CVS Tags: yamt-pagecache-base4,
jmcneill-usbmp-base9,
jmcneill-usbmp-base8
Changes since 1.101: +70 -39
lines
Diff to previous 1.101 (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.101 / (download) - annotate - [select for diffs], Fri Nov 18 21:18:51 2011 UTC (19 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.100: +8 -3
lines
Diff to previous 1.100 (colored)
Obey MNT_RELATIME, the only addition is that mkdir in ufs sets IN_ACCESS too.
Revision 1.100 / (download) - annotate - [select for diffs], Tue Jul 12 16:59:48 2011 UTC (23 months, 1 week ago) by dholland
Branch: MAIN
CVS Tags: yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base
Branch point for: yamt-pagecache
Changes since 1.99: +37 -10
lines
Diff to previous 1.99 (colored)
Pass the ufs_lookup_results pointer around instead of fetching it from the inode in the guts of ufs. Now, in VOPs where i_crap is used it is used (directly) only immediately on entry to the VOP call and then passed around by reference. Except for rename, which needs explicit sorting out. The code in ufs_wapbl_rename is unchanged in behavior but I'm increasingly inclined to think it's wrong.
Revision 1.99 / (download) - annotate - [select for diffs], Tue Apr 26 11:32:40 2011 UTC (2 years, 1 month ago) by hannken
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase,
rmind-uvmplock-base,
cherry-xenmp-base,
cherry-xenmp
Changes since 1.98: +5 -7
lines
Diff to previous 1.98 (colored)
Change vflushbuf() to return an error if a synchronous write fails. Welcome to 5.99.51.
Revision 1.98 / (download) - annotate - [select for diffs], Sun Apr 24 21:35:30 2011 UTC (2 years, 1 month ago) by rmind
Branch: MAIN
Changes since 1.97: +10 -16
lines
Diff to previous 1.97 (colored)
sys_link: prevent hard links on directories (cross-mount operations are already prevented). File systems are no longer responsible to check this. Clean up and add asserts (note that dvp == vp cannot happen in vop_link). OK dholland@
Revision 1.97 / (download) - annotate - [select for diffs], Sun Jan 2 05:09:32 2011 UTC (2 years, 5 months ago) by dholland
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231,
jruoho-x86intr-base,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2
Branch point for: jruoho-x86intr
Changes since 1.96: +7 -8
lines
Diff to previous 1.96 (colored)
Remove the special refcount behavior (adding an extra reference to the parent dir) associated with SAVESTART in relookup(). Check all call sites to make sure that SAVESTART wasn't set while calling relookup(); if it was, adjust the refcount behavior. Remove related references to SAVESTART. The only code that was reaching the extra ref was msdosfs_rename, where the refcount behavior was already fairly broken and/or gross; repair it. Add a dummy 4th argument to relookup to make sure code that hasn't been inspected won't compile. (This will go away next time the relookup semantics change, which they will.)
Revision 1.96 / (download) - annotate - [select for diffs], Tue Nov 30 10:43:06 2010 UTC (2 years, 6 months ago) by dholland
Branch: MAIN
Changes since 1.95: +2 -19
lines
Diff to previous 1.95 (colored)
Abolish the SAVENAME and HASBUF flags. There is now always a buffer, so the path in a struct componentname is now always valid during VOP calls.
Revision 1.95 / (download) - annotate - [select for diffs], Tue Nov 30 10:30:03 2010 UTC (2 years, 6 months ago) by dholland
Branch: MAIN
Changes since 1.94: +2 -8
lines
Diff to previous 1.94 (colored)
Abolish struct componentname's cn_pnbuf. Use the path buffer in the pathbuf object passed to namei as work space instead. (For now a pnbuf pointer appears in struct nameidata, to support certain unclean things that haven't been fixed yet, but it will be going away in the future.) This removes the need for the SAVENAME and HASBUF namei flags.
Revision 1.94 / (download) - annotate - [select for diffs], Wed Jul 28 11:03:48 2010 UTC (2 years, 10 months ago) by hannken
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11,
yamt-nfs-mp-base10,
uebayasi-xip-base4,
uebayasi-xip-base3,
uebayasi-xip-base2
Changes since 1.93: +9 -2
lines
Diff to previous 1.93 (colored)
ext2fs,ffs: free on disk inodes in the reclaim routine. Remove now unneeded vnode flag VI_FREEING. Welcome to 5.99.38. Ok: Andrew Doran <ad@netbsd.org>
Revision 1.93 / (download) - annotate - [select for diffs], Thu Jun 24 13:03:18 2010 UTC (2 years, 11 months ago) by hannken
Branch: MAIN
Changes since 1.92: +10 -10
lines
Diff to previous 1.92 (colored)
Clean up vnode lock operations pass 2: VOP_UNLOCK(vp, flags) -> VOP_UNLOCK(vp): Remove the unneeded flags argument. Welcome to 5.99.32. Discussed on tech-kern.
Revision 1.92 / (download) - annotate - [select for diffs], Mon Mar 29 13:11:33 2010 UTC (3 years, 2 months ago) by pooka
Branch: MAIN
CVS Tags: uebayasi-xip-base1
Changes since 1.91: +26 -26
lines
Diff to previous 1.91 (colored)
Stop exposing fifofs internals and leave only fifo_vnodeop_p visible.
Revision 1.91 / (download) - annotate - [select for diffs], Wed Oct 21 17:37:21 2009 UTC (3 years, 7 months ago) by pooka
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.90: +5 -3
lines
Diff to previous 1.90 (colored)
update i_uid and i_gid after chown
Revision 1.90 / (download) - annotate - [select for diffs], Mon Oct 19 18:41:17 2009 UTC (3 years, 8 months ago) by bouyer
Branch: MAIN
Changes since 1.89: +2 -7
lines
Diff to previous 1.89 (colored)
Remove closes 3 & 4 from my licence. Lots of thanks to Soren Jacobsen for the booring work !
Revision 1.89 / (download) - annotate - [select for diffs], Sat Sep 12 11:35:46 2009 UTC (3 years, 9 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8
Changes since 1.88: +12 -12
lines
Diff to previous 1.88 (colored)
Whitespace nits.
Revision 1.88 / (download) - annotate - [select for diffs], Fri Jul 3 21:17:42 2009 UTC (3 years, 11 months ago) by elad
Branch: MAIN
CVS Tags: yamt-nfs-mp-base7,
yamt-nfs-mp-base6,
jymxensuspend-base
Changes since 1.87: +36 -14
lines
Diff to previous 1.87 (colored)
Where possible, extract the file-system's access() routine to two internal functions: the first checking if the operation is possible (regardless of permissions), the second checking file-system permissions, ACLs, etc. Mailing list reference: http://mail-index.netbsd.org/tech-kern/2009/06/21/msg005311.html
Revision 1.87 / (download) - annotate - [select for diffs], Tue Jun 23 19:36:40 2009 UTC (3 years, 11 months ago) by elad
Branch: MAIN
Changes since 1.86: +3 -3
lines
Diff to previous 1.86 (colored)
Move the implementation of vaccess() to genfs_can_access(), in line with the other routines of the same spirit. Adjust file-system code to use it. Keep vaccess() for KPI compatibility and to keep element of least surprise. A "diagnostic" message warning that vaccess() is deprecated will be printed when it's used (obviously, only in DIAGNOSTIC kernels). No objections on tech-kern@: http://mail-index.netbsd.org/tech-kern/2009/06/21/msg005310.html
Revision 1.86 / (download) - annotate - [select for diffs], Thu May 7 19:30:30 2009 UTC (4 years, 1 month ago) by elad
Branch: MAIN
CVS Tags: yamt-nfs-mp-base5,
yamt-nfs-mp-base4,
jym-xensuspend-base
Changes since 1.85: +4 -7
lines
Diff to previous 1.85 (colored)
Extract the open-coded authorization logic for chtimes() from various file-systems and put it in a single function, genfs_can_chtimes(). This also makes UDF follow the same policy as all other file-systems. Mailing list reference: http://mail-index.netbsd.org/tech-kern/2009/04/27/msg004951.html
Revision 1.85 / (download) - annotate - [select for diffs], Wed Apr 22 22:57:09 2009 UTC (4 years, 1 month ago) by elad
Branch: MAIN
CVS Tags: yamt-nfs-mp-base3,
nick-hppapmap-base4,
nick-hppapmap-base3,
nick-hppapmap-base
Changes since 1.84: +4 -4
lines
Diff to previous 1.84 (colored)
Per discussion on tech-kern@:
- Replace use of label/goto with returns
- Rename, change prototype of, and move functions from vfs_subr.c to
genfs_vnops.c
Revision 1.84 / (download) - annotate - [select for diffs], Mon Apr 20 18:06:27 2009 UTC (4 years, 1 month ago) by elad
Branch: MAIN
Changes since 1.83: +11 -24
lines
Diff to previous 1.83 (colored)
Refactor some duplicated file-system code. Proposed and received no objections on tech-kern@: http://mail-index.netbsd.org/tech-kern/2009/04/18/msg004843.html
Revision 1.83 / (download) - annotate - [select for diffs], Sun Nov 23 10:09:25 2008 UTC (4 years, 6 months ago) by mrg
Branch: MAIN
CVS Tags: nick-hppapmap-base2,
mjf-devfs2-base,
haad-nbase2,
haad-dm-base2,
haad-dm-base,
ad-audiomp2-base,
ad-audiomp2
Branch point for: jym-xensuspend
Changes since 1.82: +47 -22
lines
Diff to previous 1.82 (colored)
add support for 32 bit uid/gid fields in ext2, but only do so for when the revision is > REV0.
Revision 1.82 / (download) - annotate - [select for diffs], Tue Apr 29 18:18:09 2008 UTC (5 years, 1 month ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-base4,
yamt-pf42-base3,
yamt-pf42-base2,
yamt-nfs-mp-base2,
wrstuden-revivesa-base-4,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
wrstuden-revivesa,
simonb-wapbl-nbase,
simonb-wapbl-base,
simonb-wapbl,
netbsd-5-base,
matt-mips64-base2,
hpcarm-cleanup-nbase,
haad-dm-base1
Branch point for: nick-hppapmap,
netbsd-5,
haad-dm
Changes since 1.81: +7 -3
lines
Diff to previous 1.81 (colored)
PR kern/38057 ffs makes assuptions about devvp file system PR kern/33406 softdeps get stuck in endless loop Introduce VFS_FSYNC() and call it when syncing a block device, if it has a mounted file system.
Revision 1.81 / (download) - annotate - [select for diffs], Fri Jan 25 14:32:16 2008 UTC (5 years, 4 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-baseX,
yamt-pf42-base,
yamt-nfs-mp-base,
yamt-lazymbuf-base15,
yamt-lazymbuf-base14,
nick-net80211-sync-base,
nick-net80211-sync,
mjf-devfs-base,
matt-armv6-nbase,
keiichi-mipv6-nbase,
keiichi-mipv6-base,
keiichi-mipv6,
hpcarm-cleanup-base,
ad-socklock-base1
Branch point for: yamt-pf42,
yamt-nfs-mp,
mjf-devfs2
Changes since 1.80: +2 -5
lines
Diff to previous 1.80 (colored)
Remove VOP_LEASE. Discussed on tech-kern.
Revision 1.80 / (download) - annotate - [select for diffs], Thu Jan 24 17:32:56 2008 UTC (5 years, 4 months ago) by ad
Branch: MAIN
Changes since 1.79: +4 -21
lines
Diff to previous 1.79 (colored)
specfs changes for PR kern/37717 (raidclose() is no longer called on shutdown). There are still problems with device access and a PR will be filed. - Kill checkalias(). Allow multiple vnodes to reference a single device. - Don't play dangerous tricks with block vnodes to ensure that only one vnode can describe a block device. Instead, prohibit concurrent opens of block devices. As a bonus remove the unreliable code that prevents multiple file system mounts on the same device. It's no longer needed. - Track opens by vnode and by device. Issue cdev_close() when the last open goes away, instead of abusing vnode::v_usecount to tell if the device is open.
Revision 1.79 / (download) - annotate - [select for diffs], Wed Jan 9 16:15:23 2008 UTC (5 years, 5 months ago) by ad
Branch: MAIN
CVS Tags: bouyer-xeni386-nbase,
bouyer-xeni386-base
Changes since 1.78: +2 -9
lines
Diff to previous 1.78 (colored)
Go back to freeing on disk inodes in the inactive routine. It would be better not to do this, but it rules out potential side effects with softdep.
Revision 1.78 / (download) - annotate - [select for diffs], Wed Jan 2 11:49:08 2008 UTC (5 years, 5 months ago) by ad
Branch: MAIN
CVS Tags: matt-armv6-base
Changes since 1.77: +10 -4
lines
Diff to previous 1.77 (colored)
Merge vmlocking2 to head.
Revision 1.77 / (download) - annotate - [select for diffs], Sat Dec 8 19:29:54 2007 UTC (5 years, 6 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.76: +5 -6
lines
Diff to previous 1.76 (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.76 / (download) - annotate - [select for diffs], Mon Nov 26 19:02:27 2007 UTC (5 years, 6 months ago) by pooka
Branch: MAIN
CVS Tags: vmlocking2-base2,
vmlocking2-base1,
vmlocking-nbase,
reinoud-bufcleanup-nbase,
reinoud-bufcleanup-base
Branch point for: vmlocking2
Changes since 1.75: +9 -14
lines
Diff to previous 1.75 (colored)
Remove the "struct lwp *" argument from all VFS and VOP interfaces. The general trend is to remove it from all kernel interfaces and this is a start. In case the calling lwp is desired, curlwp should be used. quick consensus on tech-kern
Revision 1.75 / (download) - annotate - [select for diffs], Wed Oct 10 20:42:33 2007 UTC (5 years, 8 months ago) by ad
Branch: MAIN
CVS Tags: yamt-x86pmap-base4,
yamt-x86pmap-base3,
vmlocking-base,
jmcneill-base,
bouyer-xenamd64-base2,
bouyer-xenamd64-base,
bouyer-xenamd64
Branch point for: mjf-devfs
Changes since 1.74: +4 -4
lines
Diff to previous 1.74 (colored)
Merge from vmlocking: - Split vnode::v_flag into three fields, depending on field locking. - simple_lock -> kmutex in a few places. - Fix some simple locking problems.
Revision 1.74 / (download) - annotate - [select for diffs], Sun Mar 4 06:03:43 2007 UTC (6 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: yamt-x86pmap-base2,
yamt-x86pmap-base,
yamt-idlelwp-base8,
thorpej-atomic-base,
thorpej-atomic,
reinoud-bufcleanup,
nick-csl-alignment-base5,
nick-csl-alignment-base,
nick-csl-alignment,
mjf-ufs-trans-base,
mjf-ufs-trans,
matt-mips64-base,
matt-mips64,
hpcarm-cleanup
Branch point for: yamt-x86pmap,
vmlocking,
matt-armv6,
jmcneill-pm
Changes since 1.73: +6 -6
lines
Diff to previous 1.73 (colored)
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
Revision 1.73 / (download) - annotate - [select for diffs], Tue Feb 20 16:21:04 2007 UTC (6 years, 3 months ago) by ad
Branch: MAIN
CVS Tags: ad-audiomp-base,
ad-audiomp
Changes since 1.72: +3 -2
lines
Diff to previous 1.72 (colored)
Call genfs_node_destroy() where appropriate.
Revision 1.72 / (download) - annotate - [select for diffs], Thu Jan 4 16:55:29 2007 UTC (6 years, 5 months ago) by elad
Branch: MAIN
CVS Tags: post-newlock2-merge,
newlock2-nbase,
newlock2-base
Branch point for: yamt-idlelwp
Changes since 1.71: +16 -12
lines
Diff to previous 1.71 (colored)
Consistent usage of KAUTH_GENERIC_ISSUSER.
Revision 1.71 / (download) - annotate - [select for diffs], Tue Jan 2 11:18:57 2007 UTC (6 years, 5 months ago) by elad
Branch: MAIN
Changes since 1.70: +5 -3
lines
Diff to previous 1.70 (colored)
Add KAUTH_SYSTEM_CHSYSFLAGS so we can get rid of the last three securelevel references (ufs, ext2fs, tmpfs). Intentionally undocumented.
Revision 1.70 / (download) - annotate - [select for diffs], Sat Dec 9 16:11:52 2006 UTC (6 years, 6 months ago) by chs
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5,
yamt-splraiseipl-base4,
yamt-splraiseipl-base3
Changes since 1.69: +32 -23
lines
Diff to previous 1.69 (colored)
a smorgasbord of improvements to vnode locking and path lookup: - LOCKPARENT is no longer relevant for lookup(), relookup() or VOP_LOOKUP(). these now always return the parent vnode locked. namei() works as before. lookup() and various other paths no longer acquire vnode locks in the wrong order via vrele(). fixes PR 32535. as a nice side effect, path lookup is also up to 25% faster. - the above allows us to get rid of PDIRUNLOCK. - also get rid of WANTPARENT (just use LOCKPARENT and unlock it). - remove an assumption in layer_node_find() that all file systems implement a recursive VOP_LOCK() (unionfs doesn't). - require that all file systems supply vfs_vptofh and vfs_fhtovp routines. fill in eopnotsupp() for file systems that don't support being exported and remove the checks for NULL. (layerfs calls these without checking.) - in union_lookup1(), don't change refcounts in the ISDOTDOT case, just adjust which vnode is locked. fixes PR 33374. - apply fixes for ufs_rename() from ufs_vnops.c rev. 1.61 to ext2fs_rename().
Revision 1.69 / (download) - annotate - [select for diffs], Tue Oct 3 19:01:29 2006 UTC (6 years, 8 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2,
netbsd-4-base
Branch point for: netbsd-4
Changes since 1.68: +5 -3
lines
Diff to previous 1.68 (colored)
redo previous: It is better to add a KASSERT, since this is code is same with ufs.
Revision 1.68 / (download) - annotate - [select for diffs], Tue Oct 3 18:54:08 2006 UTC (6 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.67: +3 -4
lines
Diff to previous 1.67 (colored)
Coverity CID 3689: dp cannot be NULL at this point, so don't check for it.
Revision 1.67 / (download) - annotate - [select for diffs], Sun Jul 23 22:06:14 2006 UTC (6 years, 10 months ago) by ad
Branch: MAIN
CVS Tags: yamt-splraiseipl-base,
yamt-pdpolicy-base9,
yamt-pdpolicy-base8,
yamt-pdpolicy-base7,
rpaulo-netinet-merge-pcb-base,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Branch point for: yamt-splraiseipl,
newlock2
Changes since 1.66: +19 -19
lines
Diff to previous 1.66 (colored)
Use the LWP cached credentials where sane.
Revision 1.66 / (download) - annotate - [select for diffs], Wed Jun 7 22:34:19 2006 UTC (7 years ago) by kardel
Branch: MAIN
CVS Tags: yamt-pdpolicy-base6,
gdamore-uart-base,
gdamore-uart,
chap-midi-nbase,
chap-midi-base
Changes since 1.65: +6 -4
lines
Diff to previous 1.65 (colored)
merge FreeBSD timecounters from branch simonb-timecounters
- struct timeval time is gone
time.tv_sec -> time_second
- struct timeval mono_time is gone
mono_time.tv_sec -> time_uptime
- access to time via
{get,}{micro,nano,bin}time()
get* versions are fast but less precise
- support NTP nanokernel implementation (NTP API 4)
- further reading:
Timecounter Paper: http://phk.freebsd.dk/pubs/timecounter.pdf
NTP Nanokernel: http://www.eecis.udel.edu/~mills/ntp/html/kern.html
Revision 1.65 / (download) - annotate - [select for diffs], Sun May 14 21:32:21 2006 UTC (7 years, 1 month ago) by elad
Branch: MAIN
CVS Tags: yamt-pdpolicy-base5,
simonb-timecounters-base
Branch point for: chap-midi
Changes since 1.64: +46 -39
lines
Diff to previous 1.64 (colored)
integrate kauth.
Revision 1.64 / (download) - annotate - [select for diffs], Sun Dec 11 12:25:25 2005 UTC (7 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5,
yamt-uio_vmspace,
yamt-pdpolicy-base4,
yamt-pdpolicy-base3,
yamt-pdpolicy-base2,
yamt-pdpolicy-base,
peter-altq-base,
elad-kernelauth-base
Branch point for: yamt-pdpolicy,
simonb-timecounters,
rpaulo-netinet-merge-pcb,
peter-altq,
elad-kernelauth
Changes since 1.63: +20 -20
lines
Diff to previous 1.63 (colored)
merge ktrace-lwp.
Revision 1.63 / (download) - annotate - [select for diffs], Wed Nov 2 12:39:00 2005 UTC (7 years, 7 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-readahead-base3,
yamt-readahead-base2,
yamt-readahead-base,
ktrace-lwp-base
Branch point for: yamt-readahead
Changes since 1.62: +48 -31
lines
Diff to previous 1.62 (colored)
merge yamt-vop branch. remove following VOPs. VOP_BLKATOFF VOP_VALLOC VOP_BALLOC VOP_REALLOCBLKS VOP_VFREE VOP_TRUNCATE VOP_UPDATE
Revision 1.62 / (download) - annotate - [select for diffs], Mon Sep 12 16:24:41 2005 UTC (7 years, 9 months ago) by christos
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.61: +3 -5
lines
Diff to previous 1.61 (colored)
Use nanotime() to update the time fields in filesystems. Convert the code from macros to real functions. Original patch and review from chuq. Note: ext2fs only keeps seconds in the on-disk inode, and msdosfs does not have enough precision for all fields, so this is not very useful for those two.
Revision 1.61 / (download) - annotate - [select for diffs], Tue Aug 30 22:01:12 2005 UTC (7 years, 9 months ago) by xtraeme
Branch: MAIN
Changes since 1.60: +31 -60
lines
Diff to previous 1.60 (colored)
* Remove __P() * Use ANSI function declarations on ext2fs and mfs
Revision 1.60 / (download) - annotate - [select for diffs], Tue Jun 28 16:53:15 2005 UTC (7 years, 11 months ago) by kml
Branch: MAIN
Branch point for: yamt-lazymbuf
Changes since 1.59: +4 -2
lines
Diff to previous 1.59 (colored)
Ensure that we change the size of the vnode at the same time as we change the size of the inode, and use ext2fs_size uniformly. This fixes a crash that occurs when I create a directory, then move it, all on an ext2 filesystem.
Revision 1.59 / (download) - annotate - [select for diffs], Sat Feb 26 22:32:20 2005 UTC (8 years, 3 months ago) by perry
Branch: MAIN
CVS Tags: yamt-km-base4,
yamt-km-base3,
netbsd-3-base,
netbsd-3-1-RELEASE,
netbsd-3-1-RC4,
netbsd-3-1-RC3,
netbsd-3-1-RC2,
netbsd-3-1-RC1,
netbsd-3-1-1-RELEASE,
netbsd-3-1,
netbsd-3-0-RELEASE,
netbsd-3-0-RC6,
netbsd-3-0-RC5,
netbsd-3-0-RC4,
netbsd-3-0-RC3,
netbsd-3-0-RC2,
netbsd-3-0-RC1,
netbsd-3-0-3-RELEASE,
netbsd-3-0-2-RELEASE,
netbsd-3-0-1-RELEASE,
netbsd-3-0,
netbsd-3,
kent-audio2-base
Changes since 1.58: +7 -7
lines
Diff to previous 1.58 (colored)
nuke trailing whitespace
Revision 1.58 / (download) - annotate - [select for diffs], Wed Feb 9 23:02:10 2005 UTC (8 years, 4 months ago) by ws
Branch: MAIN
CVS Tags: yamt-km-base2,
matt-timespec
Changes since 1.57: +14 -6
lines
Diff to previous 1.57 (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.57 / (download) - annotate - [select for diffs], Tue Sep 21 03:10:35 2004 UTC (8 years, 8 months ago) by thorpej
Branch: MAIN
CVS Tags: yamt-km-base,
kent-audio1-beforemerge,
kent-audio1-base,
kent-audio1
Branch point for: yamt-km,
kent-audio2
Changes since 1.56: +3 -2
lines
Diff to previous 1.56 (colored)
Add a new VNODE_LOCKDEBUG option, which enables checks in the VOP_*() calls to ensure that the vnode lock state is as expected when the VOP call is made. Modify vnode_if.src to set the expected state according to the documenting lock table for each VOP. Modify vnode_if.sh to emit the checks. Notes: - The checks are only performed if the vnode has the VLOCKSWORK bit set. Some file systems (e.g. specfs) don't even bother with vnode locks, so of course the checks will fail. - We can't actually run with VNODE_LOCKDEBUG because there are so many vnode locking problems, not the least of which is the "use SHARED for VOP_READ()" issue, which screws things up for the entire call chain. Inspired by similar changes in OpenBSD, but implemented differently.
Revision 1.56 / (download) - annotate - [select for diffs], Fri Sep 17 14:11:27 2004 UTC (8 years, 9 months ago) by skrll
Branch: MAIN
Changes since 1.55: +6 -6
lines
Diff to previous 1.55 (colored)
There's no need to pass a proc value when using UIO_SYSSPACE with vn_rdwr(9) and uiomove(9). OK'd by Jason Thorpe
Revision 1.55 / (download) - annotate - [select for diffs], Sun Aug 15 07:19:56 2004 UTC (8 years, 10 months ago) by mycroft
Branch: MAIN
Changes since 1.54: +22 -23
lines
Diff to previous 1.54 (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.54 / (download) - annotate - [select for diffs], Sat Aug 14 14:32:04 2004 UTC (8 years, 10 months ago) by mycroft
Branch: MAIN
Changes since 1.53: +6 -20
lines
Diff to previous 1.53 (colored)
Push atime/mtime updates even further -- into the reclaim path, so they happen rarely in the normal case. (Note: This happens at reboot/shutdown time because all file systems are unmounted.) Also, for IN_MODIFY, use IN_ACCESSED, not IN_MODIFIED; otherwise "ls -l" of your device node or FIFO would cause the time stamps to get written too quickly.
Revision 1.53 / (download) - annotate - [select for diffs], Sat May 22 23:24:23 2004 UTC (9 years ago) by kleink
Branch: MAIN
Changes since 1.52: +4 -3
lines
Diff to previous 1.52 (colored)
POSIX: Permit a process without the appropriate privilege to change a file's group ID to its effective gid, in addition to the presently permitted set of supplementary gids. From Mark Davies in PR standards/25401.
Revision 1.52 / (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-0-base
Branch point for: netbsd-2-0
Changes since 1.51: +12 -13
lines
Diff to previous 1.51 (colored)
Fix disclaimer in my copyright. Pointed out by Thomas Klausner.
Revision 1.51 / (download) - annotate - [select for diffs], Sun Oct 5 17:48:49 2003 UTC (9 years, 8 months ago) by bouyer
Branch: MAIN
Changes since 1.50: +5 -7
lines
Diff to previous 1.50 (colored)
Remove references to University of California from my copyright notices.
Revision 1.50 / (download) - annotate - [select for diffs], Sat Aug 9 19:02:53 2003 UTC (9 years, 10 months ago) by dsl
Branch: MAIN
Changes since 1.49: +5 -4
lines
Diff to previous 1.49 (colored)
Stop panic if 'mknod xxx b 0 0' done on a full filesystem. panics in ffs_full_fsync because v_specmountpoint requires that the NULL v_specinfo be followed. Tidy up in the same order in all error paths so compiler can merge the code sequences. Fixes PR kern/22419
Revision 1.49 / (download) - annotate - [select for diffs], Thu Aug 7 16:34:27 2003 UTC (9 years, 10 months ago) by agc
Branch: MAIN
Changes since 1.48: +33 -3
lines
Diff to previous 1.48 (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.48 / (download) - annotate - [select for diffs], Sun Jun 29 22:32:33 2003 UTC (9 years, 11 months ago) by fvdl
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.47: +22 -22
lines
Diff to previous 1.47 (colored)
Back out the lwp/ktrace changes. They contained a lot of colateral damage, and need to be examined and discussed more.
Revision 1.47 / (download) - annotate - [select for diffs], Sun Jun 29 18:43:40 2003 UTC (9 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.46: +4 -5
lines
Diff to previous 1.46 (colored)
Undo part of the ktrace/lwp changes. In particular: * Remove the "lwp *" argument that was added to vget(). Turns out that nothing actually used it! * Remove the "lwp *" arguments that were added to VFS_ROOT(), VFS_VGET(), and VFS_FHTOVP(); all they did was pass it to vget() (which, as noted above, didn't use it). * Remove all of the "lwp *" arguments to internal functions that were added just to appease the above.
Revision 1.46 / (download) - annotate - [select for diffs], Sat Jun 28 14:22:24 2003 UTC (9 years, 11 months ago) by darrenr
Branch: MAIN
Changes since 1.45: +25 -24
lines
Diff to previous 1.45 (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.45 / (download) - annotate - [select for diffs], Mon May 26 21:22:19 2003 UTC (10 years ago) by fvdl
Branch: MAIN
Changes since 1.44: +5 -2
lines
Diff to previous 1.44 (colored)
free the ext2fs dinode struct in ext2fs_reclaim. From Ted Unangst.
Revision 1.44 / (download) - annotate - [select for diffs], Wed Apr 2 10:39:35 2003 UTC (10 years, 2 months ago) by fvdl
Branch: MAIN
Changes since 1.43: +7 -7
lines
Diff to previous 1.43 (colored)
Add support for UFS2. UFS2 is an enhanced FFS, adding support for 64 bit block pointers, extended attribute storage, and a few other things. This commit does not yet include the code to manipulate the extended storage (for e.g. ACLs), this will be done later. Originally written by Kirk McKusick and Network Associates Laboratories for FreeBSD.
Revision 1.43 / (download) - annotate - [select for diffs], Wed Oct 23 19:52:16 2002 UTC (10 years, 7 months ago) by jdolecek
Branch: MAIN
CVS Tags: nathanw_sa_before_merge,
nathanw_sa_base,
gmcgarry_ucred_base,
gmcgarry_ucred,
gmcgarry_ctxsw_base,
gmcgarry_ctxsw,
fvdl_fs64_base
Changes since 1.42: +9 -9
lines
Diff to previous 1.42 (colored)
ext2fs_remove(): use 'else' to eliminate need for goto (and improve readibility, even)
Revision 1.42 / (download) - annotate - [select for diffs], Wed Oct 23 09:15:05 2002 UTC (10 years, 7 months ago) by jdolecek
Branch: MAIN
CVS Tags: kqueue-aftermerge
Changes since 1.41: +32 -6
lines
Diff to previous 1.41 (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.41 / (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.40: +2 -3
lines
Diff to previous 1.40 (colored)
don't need <sys/conf.h> here
Revision 1.40 / (download) - annotate - [select for diffs], Thu Nov 8 02:39:08 2001 UTC (11 years, 7 months ago) by lukem
Branch: MAIN
CVS Tags: thorpej-mips-cache-base,
newlock-base,
newlock,
netbsd-1-6-base,
netbsd-1-6-RELEASE,
netbsd-1-6-RC3,
netbsd-1-6-RC2,
netbsd-1-6-RC1,
netbsd-1-6-PATCH002-RELEASE,
netbsd-1-6-PATCH002-RC4,
netbsd-1-6-PATCH002-RC3,
netbsd-1-6-PATCH002-RC2,
netbsd-1-6-PATCH002-RC1,
netbsd-1-6-PATCH002,
netbsd-1-6-PATCH001-RELEASE,
netbsd-1-6-PATCH001-RC3,
netbsd-1-6-PATCH001-RC2,
netbsd-1-6-PATCH001-RC1,
netbsd-1-6-PATCH001,
netbsd-1-6,
ifpoll-base,
ifpoll,
gehenna-devsw-base,
gehenna-devsw,
eeh-devprop-base,
eeh-devprop
Changes since 1.39: +4 -1
lines
Diff to previous 1.39 (colored)
add RCSID
Revision 1.39 / (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.38: +1 -2
lines
Diff to previous 1.38 (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.38 / (download) - annotate - [select for diffs], Sat Sep 22 22:35:19 2001 UTC (11 years, 8 months ago) by sommerfeld
Branch: MAIN
CVS Tags: thorpej-devvp-base3,
thorpej-devvp-base2
Branch point for: thorpej-mips-cache
Changes since 1.37: +2 -1
lines
Diff to previous 1.37 (colored)
Add fifo_putpages() placebo so that the vnode's uobj is unlocked.
Revision 1.37 / (download) - annotate - [select for diffs], Sat Sep 15 20:36:41 2001 UTC (11 years, 9 months ago) by chs
Branch: MAIN
CVS Tags: post-chs-ubcperf
Changes since 1.36: +2 -5
lines
Diff to previous 1.36 (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.36 / (download) - annotate - [select for diffs], Fri Aug 24 10:24:47 2001 UTC (11 years, 9 months ago) by wiz
Branch: MAIN
CVS Tags: thorpej-devvp-base,
pre-chs-ubcperf
Branch point for: thorpej-devvp
Changes since 1.35: +2 -2
lines
Diff to previous 1.35 (colored)
heirarchy -> hierarchy
Revision 1.35 / (download) - annotate - [select for diffs], Fri Aug 17 05:54:37 2001 UTC (11 years, 10 months ago) by chs
Branch: MAIN
Changes since 1.34: +4 -1
lines
Diff to previous 1.34 (colored)
add getpages/putpages entries for spec vnodes.
Revision 1.34 / (download) - annotate - [select for diffs], Tue Jul 24 15:39:34 2001 UTC (11 years, 10 months ago) by assar
Branch: MAIN
Changes since 1.33: +12 -3
lines
Diff to previous 1.33 (colored)
change vop_symlink and vop_mknod to return vpp (the created node) refed, so that the caller can actually use it. update callers and file systems that implement these vnode operations
Revision 1.33 / (download) - annotate - [select for diffs], Fri Mar 23 21:11:08 2001 UTC (12 years, 2 months ago) by fvdl
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase,
thorpej_scsipi_beforemerge,
thorpej_scsipi_base,
perseant-lfsv2-base,
perseant-lfsv2
Branch point for: kqueue
Changes since 1.32: +3 -2
lines
Diff to previous 1.32 (colored)
Same change as in the UFS code: unlock vnode before setting v_op to spec_vnode_ops. From Bill Studenmund.
Revision 1.32 / (download) - annotate - [select for diffs], Wed Feb 7 12:40:44 2001 UTC (12 years, 4 months ago) by tsutsui
Branch: MAIN
Branch point for: nathanw_sa
Changes since 1.31: +2 -2
lines
Diff to previous 1.31 (colored)
Fix nested extern declaration of prtactive.
Revision 1.31 / (download) - annotate - [select for diffs], Mon Jan 22 12:17:42 2001 UTC (12 years, 4 months ago) by jdolecek
Branch: MAIN
Changes since 1.30: +7 -7
lines
Diff to previous 1.30 (colored)
make filesystem vnodeop, specop, fifoop and vnodeopv_* arrays const
Revision 1.30 / (download) - annotate - [select for diffs], Mon Nov 27 08:39:53 2000 UTC (12 years, 6 months ago) by chs
Branch: MAIN
Changes since 1.29: +8 -7
lines
Diff to previous 1.29 (colored)
Initial integration of the Unified Buffer Cache project.
Revision 1.29 / (download) - annotate - [select for diffs], Thu Aug 3 20:41:36 2000 UTC (12 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.28: +6 -6
lines
Diff to previous 1.28 (colored)
Convert namei pathname buffer allocation to use the pool allocator.
Revision 1.28 / (download) - annotate - [select for diffs], Sat Jul 22 15:26:15 2000 UTC (12 years, 11 months ago) by jdolecek
Branch: MAIN
Changes since 1.27: +2 -3
lines
Diff to previous 1.27 (colored)
change the lf_advlock() arguments from
int lf_advlock __P((struct lockf **,
off_t, caddr_t, int, struct flock *, int));
to
int lf_advlock __P((struct vop_advlock_args *, struct lockf **, off_t));
This matches common usage and is also compatible with similar change
in FreeBSD (though they use u_quad_t as last arg).
Revision 1.27 / (download) - annotate - [select for diffs], Wed Jun 28 14:16:38 2000 UTC (12 years, 11 months ago) by mrg
Branch: MAIN
Changes since 1.26: +1 -5
lines
Diff to previous 1.26 (colored)
remove include of <vm/vm.h> and <uvm/uvm_extern.h>
Revision 1.26 / (download) - annotate - [select for diffs], Sat May 13 23:43:13 2000 UTC (13 years, 1 month ago) by perseant
Branch: MAIN
CVS Tags: netbsd-1-5-base,
minoura-xpg4dl-base,
minoura-xpg4dl
Branch point for: netbsd-1-5
Changes since 1.25: +11 -9
lines
Diff to previous 1.25 (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.25 / (download) - annotate - [select for diffs], Thu Mar 30 12:41:11 2000 UTC (13 years, 2 months ago) by augustss
Branch: MAIN
Changes since 1.24: +29 -29
lines
Diff to previous 1.24 (colored)
Remove register declarations.
Revision 1.24 / (download) - annotate - [select for diffs], Wed Mar 22 01:03:33 2000 UTC (13 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.23: +13 -12
lines
Diff to previous 1.23 (colored)
Small cosmetic change.
Revision 1.23 / (download) - annotate - [select for diffs], Fri Jan 28 16:00:23 2000 UTC (13 years, 4 months ago) by bouyer
Branch: MAIN
CVS Tags: chs-ubc2-newbase
Changes since 1.22: +3 -3
lines
Diff to previous 1.22 (colored)
Correct (minor) bogons in filetype option support, and add support for sparse_super option
Revision 1.22 / (download) - annotate - [select for diffs], Wed Jan 26 16:21:34 2000 UTC (13 years, 4 months ago) by bouyer
Branch: MAIN
Changes since 1.21: +12 -4
lines
Diff to previous 1.21 (colored)
First cut at ext2fs rev 1 support (as of mke2fs 1.18): supports the filetype option read/write and the sparse option read-only.
Revision 1.21 / (download) - annotate - [select for diffs], Tue Aug 3 20:19:21 1999 UTC (13 years, 10 months ago) by wrstuden
Branch: MAIN
CVS Tags: wrstuden-devbsize-base,
wrstuden-devbsize-19991221,
fvdl-softdep-base,
fvdl-softdep,
comdex-fall-1999-base,
comdex-fall-1999
Branch point for: wrstuden-devbsize,
thorpej_scsipi
Changes since 1.20: +4 -1
lines
Diff to previous 1.20 (colored)
Add support for fcntl(2) to generate VOP_FCNTL calls. Any fcntl call with F_FSCTL set and F_SETFL calls generate calls to a new fileop fo_fcntl. Add genfs_fcntl() and soo_fcntl() which return 0 for F_SETFL and EOPNOTSUPP otherwise. Have all leaf filesystems use genfs_fcntl(). Reviewed by: thorpej Tested by: wrstuden
Revision 1.20 / (download) - annotate - [select for diffs], Thu Jul 8 01:06:05 1999 UTC (13 years, 11 months ago) by wrstuden
Branch: MAIN
CVS Tags: chs-ubc2-base
Changes since 1.19: +3 -4
lines
Diff to previous 1.19 (colored)
Modify file systems to deal with struct lock in struct vnode. All leaf fs's other than nfs use genfs_lock() for locking. Modify lookup routines to set PDIRUNLOCK when they unlock the parrent.
Revision 1.19 / (download) - annotate - [select for diffs], Wed Mar 24 05:51:30 1999 UTC (14 years, 3 months ago) by mrg
Branch: MAIN
CVS Tags: 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
Branch point for: chs-ubc2
Changes since 1.18: +2 -11
lines
Diff to previous 1.18 (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.18 / (download) - annotate - [select for diffs], Fri Mar 5 21:09:49 1999 UTC (14 years, 3 months ago) by mycroft
Branch: MAIN
Changes since 1.17: +8 -16
lines
Diff to previous 1.17 (colored)
Pass null pointers to VOP_UPDATE rather than having all the callers fetch the current time themselves.
Revision 1.17 / (download) - annotate - [select for diffs], Fri Feb 26 07:30:00 1999 UTC (14 years, 3 months ago) by mrg
Branch: MAIN
Changes since 1.16: +6 -1
lines
Diff to previous 1.16 (colored)
pull across patches from warner losh <imp@freebsd.org> (freebsd ufs_vnops.c versions 1.109&1.110), adjusted for our ext2fs support, and also commited there also. this avoids overflowing the link count.
Revision 1.16 / (download) - annotate - [select for diffs], Wed Dec 2 10:44:53 1998 UTC (14 years, 6 months ago) by bouyer
Branch: MAIN
CVS Tags: kenh-if-detach-base,
kenh-if-detach
Changes since 1.15: +14 -13
lines
Diff to previous 1.15 (colored)
- intentation - sync LK_* flags with ffs/ufs
Revision 1.15 / (download) - annotate - [select for diffs], Tue Sep 29 10:24:58 1998 UTC (14 years, 8 months ago) by bouyer
Branch: MAIN
CVS Tags: chs-ubc-base,
chs-ubc
Changes since 1.14: +3 -1
lines
Diff to previous 1.14 (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.14 / (download) - annotate - [select for diffs], Tue Sep 1 03:20:46 1998 UTC (14 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.13: +3 -2
lines
Diff to previous 1.13 (colored)
Use the pool allocator and "nointr" pool page allocator for ext2fs inodes.
Revision 1.13 / (download) - annotate - [select for diffs], Sun Aug 9 20:15:39 1998 UTC (14 years, 10 months ago) by perry
Branch: MAIN
Changes since 1.12: +3 -3
lines
Diff to previous 1.12 (colored)
bzero->memset, bcopy->memcpy, bcmp->memcmp
Revision 1.12 / (download) - annotate - [select for diffs], Tue Jul 28 20:37:33 1998 UTC (14 years, 10 months ago) by mjacob
Branch: MAIN
CVS Tags: eeh-paddr_t-base,
eeh-paddr_t
Changes since 1.11: +6 -6
lines
Diff to previous 1.11 (colored)
fix to accomodate change in vn_rdwr prototype
Revision 1.11 / (download) - annotate - [select for diffs], Wed Jun 24 20:58:47 1998 UTC (14 years, 11 months ago) by sommerfe
Branch: MAIN
Changes since 1.10: +1 -8
lines
Diff to previous 1.10 (colored)
Always include fifos; "not an option any more".
Revision 1.10 / (download) - annotate - [select for diffs], Mon Jun 22 22:01:08 1998 UTC (15 years ago) by sommerfe
Branch: MAIN
Changes since 1.9: +2 -1
lines
Diff to previous 1.9 (colored)
defopt for options FIFO
Revision 1.9 / (download) - annotate - [select for diffs], Sat Jun 20 13:14:53 1998 UTC (15 years ago) by mrg
Branch: MAIN
Changes since 1.8: +2 -3
lines
Diff to previous 1.8 (colored)
splify UVM #ifdef.
Revision 1.8 / (download) - annotate - [select for diffs], Sun Mar 1 02:23:46 1998 UTC (15 years, 3 months ago) by fvdl
Branch: MAIN
Changes since 1.7: +150 -115
lines
Diff to previous 1.7 (colored)
Merge with Lite2 + local changes
Revision 1.7 / (download) - annotate - [select for diffs], Tue Feb 10 14:10:48 1998 UTC (15 years, 4 months ago) by mrg
Branch: MAIN
Changes since 1.6: +3 -1
lines
Diff to previous 1.6 (colored)
- add defopt's for UVM, UVMHIST and PMAP_NEW. - remove unnecessary UVMHIST_DECL's.
Revision 1.6 / (download) - annotate - [select for diffs], Thu Feb 5 08:00:31 1998 UTC (15 years, 4 months ago) by mrg
Branch: MAIN
Changes since 1.5: +9 -1
lines
Diff to previous 1.5 (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.5 / (download) - annotate - [select for diffs], Fri Oct 17 02:05:34 1997 UTC (15 years, 8 months ago) by christos
Branch: MAIN
CVS Tags: netbsd-1-3-base,
netbsd-1-3-RELEASE,
netbsd-1-3-PATCH002,
netbsd-1-3-PATCH001,
netbsd-1-3-BETA
Branch point for: netbsd-1-3
Changes since 1.4: +2 -2
lines
Diff to previous 1.4 (colored)
Add missing cast for nlink_t
Revision 1.4 / (download) - annotate - [select for diffs], Thu Oct 9 15:42:54 1997 UTC (15 years, 8 months ago) by bouyer
Branch: MAIN
CVS Tags: marc-pcmcia-base
Changes since 1.3: +16 -21
lines
Diff to previous 1.3 (colored)
Add byte-swapping functions (bswap16, bswap32, bswap64) to libkern. Only assembly version for i386 bswap16 and bswap32 for now (bswap64 uses bswap32). Contribution of assembly versions of these are welcome. Add byte-swapping of ext2fs metadata for big-endian systems. Tested on i386 and sparc.
Revision 1.3 / (download) - annotate - [select for diffs], Tue Jul 1 07:34:03 1997 UTC (15 years, 11 months ago) by bouyer
Branch: MAIN
CVS Tags: thorpej-signal-base,
thorpej-signal,
marc-pcmcia-bp
Branch point for: marc-pcmcia,
bouyer-scsipi
Changes since 1.2: +4 -2
lines
Diff to previous 1.2 (colored)
Sync with ufs/ufs:
Avoid panic triggered by rename("foo/", "bar/..") (From Mycroft, via christos)
Revision 1.2 / (download) - annotate - [select for diffs], Mon Jun 30 20:13:44 1997 UTC (15 years, 11 months ago) by fvdl
Branch: MAIN
Changes since 1.1: +3 -6
lines
Diff to previous 1.1 (colored)
Return EPERM, not EISDIR for an attempt to remove a directory.
Revision 1.1 / (download) - annotate - [select for diffs], Wed Jun 11 09:34:09 1997 UTC (16 years ago) by bouyer
Branch: MAIN
The ext2fs layer, based on the ffs/ufs one. Uses a few functions from sys/ufs/ufs/