The NetBSD Project

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

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.92 / (download) - annotate - [select for diffs], Sat Aug 6 18:26:42 2022 UTC (10 months ago) by andvar
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.91: +3 -3 lines
Diff to previous 1.91 (colored)

s/blity/bility/ in various words, mainly in comments.

Revision 1.91 / (download) - annotate - [select for diffs], Sat May 16 18:31:53 2020 UTC (3 years ago) by christos
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.90: +3 -3 lines
Diff to previous 1.90 (colored)

Add ACL support for FFS. From FreeBSD.

Revision 1.88.16.1 / (download) - annotate - [select for diffs], Wed Apr 8 14:09:03 2020 UTC (3 years, 2 months ago) by martin
Branch: phil-wifi
Changes since 1.88: +16 -12 lines
Diff to previous 1.88 (colored) next main 1.89 (colored)

Merge changes from current as of 20200406

Revision 1.90 / (download) - annotate - [select for diffs], Sat Apr 4 20:49:31 2020 UTC (3 years, 2 months ago) by ad
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh
Changes since 1.89: +14 -10 lines
Diff to previous 1.89 (colored)

Merge the remaining changes from the ad-namecache branch, affecting namei()
and getcwd():

- push vnode locking back as far as possible.
- do most lookups directly in the namecache, avoiding vnode locks & refs.
- don't block new refs to vnodes across VOP_INACTIVE().
- get shared locks for VOP_LOOKUP() if the file system supports it.
- correct lock types for VOP_ACCESS() / VOP_GETATTR() in a few places.

Possible future enhancements:

- make the lookups lockless.
- support dotdot lookups by being lockless and inferring absence of chroot.
- maybe make it work for layered file systems.
- avoid vnode references at the root & cwd.

Revision 1.89 / (download) - annotate - [select for diffs], Sat Mar 14 18:08:40 2020 UTC (3 years, 2 months ago) by ad
Branch: MAIN
Changes since 1.88: +4 -4 lines
Diff to previous 1.88 (colored)

- Hide the details of SPCF_SHOULDYIELD and related behind a couple of small
  functions: preempt_point() and preempt_needed().

- preempt(): if the LWP has exceeded its timeslice in kernel, strip it of
  any priority boost gained earlier from blocking.

Revision 1.88.22.1 / (download) - annotate - [select for diffs], Sun Jan 19 21:21:55 2020 UTC (3 years, 4 months ago) by ad
Branch: ad-namecache
Changes since 1.88: +14 -10 lines
Diff to previous 1.88 (colored) next main 1.89 (colored)

Set IMNT_SHRLOOKUP and use it for the in-cache case.  Need to check what
more can be done with tmpfs though, it can probably do the whole lookup.

Revision 1.70.2.4 / (download) - annotate - [select for diffs], Sun Dec 3 11:39:21 2017 UTC (5 years, 6 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.70.2.3: +272 -94 lines
Diff to previous 1.70.2.3 (colored) to branchpoint 1.70 (colored) next main 1.71 (colored)

update from HEAD

Revision 1.77.4.4 / (download) - annotate - [select for diffs], Wed Oct 5 20:56:11 2016 UTC (6 years, 8 months ago) by skrll
Branch: nick-nhusb
Changes since 1.77.4.3: +164 -117 lines
Diff to previous 1.77.4.3 (colored) to branchpoint 1.77 (colored) next main 1.78 (colored)

Sync with HEAD

Revision 1.88 / (download) - annotate - [select for diffs], Tue Aug 23 06:40:25 2016 UTC (6 years, 9 months ago) by christos
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi-20191119, phil-wifi-20190609, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base
Branch point for: phil-wifi, ad-namecache
Changes since 1.87: +7 -9 lines
Diff to previous 1.87 (colored)

KNF, no functional change

Revision 1.87 / (download) - annotate - [select for diffs], Fri Aug 19 00:05:43 2016 UTC (6 years, 9 months ago) by jdolecek
Branch: MAIN
Changes since 1.86: +12 -13 lines
Diff to previous 1.86 (colored)

fix bug introduced in rev 1.82 of ext2fs_lookup.c, when ext2fs_add_entry()
was introduced splitting code from ext2fs_direnter() - code used
incorrect new entry size, leading to incomplete entry copy or buffer
overflow; fixed by passing the right size from ext2fs_direnter()

Revision 1.86 / (download) - annotate - [select for diffs], Sun Aug 14 11:46:05 2016 UTC (6 years, 9 months ago) by jdolecek
Branch: MAIN
Changes since 1.85: +10 -6 lines
Diff to previous 1.85 (colored)

when converting on-disk direntry, only use the on-disk filetype if the feature flag is present

Revision 1.85 / (download) - annotate - [select for diffs], Sun Aug 14 11:44:54 2016 UTC (6 years, 9 months ago) by jdolecek
Branch: MAIN
Changes since 1.84: +4 -6 lines
Diff to previous 1.84 (colored)

switch code to use the EXT2_HAS_{COMPAT|ROCOMPAT|INCOMPAT}_FEATURE() macros instead of open coding the checks

Revision 1.84 / (download) - annotate - [select for diffs], Sat Aug 13 07:40:10 2016 UTC (6 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.83: +39 -39 lines
Diff to previous 1.83 (colored)

KNF, no functional changes...

Revision 1.83 / (download) - annotate - [select for diffs], Sat Aug 13 07:25:29 2016 UTC (6 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.82: +36 -23 lines
Diff to previous 1.82 (colored)

sync with hrishi's git

Revision 1.82 / (download) - annotate - [select for diffs], Tue Aug 9 20:18:08 2016 UTC (6 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.81: +79 -45 lines
Diff to previous 1.81 (colored)

merge missing function.

Revision 1.81 / (download) - annotate - [select for diffs], Sat Aug 6 21:39:48 2016 UTC (6 years, 10 months ago) by jdolecek
Branch: MAIN
Changes since 1.80: +4 -3 lines
Diff to previous 1.80 (colored)

actually pass the d_type from the on-disk directory entry to the lookup results

Revision 1.77.4.3 / (download) - annotate - [select for diffs], Sat Jul 9 20:25:24 2016 UTC (6 years, 11 months ago) by skrll
Branch: nick-nhusb
Changes since 1.77.4.2: +135 -4 lines
Diff to previous 1.77.4.2 (colored) to branchpoint 1.77 (colored)

Sync with HEAD

Revision 1.80 / (download) - annotate - [select for diffs], Fri Jun 24 17:21:30 2016 UTC (6 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, nick-nhusb-base-20160907, jaromird-ext3
Changes since 1.79: +135 -4 lines
Diff to previous 1.79 (colored)

GSoC 2016 (Hrishikesh Goyal): Htree index support from FreeBSD

Revision 1.77.4.2 / (download) - annotate - [select for diffs], Sat Mar 19 11:30:39 2016 UTC (7 years, 2 months ago) by skrll
Branch: nick-nhusb
Changes since 1.77.4.1: +3 -3 lines
Diff to previous 1.77.4.1 (colored) to branchpoint 1.77 (colored)

Sync with HEAD

Revision 1.79 / (download) - annotate - [select for diffs], Tue Jan 12 21:29:29 2016 UTC (7 years, 4 months ago) by riastradh
Branch: MAIN
CVS Tags: nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319
Changes since 1.78: +3 -3 lines
Diff to previous 1.78 (colored)

Use buffer cache, not page cache, to expand directories in ext2fs.

Candidate fix for PR kern/50607, PR port-evbmips/50059.

Formerly VOP_WRITE-->ext2fs_write would automatically dispatch to
this code path for writes to directories, but I broke that in
ext2fs_lookup.c rev. 1.78 when disentangling page-cached and
buffer-cached writes.

This was not a problem in ufs, and I didn't notice it in ext2fs,
because ufs consistently used buffercache(9) directly instead of
using VOP_WRITE sometimes as ext2fs did.

Revision 1.77.4.1 / (download) - annotate - [select for diffs], Mon Apr 6 15:18:32 2015 UTC (8 years, 2 months ago) by skrll
Branch: nick-nhusb
Changes since 1.77: +5 -5 lines
Diff to previous 1.77 (colored)

Sync with HEAD

Revision 1.78 / (download) - annotate - [select for diffs], Fri Mar 27 17:27:56 2015 UTC (8 years, 2 months ago) by riastradh
Branch: MAIN
CVS Tags: nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406
Changes since 1.77: +5 -5 lines
Diff to previous 1.77 (colored)

Disentangle buffer-cached I/O from page-cached I/O in UFS.

Page-cached I/O is used for regular files, and is initiated by VFS
users such as userland and NFS.

Buffer-cached I/O is used for directories and symlinks, and is issued
only internally by UFS.

New UFS routine ufs_bufio replaces vn_rdwr for internal use.
ufs_bufio is implemented by new UFS operations uo_bufrd/uo_bufwr,
which sit in ufs_readwrite.c alongside the VOP_READ/VOP_WRITE
implementations.

I preserved the code as much as possible and will leave further
simplification for future commits.  I kept the ulfs_readwrite.c
copypasta close to ufs_readwrite.c in case we ever want to merge them
back; likewise ext2fs_readwrite.c.

No externally visible semantic change.  All atf fs tests still pass.

Revision 1.70.2.3 / (download) - annotate - [select for diffs], Wed Aug 20 00:04:44 2014 UTC (8 years, 9 months ago) by tls
Branch: tls-maxphys
Changes since 1.70.2.2: +15 -122 lines
Diff to previous 1.70.2.2 (colored) to branchpoint 1.70 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.74.2.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:56:57 2014 UTC (8 years, 10 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.74: +14 -127 lines
Diff to previous 1.74 (colored) next main 1.75 (colored)

Rebase.

Revision 1.77 / (download) - annotate - [select for diffs], Tue Jun 3 19:30:29 2014 UTC (9 years ago) by joerg
Branch: MAIN
CVS Tags: tls-maxphys-base, tls-earlyentropy-base, nick-nhusb-base, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7
Branch point for: nick-nhusb
Changes since 1.76: +4 -4 lines
Diff to previous 1.76 (colored)

Introduce two helper functions to centralise the namecache statistics
in vfs_cache.c. Use consistent locking around the per-cpu data.

Revision 1.76 / (download) - annotate - [select for diffs], Sun May 25 14:07:19 2014 UTC (9 years ago) by hannken
Branch: MAIN
Changes since 1.75: +2 -69 lines
Diff to previous 1.75 (colored)

Remove ext2fs_checkpath().  It is a relic from the pre-genfs_rename era.

Revision 1.66.2.5 / (download) - annotate - [select for diffs], Thu May 22 11:41:18 2014 UTC (9 years ago) by yamt
Branch: yamt-pagecache
Changes since 1.66.2.4: +13 -53 lines
Diff to previous 1.66.2.4 (colored) to branchpoint 1.66 (colored) next main 1.67 (colored)

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.73.2.1 / (download) - annotate - [select for diffs], Sun May 18 17:46:21 2014 UTC (9 years ago) by rmind
Branch: rmind-smpnet
Changes since 1.73: +13 -53 lines
Diff to previous 1.73 (colored) next main 1.74 (colored)

sync with head

Revision 1.75 / (download) - annotate - [select for diffs], Thu May 8 08:21:53 2014 UTC (9 years, 1 month ago) by hannken
Branch: MAIN
CVS Tags: yamt-pagecache-base9, rmind-smpnet-nbase, rmind-smpnet-base
Changes since 1.74: +12 -58 lines
Diff to previous 1.74 (colored)

Add a global vnode cache:

- vcache_get() retrieves a referenced and initialised vnode / fs node pair.
- vcache_remove() removes a vnode / fs node pair from the cache.

On cache miss vcache_get() calls new vfs operation vfs_loadvnode() to
initialise a vnode / fs node pair.  This call is guaranteed exclusive,
no other thread will try to load this vnode / fs node pair.

Convert ufs/ext2fs, ufs/ffs and ufs/mfs to use this interface.

Remove now unused ufs/ufs_ihash

Discussed on tech-kern.

Welcome to 6.99.41

Revision 1.74 / (download) - annotate - [select for diffs], Fri Feb 7 15:29:23 2014 UTC (9 years, 4 months ago) by hannken
Branch: MAIN
CVS Tags: riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3
Branch point for: tls-earlyentropy
Changes since 1.73: +9 -3 lines
Diff to previous 1.73 (colored)

Change vnode operation lookup to return the resulting vnode *vpp unlocked.
Change cache_lookup() to return an unlocked vnode.

Discussed on tech-kern@

Welcome to 6.99.31

Revision 1.70.2.2 / (download) - annotate - [select for diffs], Mon Feb 25 00:30:14 2013 UTC (10 years, 3 months ago) by tls
Branch: tls-maxphys
Changes since 1.70.2.1: +3 -3 lines
Diff to previous 1.70.2.1 (colored) to branchpoint 1.70 (colored)

resync with head

Revision 1.66.2.4 / (download) - annotate - [select for diffs], Wed Jan 23 00:06:31 2013 UTC (10 years, 4 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.66.2.3: +3 -3 lines
Diff to previous 1.66.2.3 (colored) to branchpoint 1.66 (colored)

sync with head

Revision 1.73 / (download) - annotate - [select for diffs], Tue Jan 22 09:39:15 2013 UTC (10 years, 4 months ago) by dholland
Branch: MAIN
CVS Tags: yamt-pagecache-base8, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900, agc-symver-base, agc-symver
Branch point for: rmind-smpnet
Changes since 1.72: +3 -3 lines
Diff to previous 1.72 (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.66.2.3 / (download) - annotate - [select for diffs], Wed Jan 16 05:33:55 2013 UTC (10 years, 4 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.66.2.2: +9 -6 lines
Diff to previous 1.66.2.2 (colored) to branchpoint 1.66 (colored)

sync with (a bit old) head

Revision 1.70.2.1 / (download) - annotate - [select for diffs], Tue Nov 20 03:02:53 2012 UTC (10 years, 6 months ago) by tls
Branch: tls-maxphys
Changes since 1.70: +9 -6 lines
Diff to previous 1.70 (colored)

Resync to 2012-11-19 00:00:00 UTC

Revision 1.72 / (download) - annotate - [select for diffs], Mon Nov 5 17:27:40 2012 UTC (10 years, 7 months ago) by dholland
Branch: MAIN
CVS Tags: yamt-pagecache-base7
Changes since 1.71: +7 -5 lines
Diff to previous 1.71 (colored)

Excise struct componentname from the namecache.

This uglifies the interface, because several operations need to be
passed the namei flags and cache_lookup also needs for the time being
to be passed cnp->cn_nameiop. Nonetheless, it's a net benefit.

The glop should be able to go away eventually but requires structural
cleanup elsewhere first.

This change requires a kernel bump.

Revision 1.71 / (download) - annotate - [select for diffs], Mon Nov 5 17:24:12 2012 UTC (10 years, 7 months ago) by dholland
Branch: MAIN
Changes since 1.70: +5 -4 lines
Diff to previous 1.70 (colored)

Disentangle the namecache from the internals of namei.

 - Move the namecache's hash computation to inside the namecache code,
instead of being spread out all over the place. Remove cn_hash from
struct componentname and delete all uses of it.

 - It is no longer necessary (if it ever was) for cache_lookup and
cache_lookup_raw to clear MAKEENTRY from cnp->cn_flags for the cases
that cache_enter already checks for.

 - Rearrange the interface of cache_lookup (and cache_lookup_raw) to
make it somewhat simpler, to exclude certain nonexistent error
conditions, and (most importantly) to make it not require write access
to cnp->cn_flags.

This change requires a kernel bump.

Revision 1.66.2.2 / (download) - annotate - [select for diffs], Tue Oct 30 17:22:59 2012 UTC (10 years, 7 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.66.2.1: +7 -7 lines
Diff to previous 1.66.2.1 (colored) to branchpoint 1.66 (colored)

sync with head

Revision 1.67.2.1 / (download) - annotate - [select for diffs], Sun Aug 12 12:59:48 2012 UTC (10 years, 9 months ago) by martin
Branch: netbsd-6
CVS Tags: netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus
Changes since 1.67: +7 -7 lines
Diff to previous 1.67 (colored) next main 1.68 (colored)

Pull up following revision(s) (requested by manu in ticket #484):
	sys/fs/nilfs/nilfs_vnops.c: revision 1.18
	sys/ufs/ufs/ufs_lookup.c: revision 1.117
	sys/nfs/nfs_vnops.c: revision 1.295
	sys/ufs/chfs/chfs_vnops.c: revision 1.8
	sys/ufs/ext2fs/ext2fs_lookup.c: revision 1.70
	sys/fs/unionfs/unionfs_vnops.c: revision 1.6
	sys/kern/vfs_cache.c: revision 1.89
	sys/fs/efs/efs_vnops.c: revision 1.26
	sys/fs/hfs/hfs_vnops.c: revision 1.26
	sys/fs/adosfs/adlookup.c: revision 1.16
	sys/fs/puffs/puffs_vnops.c: revision 1.168
	sys/fs/tmpfs/tmpfs_vnops.c: revision 1.98
	sys/fs/ntfs/ntfs_vnops.c: revision 1.52
	sys/fs/cd9660/cd9660_lookup.c: revision 1.20
	sys/fs/msdosfs/msdosfs_lookup.c: revision 1.24
	sys/fs/smbfs/smbfs_vnops.c: revision 1.80
	sys/fs/udf/udf_vnops.c: revision 1.72
	sys/fs/filecorefs/filecore_lookup.c: revision 1.14
	sys/fs/puffs/puffs_node.c: revision 1.25
Move some the test for MAKEENTRY into the cache_enter(9).  Make some
variables in vfs_cache.c static, __read_mostly, etc.
No objection on tech-kern@.

Revision 1.70 / (download) - annotate - [select for diffs], Sun Jul 22 00:53:22 2012 UTC (10 years, 10 months ago) by rmind
Branch: MAIN
CVS Tags: yamt-pagecache-base6
Branch point for: tls-maxphys
Changes since 1.69: +7 -7 lines
Diff to previous 1.69 (colored)

Move some the test for MAKEENTRY into the cache_enter(9).  Make some
variables in vfs_cache.c static, __read_mostly, etc.

No objection on tech-kern@.

Revision 1.66.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:08:55 2012 UTC (11 years, 1 month ago) by yamt
Branch: yamt-pagecache
Changes since 1.66: +38 -26 lines
Diff to previous 1.66 (colored)

sync with head

Revision 1.66.6.2 / (download) - annotate - [select for diffs], Thu Apr 5 21:33:51 2012 UTC (11 years, 2 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.66.6.1: +33 -21 lines
Diff to previous 1.66.6.1 (colored) to branchpoint 1.66 (colored) next main 1.67 (colored)

sync to latest -current.

Revision 1.69 / (download) - annotate - [select for diffs], Fri Mar 16 08:39:54 2012 UTC (11 years, 2 months ago) by hannken
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base10
Changes since 1.68: +22 -16 lines
Diff to previous 1.68 (colored)

Fix last commit that broke lookup for dot with op DELETE.

Reviewed by: David Holland <dholland@netbsd.org>

Revision 1.68 / (download) - annotate - [select for diffs], Tue Mar 13 18:41:03 2012 UTC (11 years, 2 months ago) by elad
Branch: MAIN
Changes since 1.67: +24 -18 lines
Diff to previous 1.67 (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.66.6.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:35:53 2012 UTC (11 years, 3 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.66: +7 -7 lines
Diff to previous 1.66 (colored)

merge to -current.

Revision 1.67 / (download) - annotate - [select for diffs], Fri Jan 27 19:22:48 2012 UTC (11 years, 4 months ago) by para
Branch: MAIN
CVS Tags: netbsd-6-base, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2
Branch point for: netbsd-6
Changes since 1.66: +7 -7 lines
Diff to previous 1.66 (colored)

converting readdir in ffs ext2fs from malloc(9) to kmem(9)
while there allocate ufs mount structs from kmem(9) too
preceding kmem-vmem-pool-patch

releng@ acknowledged

Revision 1.66 / (download) - annotate - [select for diffs], Tue Jul 12 16:59:48 2011 UTC (11 years, 10 months ago) by dholland
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache, jmcneill-usbmp
Changes since 1.65: +9 -20 lines
Diff to previous 1.65 (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.65 / (download) - annotate - [select for diffs], Tue Jul 12 02:22:13 2011 UTC (11 years, 10 months ago) by dholland
Branch: MAIN
Changes since 1.64: +89 -64 lines
Diff to previous 1.64 (colored)

Currently, ufs_lookup produces five auxiliary results that are left in
the vnode when lookup returns and fished out again later.

1. Create struct ufs_lookup_results to hold these.

2. Call the ufs_lookup_results instance in struct inode "i_crap" to be
clear about exactly what's going on, and to distinguish the lookup
results from respectable members of struct inode.

3. Update references to these members in the directory access
subroutines.

4. Include preliminary infrastructure for checking that the i_crap
being used is still valid when it's used. This doesn't actually do
anything yet.

5. Update the way ufs_wapbl_rename manipulates these elements to use
the new data structures. I have not changed the manipulation; it may
or may not be correct but I continue to suspect that it is not.

The word of the day is "stigmergy".

Revision 1.64 / (download) - annotate - [select for diffs], Mon Jul 11 08:27:39 2011 UTC (11 years, 11 months ago) by hannken
Branch: MAIN
Changes since 1.63: +6 -6 lines
Diff to previous 1.63 (colored)

Change VOP_BWRITE() to take a vnode as its first argument like all other
VOPs do.  Layered file systems no longer have to modify bp->b_vp and run
into trouble when an async VOP_BWRITE() uses the wrong vnode.

- change all occurences of VOP_BWRITE(bp) to VOP_BWRITE(bp->b_vp, bp).
- remove layer_bwrite().
- welcome to 5.99.55

Adresses PR kern/38762 panic: vwakeup: neg numoutput

No objections from tech-kern@.

Revision 1.61.4.2 / (download) - annotate - [select for diffs], Sat Mar 5 20:56:27 2011 UTC (12 years, 3 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.61.4.1: +2 -10 lines
Diff to previous 1.61.4.1 (colored) to branchpoint 1.61 (colored) next main 1.62 (colored)

sync with head

Revision 1.63 / (download) - annotate - [select for diffs], Tue Nov 30 10:43:06 2010 UTC (12 years, 6 months ago) by dholland
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase, rmind-uvmplock-base, matt-mips64-premerge-20101231, jruoho-x86intr-base, jruoho-x86intr, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Changes since 1.62: +2 -10 lines
Diff to previous 1.62 (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.61.2.1 / (download) - annotate - [select for diffs], Tue Aug 17 06:48:10 2010 UTC (12 years, 9 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.61: +5 -5 lines
Diff to previous 1.61 (colored) next main 1.62 (colored)

Sync with HEAD.

Revision 1.55.16.4 / (download) - annotate - [select for diffs], Wed Aug 11 22:55:12 2010 UTC (12 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.55.16.3: +5 -5 lines
Diff to previous 1.55.16.3 (colored) to branchpoint 1.55 (colored) next main 1.56 (colored)

sync with head.

Revision 1.61.4.1 / (download) - annotate - [select for diffs], Sat Jul 3 01:20:04 2010 UTC (12 years, 11 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.61: +5 -5 lines
Diff to previous 1.61 (colored)

sync with head

Revision 1.62 / (download) - annotate - [select for diffs], Thu Jun 24 13:03:18 2010 UTC (12 years, 11 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.61: +5 -5 lines
Diff to previous 1.61 (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.55.16.3 / (download) - annotate - [select for diffs], Thu Mar 11 15:04:44 2010 UTC (13 years, 3 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.55.16.2: +4 -4 lines
Diff to previous 1.55.16.2 (colored) to branchpoint 1.55 (colored)

sync with head

Revision 1.61 / (download) - annotate - [select for diffs], Fri Jan 8 11:35:11 2010 UTC (13 years, 5 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, uebayasi-xip-base1, uebayasi-xip-base
Branch point for: uebayasi-xip, rmind-uvmplock
Changes since 1.60: +4 -4 lines
Diff to previous 1.60 (colored)

The VATTR_NULL/VREF/VHOLD/HOLDRELE() macros lost their will to live
years ago when the kernel was modified to not alter ABI based on
DIAGNOSTIC, and now just call the respective function interfaces
(in lowercase).  Plenty of mix'n match upper/lowercase has creeped
into the tree since then.  Nuke the macros and convert all callsites
to lowercase.

no functional change

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

sync with head

Revision 1.60 / (download) - annotate - [select for diffs], Sat Sep 12 11:35:46 2009 UTC (13 years, 8 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, matt-premerge-20091211, jym-xensuspend-nbase
Changes since 1.59: +3 -3 lines
Diff to previous 1.59 (colored)

Whitespace nits.

Revision 1.59 / (download) - annotate - [select for diffs], Sat Sep 12 11:27:39 2009 UTC (13 years, 8 months ago) by tsutsui
Branch: MAIN
Changes since 1.58: +3 -3 lines
Diff to previous 1.58 (colored)

Migrate from u_intNN_t to uintNN_t.

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

sync with head.

Revision 1.55.24.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:20:31 2009 UTC (14 years, 4 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.55: +7 -7 lines
Diff to previous 1.55 (colored) next main 1.56 (colored)

Sync with HEAD.

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

Sync with HEAD.

Revision 1.58 / (download) - annotate - [select for diffs], Wed Dec 17 20:51:38 2008 UTC (14 years, 5 months ago) by cegger
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
Changes since 1.57: +4 -4 lines
Diff to previous 1.57 (colored)

kill MALLOC and FREE macros.

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

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

Revision 1.55.26.1 / (download) - annotate - [select for diffs], Sat Nov 29 23:10:18 2008 UTC (14 years, 6 months ago) by snj
Branch: netbsd-5
CVS Tags: netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, 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-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, 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, 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
Changes since 1.55: +4 -4 lines
Diff to previous 1.55 (colored) next main 1.56 (colored)

Pull up following revision(s) (requested by mrg in ticket #147):
	sys/ufs/ext2fs/ext2fs_alloc.c: revision 1.37
	sys/ufs/ext2fs/ext2fs_bswap.c: revision 1.14
	sys/ufs/ext2fs/ext2fs_dinode.h: revision 1.17
	sys/ufs/ext2fs/ext2fs_lookup.c: revision 1.56
	sys/ufs/ext2fs/ext2fs_vnops.c: revision 1.83
	sys/ufs/ext2fs/ext2fs_vfsops.c: revision 1.140
	sys/ufs/ufs/inode.h: revision 1.55
add support for 32 bit uid/gid fields in ext2, but only do so for
when the revision is > REV0.

Revision 1.57 / (download) - annotate - [select for diffs], Mon Nov 24 17:11:43 2008 UTC (14 years, 6 months ago) by tsutsui
Branch: MAIN
CVS Tags: haad-nbase2, haad-dm-base2, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Changes since 1.56: +3 -3 lines
Diff to previous 1.56 (colored)

Remove an extra semicolon.

Revision 1.56 / (download) - annotate - [select for diffs], Sun Nov 23 10:09:25 2008 UTC (14 years, 6 months ago) by mrg
Branch: MAIN
Changes since 1.55: +4 -4 lines
Diff to previous 1.55 (colored)

add support for 32 bit uid/gid fields in ext2, but only do so for
when the revision is > REV0.

Revision 1.34.2.7 / (download) - annotate - [select for diffs], Mon Jan 21 09:48:05 2008 UTC (15 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.34.2.6: +3 -3 lines
Diff to previous 1.34.2.6 (colored) next main 1.35 (colored)

sync with head

Revision 1.51.6.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:58:23 2008 UTC (15 years, 5 months ago) by matt
Branch: matt-armv6
Changes since 1.51.6.1: +7 -7 lines
Diff to previous 1.51.6.1 (colored) to branchpoint 1.51 (colored) next main 1.52 (colored)

sync with HEAD

Revision 1.53.4.2 / (download) - annotate - [select for diffs], Thu Dec 27 00:46:47 2007 UTC (15 years, 5 months ago) by mjf
Branch: mjf-devfs
Changes since 1.53.4.1: +3 -3 lines
Diff to previous 1.53.4.1 (colored) to branchpoint 1.53 (colored) next main 1.54 (colored)

Sync with HEAD.

Revision 1.54.2.1 / (download) - annotate - [select for diffs], Wed Dec 26 19:58:01 2007 UTC (15 years, 5 months ago) by ad
Branch: vmlocking2
Changes since 1.54: +3 -3 lines
Diff to previous 1.54 (colored) next main 1.55 (colored)

Sync with head.

Revision 1.51.4.4 / (download) - annotate - [select for diffs], Sun Dec 9 19:38:50 2007 UTC (15 years, 6 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.51.4.3: +3 -3 lines
Diff to previous 1.51.4.3 (colored) to branchpoint 1.51 (colored) next main 1.52 (colored)

Sync with HEAD.

Revision 1.55 / (download) - annotate - [select for diffs], Sat Dec 8 19:29:53 2007 UTC (15 years, 6 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-nfs-mp-base2, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, vmlocking2-base3, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, nick-net80211-sync-base, nick-net80211-sync, netbsd-5-base, mjf-devfs-base, matt-mips64-base2, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jmcneill-pm-base, hpcarm-cleanup-nbase, hpcarm-cleanup-base, haad-dm-base1, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, ad-socklock-base1
Branch point for: yamt-nfs-mp, nick-hppapmap, netbsd-5, mjf-devfs2, haad-dm
Changes since 1.54: +3 -3 lines
Diff to previous 1.54 (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.53.4.1 / (download) - annotate - [select for diffs], Sat Dec 8 18:21:37 2007 UTC (15 years, 6 months ago) by mjf
Branch: mjf-devfs
Changes since 1.53: +6 -6 lines
Diff to previous 1.53 (colored)

Sync with HEAD.

Revision 1.34.2.6 / (download) - annotate - [select for diffs], Fri Dec 7 17:35:18 2007 UTC (15 years, 6 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.34.2.5: +6 -6 lines
Diff to previous 1.34.2.5 (colored)

sync with head

Revision 1.51.4.3 / (download) - annotate - [select for diffs], Tue Nov 27 19:39:19 2007 UTC (15 years, 6 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.51.4.2: +6 -6 lines
Diff to previous 1.51.4.2 (colored) to branchpoint 1.51 (colored)

Sync with HEAD. amd64 Xen support needs testing.

Revision 1.54 / (download) - annotate - [select for diffs], Mon Nov 26 19:02:27 2007 UTC (15 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.53: +6 -6 lines
Diff to previous 1.53 (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.51.6.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:35:07 2007 UTC (15 years, 7 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.51: +16 -12 lines
Diff to previous 1.51 (colored)

sync with HEAD

Revision 1.34.2.5 / (download) - annotate - [select for diffs], Sat Oct 27 11:36:39 2007 UTC (15 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.34.2.4: +16 -12 lines
Diff to previous 1.34.2.4 (colored)

sync with head.

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

sync with head.

Revision 1.50.2.3 / (download) - annotate - [select for diffs], Tue Oct 9 13:45:14 2007 UTC (15 years, 8 months ago) by ad
Branch: vmlocking
Changes since 1.50.2.2: +11 -7 lines
Diff to previous 1.50.2.2 (colored) to branchpoint 1.50 (colored) next main 1.51 (colored)

Sync with head.

Revision 1.53 / (download) - annotate - [select for diffs], Mon Oct 8 18:01:27 2007 UTC (15 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.52: +7 -7 lines
Diff to previous 1.52 (colored)

Merge ffs locking & brelse changes from the vmlocking branch.

Revision 1.51.8.1 / (download) - annotate - [select for diffs], Sat Oct 6 15:43:45 2007 UTC (15 years, 8 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.51: +11 -7 lines
Diff to previous 1.51 (colored)

sync with head.

Revision 1.51.4.1 / (download) - annotate - [select for diffs], Tue Oct 2 18:29:32 2007 UTC (15 years, 8 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.51: +11 -7 lines
Diff to previous 1.51 (colored)

Sync with HEAD.

Revision 1.52 / (download) - annotate - [select for diffs], Mon Sep 24 00:42:15 2007 UTC (15 years, 8 months ago) by rumble
Branch: MAIN
CVS Tags: yamt-x86pmap-base2
Changes since 1.51: +11 -7 lines
Diff to previous 1.51 (colored)

Avoid stack allocation of large dirent structures in foo_readdir().

Revision 1.34.2.4 / (download) - annotate - [select for diffs], Mon Sep 3 14:46:46 2007 UTC (15 years, 9 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.34.2.3: +10 -9 lines
Diff to previous 1.34.2.3 (colored)

sync with head.

Revision 1.50.10.1 / (download) - annotate - [select for diffs], Wed Aug 15 13:51:07 2007 UTC (15 years, 9 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.50: +3 -2 lines
Diff to previous 1.50 (colored) next main 1.51 (colored)

Sync with HEAD.

Revision 1.51.10.2 / (download) - annotate - [select for diffs], Sat Jul 21 19:06:23 2007 UTC (15 years, 10 months ago) by ad
Branch: matt-mips64
Changes since 1.51.10.1: +1069 -0 lines
Diff to previous 1.51.10.1 (colored) to branchpoint 1.51 (colored) next main 1.52 (colored)

Don't depend on uvm_extern.h pulling in proc.h.

Revision 1.51.10.1, Sat Jul 21 19:06:22 2007 UTC (15 years, 10 months ago) by ad
Branch: matt-mips64
Changes since 1.51: +0 -1069 lines
FILE REMOVED

file ext2fs_lookup.c was added on branch matt-mips64 on 2007-07-21 19:06:23 +0000

Revision 1.51 / (download) - annotate - [select for diffs], Sat Jul 21 19:06:22 2007 UTC (15 years, 10 months ago) by ad
Branch: MAIN
CVS Tags: yamt-x86pmap-base, nick-csl-alignment-base5, matt-mips64-base, hpcarm-cleanup
Branch point for: yamt-x86pmap, matt-mips64, matt-armv6, jmcneill-pm
Changes since 1.50: +3 -2 lines
Diff to previous 1.50 (colored)

Don't depend on uvm_extern.h pulling in proc.h.

Revision 1.50.2.2 / (download) - annotate - [select for diffs], Sun May 13 17:36:41 2007 UTC (16 years ago) by ad
Branch: vmlocking
Changes since 1.50.2.1: +6 -6 lines
Diff to previous 1.50.2.1 (colored) to branchpoint 1.50 (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.50.2.1 / (download) - annotate - [select for diffs], Thu Apr 5 21:57:52 2007 UTC (16 years, 2 months ago) by ad
Branch: vmlocking
Changes since 1.50: +3 -2 lines
Diff to previous 1.50 (colored)

Compile fixes.

Revision 1.49.2.1 / (download) - annotate - [select for diffs], Mon Mar 12 06:00:56 2007 UTC (16 years, 3 months ago) by rmind
Branch: yamt-idlelwp
Changes since 1.49: +9 -9 lines
Diff to previous 1.49 (colored) next main 1.50 (colored)

Sync with HEAD.

Revision 1.50 / (download) - annotate - [select for diffs], Sun Mar 4 06:03:43 2007 UTC (16 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, nick-csl-alignment-base, mjf-ufs-trans-base, mjf-ufs-trans
Branch point for: vmlocking, nick-csl-alignment
Changes since 1.49: +9 -9 lines
Diff to previous 1.49 (colored)

Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.

Revision 1.34.2.3 / (download) - annotate - [select for diffs], Mon Feb 26 09:12:17 2007 UTC (16 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.34.2.2: +4 -4 lines
Diff to previous 1.34.2.2 (colored)

sync with head.

Revision 1.46.2.1 / (download) - annotate - [select for diffs], Sat Feb 17 23:27:52 2007 UTC (16 years, 3 months ago) by tron
Branch: netbsd-4
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, 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, matt-nb4-arm-base, matt-nb4-arm
Changes since 1.46: +6 -37 lines
Diff to previous 1.46 (colored) next main 1.47 (colored)

Apply patch (requested by chs in ticket #422):
- Fix various deadlock problems with nullfs and unionfs.
- Speed up path lookups by upto 25%.

Revision 1.49 / (download) - annotate - [select for diffs], Fri Feb 9 21:55:37 2007 UTC (16 years, 4 months ago) by ad
Branch: MAIN
CVS Tags: post-newlock2-merge, ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp
Changes since 1.48: +3 -3 lines
Diff to previous 1.48 (colored)

Merge newlock2 to head.

Revision 1.44.8.3 / (download) - annotate - [select for diffs], Tue Jan 30 13:51:43 2007 UTC (16 years, 4 months ago) by ad
Branch: newlock2
Changes since 1.44.8.2: +3 -3 lines
Diff to previous 1.44.8.2 (colored) to branchpoint 1.44 (colored) next main 1.45 (colored)

Remove support for SA. Ok core@.

Revision 1.44.8.2 / (download) - annotate - [select for diffs], Fri Jan 12 01:04:24 2007 UTC (16 years, 4 months ago) by ad
Branch: newlock2
Changes since 1.44.8.1: +7 -38 lines
Diff to previous 1.44.8.1 (colored) to branchpoint 1.44 (colored)

Sync with head.

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

Consistent usage of KAUTH_GENERIC_ISSUSER.

Revision 1.34.2.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:51:00 2006 UTC (16 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.34.2.1: +7 -38 lines
Diff to previous 1.34.2.1 (colored)

sync with head.

Revision 1.44.10.2 / (download) - annotate - [select for diffs], Sun Dec 10 07:19:32 2006 UTC (16 years, 6 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.44.10.1: +8 -39 lines
Diff to previous 1.44.10.1 (colored) to branchpoint 1.44 (colored) next main 1.45 (colored)

sync with head.

Revision 1.47 / (download) - annotate - [select for diffs], Sat Dec 9 16:11:52 2006 UTC (16 years, 6 months ago) by chs
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3
Changes since 1.46: +6 -37 lines
Diff to previous 1.46 (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.44.8.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:39:47 2006 UTC (16 years, 6 months ago) by ad
Branch: newlock2
Changes since 1.44: +3 -3 lines
Diff to previous 1.44 (colored)

Sync with head.

Revision 1.46 / (download) - annotate - [select for diffs], Thu Nov 16 01:33:51 2006 UTC (16 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: netbsd-4-base
Branch point for: netbsd-4
Changes since 1.45: +4 -4 lines
Diff to previous 1.45 (colored)

__unused removal on arguments; approved by core.

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

sync with head

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

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

Revision 1.39.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 03:00:00 2006 UTC (16 years, 9 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.39: +14 -19 lines
Diff to previous 1.39 (colored) next main 1.40 (colored)

sync with head

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

sync with head.

Revision 1.39.6.2 / (download) - annotate - [select for diffs], Thu Jun 1 22:39:27 2006 UTC (17 years ago) by kardel
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.39.6.1: +10 -9 lines
Diff to previous 1.39.6.1 (colored) to branchpoint 1.39 (colored) next main 1.40 (colored)

Sync with head.

Revision 1.40.6.2 / (download) - annotate - [select for diffs], Wed May 24 15:50:47 2006 UTC (17 years ago) by tron
Branch: peter-altq
Changes since 1.40.6.1: +11 -9 lines
Diff to previous 1.40.6.1 (colored) to branchpoint 1.40 (colored) next main 1.41 (colored)

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

Revision 1.40.2.2 / (download) - annotate - [select for diffs], Wed May 24 10:59:25 2006 UTC (17 years ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.40.2.1: +11 -9 lines
Diff to previous 1.40.2.1 (colored) to branchpoint 1.40 (colored) next main 1.41 (colored)

sync with head.

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

integrate kauth.

Revision 1.40.4.3 / (download) - annotate - [select for diffs], Sat May 6 23:32:33 2006 UTC (17 years, 1 month ago) by christos
Branch: elad-kernelauth
Changes since 1.40.4.2: +3 -2 lines
Diff to previous 1.40.4.2 (colored) to branchpoint 1.40 (colored) next main 1.41 (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.39.6.1 / (download) - annotate - [select for diffs], Sat Apr 22 11:40:22 2006 UTC (17 years, 1 month ago) by simonb
Branch: simonb-timecounters
Changes since 1.39: +6 -12 lines
Diff to previous 1.39 (colored)

Sync with head.

Revision 1.40.4.2 / (download) - annotate - [select for diffs], Wed Apr 19 03:54:09 2006 UTC (17 years, 1 month ago) by elad
Branch: elad-kernelauth
Changes since 1.40.4.1: +4 -9 lines
Diff to previous 1.40.4.1 (colored) to branchpoint 1.40 (colored)

sync with head.

Revision 1.43 / (download) - annotate - [select for diffs], Sat Apr 15 05:31:18 2006 UTC (17 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: elad-kernelauth-base
Changes since 1.42: +3 -2 lines
Diff to previous 1.42 (colored)

Coverity CID 1169: Add KASSERT before deref.

Revision 1.40.2.1 / (download) - annotate - [select for diffs], Sat Apr 1 12:07:51 2006 UTC (17 years, 2 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.40: +3 -9 lines
Diff to previous 1.40 (colored)

sync with head.

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

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

Revision 1.42 / (download) - annotate - [select for diffs], Sat Mar 18 13:49:19 2006 UTC (17 years, 2 months ago) by bouyer
Branch: MAIN
CVS Tags: yamt-pdpolicy-base4, yamt-pdpolicy-base3
Changes since 1.41: +2 -8 lines
Diff to previous 1.41 (colored)

Remove dead code, fixing coverity ID 745. nameiop can only be CREATE
or DELETE here. This code got cut-n-pasted from ufs_loolup.c, but
is only used in whiteout support. ext2fs doesn't support whiteout.

Revision 1.41 / (download) - annotate - [select for diffs], Fri Mar 17 23:29:11 2006 UTC (17 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.40: +3 -3 lines
Diff to previous 1.40 (colored)

don't use MALLOC with a non-constant size; use malloc instead.

Revision 1.40.4.1 / (download) - annotate - [select for diffs], Wed Mar 8 01:39:11 2006 UTC (17 years, 3 months ago) by elad
Branch: elad-kernelauth
Changes since 1.40: +9 -9 lines
Diff to previous 1.40 (colored)

Adapt to kernel authorization KPI.

Revision 1.40 / (download) - annotate - [select for diffs], Wed Mar 1 12:38:33 2006 UTC (17 years, 3 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-pdpolicy-base2, yamt-pdpolicy-base, peter-altq-base
Branch point for: yamt-pdpolicy, peter-altq, elad-kernelauth
Changes since 1.39: +4 -5 lines
Diff to previous 1.39 (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.39.2.1 / (download) - annotate - [select for diffs], Sun Jan 15 10:24:52 2006 UTC (17 years, 4 months ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.39: +4 -5 lines
Diff to previous 1.39 (colored) next main 1.40 (colored)

convert the rest of ufs.

Revision 1.39 / (download) - annotate - [select for diffs], Sun Dec 11 12:25:25 2005 UTC (17 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5
Branch point for: yamt-uio_vmspace, simonb-timecounters, rpaulo-netinet-merge-pcb
Changes since 1.38: +8 -8 lines
Diff to previous 1.38 (colored)

merge ktrace-lwp.

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

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

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

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

Revision 1.27.2.10 / (download) - annotate - [select for diffs], Thu Nov 10 14:12:31 2005 UTC (17 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.27.2.9: +40 -53 lines
Diff to previous 1.27.2.9 (colored) next main 1.28 (colored)

Sync with HEAD. Here we go again...

Revision 1.38 / (download) - annotate - [select for diffs], Wed Nov 2 12:39:00 2005 UTC (17 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.37: +9 -9 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 (17 years, 7 months ago) by yamt
Branch: yamt-vop
Changes since 1.37: +9 -9 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 (17 years, 9 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: +18 -34 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], Tue Aug 23 08:05:13 2005 UTC (17 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.35: +12 -11 lines
Diff to previous 1.35 (colored)

Don't overload MAXNAMLEN, use a separate constant for each filesystem type.

Revision 1.35 / (download) - annotate - [select for diffs], Fri Aug 19 02:04:08 2005 UTC (17 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.34: +3 -3 lines
Diff to previous 1.34 (colored)

64 bit inode changes.

Revision 1.34 / (download) - annotate - [select for diffs], Tue Jun 28 16:53:14 2005 UTC (17 years, 11 months ago) by kml
Branch: MAIN
Branch point for: yamt-lazymbuf
Changes since 1.33: +4 -2 lines
Diff to previous 1.33 (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.33 / (download) - annotate - [select for diffs], Sun May 29 21:25:24 2005 UTC (18 years ago) by christos
Branch: MAIN
Changes since 1.32: +3 -3 lines
Diff to previous 1.32 (colored)

- sprinkle const
- avoid shadow variables.

Revision 1.30.4.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:29:38 2005 UTC (18 years, 1 month ago) by kent
Branch: kent-audio2
Changes since 1.30: +27 -19 lines
Diff to previous 1.30 (colored) next main 1.31 (colored)

sync with -current

Revision 1.30.6.2 / (download) - annotate - [select for diffs], Sat Mar 19 08:37:03 2005 UTC (18 years, 2 months ago) by yamt
Branch: yamt-km
Changes since 1.30.6.1: +10 -10 lines
Diff to previous 1.30.6.1 (colored) to branchpoint 1.30 (colored) next main 1.31 (colored)

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

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

Sync with HEAD.

Hi Perry!

Revision 1.32 / (download) - annotate - [select for diffs], Sat Feb 26 22:32:20 2005 UTC (18 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.31: +10 -10 lines
Diff to previous 1.31 (colored)

nuke trailing whitespace

Revision 1.27.2.8 / (download) - annotate - [select for diffs], Tue Feb 15 21:33:41 2005 UTC (18 years, 3 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.27.2.7: +19 -11 lines
Diff to previous 1.27.2.7 (colored)

Sync with HEAD.

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

sync with head.

Revision 1.31 / (download) - annotate - [select for diffs], Wed Feb 9 23:02:10 2005 UTC (18 years, 4 months ago) by ws
Branch: MAIN
CVS Tags: yamt-km-base2
Changes since 1.30: +19 -11 lines
Diff to previous 1.30 (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.27.2.7 / (download) - annotate - [select for diffs], Fri Oct 29 06:55:20 2004 UTC (18 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.27.2.6: +3 -4 lines
Diff to previous 1.27.2.6 (colored)

Remove the struct lwp * argument from ext2f2_checkpath that is no longer
(read: was never) required.

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

Fix the sync with head I botched.

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

Sync with HEAD.

Revision 1.30 / (download) - annotate - [select for diffs], Fri Sep 17 14:11:27 2004 UTC (18 years, 8 months ago) by skrll
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.29: +5 -5 lines
Diff to previous 1.29 (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.27.2.4 / (download) - annotate - [select for diffs], Wed Aug 25 06:59:14 2004 UTC (18 years, 9 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.27.2.3: +72 -49 lines
Diff to previous 1.27.2.3 (colored)

Sync with HEAD.

Revision 1.27.2.3 / (download) - annotate - [select for diffs], Tue Aug 24 17:57:42 2004 UTC (18 years, 9 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.27.2.2: +7 -9 lines
Diff to previous 1.27.2.2 (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.29 / (download) - annotate - [select for diffs], Sun Aug 15 07:19:56 2004 UTC (18 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.28: +72 -49 lines
Diff to previous 1.28 (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.27.2.2 / (download) - annotate - [select for diffs], Tue Aug 3 10:56:49 2004 UTC (18 years, 10 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.27.2.1: +3 -7 lines
Diff to previous 1.27.2.1 (colored)

Sync with HEAD

Revision 1.28 / (download) - annotate - [select for diffs], Thu Aug 7 16:34:26 2003 UTC (19 years, 10 months ago) by agc
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.27: +3 -7 lines
Diff to previous 1.27 (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.27.2.1 / (download) - annotate - [select for diffs], Wed Jul 2 15:27:20 2003 UTC (19 years, 11 months ago) by darrenr
Branch: ktrace-lwp
Changes since 1.27: +19 -16 lines
Diff to previous 1.27 (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.27 / (download) - annotate - [select for diffs], Sun Jun 29 22:32:32 2003 UTC (19 years, 11 months ago) by fvdl
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.26: +10 -10 lines
Diff to previous 1.26 (colored)

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

Revision 1.26 / (download) - annotate - [select for diffs], Sun Jun 29 18:43:39 2003 UTC (19 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.25: +8 -11 lines
Diff to previous 1.25 (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.25 / (download) - annotate - [select for diffs], Sat Jun 28 14:22:24 2003 UTC (19 years, 11 months ago) by darrenr
Branch: MAIN
Changes since 1.24: +19 -16 lines
Diff to previous 1.24 (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.24 / (download) - annotate - [select for diffs], Wed Apr 2 10:39:35 2003 UTC (20 years, 2 months ago) by fvdl
Branch: MAIN
Changes since 1.23: +4 -4 lines
Diff to previous 1.23 (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.16.2.5 / (download) - annotate - [select for diffs], Wed Dec 11 06:51:41 2002 UTC (20 years, 6 months ago) by thorpej
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.16.2.4: +12 -11 lines
Diff to previous 1.16.2.4 (colored) to branchpoint 1.16 (colored) next main 1.17 (colored)

Sync with HEAD.

Revision 1.23 / (download) - annotate - [select for diffs], Tue Nov 26 01:23:30 2002 UTC (20 years, 6 months ago) by yamt
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.22: +11 -10 lines
Diff to previous 1.22 (colored)

eliminate i_ino from in-core inode
and use local variable instead.

ok'ed by Frank van der Linden.

Revision 1.22 / (download) - annotate - [select for diffs], Mon Nov 25 01:54:01 2002 UTC (20 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.21: +5 -5 lines
Diff to previous 1.21 (colored)

Avoid strict-alias warnings.

Revision 1.16.2.4 / (download) - annotate - [select for diffs], Fri Oct 18 02:45:46 2002 UTC (20 years, 7 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.16.2.3: +1 -1 lines
Diff to previous 1.16.2.3 (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:49 2002 UTC (20 years, 8 months ago) by jdolecek
Branch: kqueue
Changes since 1.16.6.3: +3 -3 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.21 / (download) - annotate - [select for diffs], Fri Sep 27 15:38:02 2002 UTC (20 years, 8 months ago) by provos
Branch: MAIN
CVS Tags: kqueue-beforemerge, kqueue-base, kqueue-aftermerge
Changes since 1.20: +3 -3 lines
Diff to previous 1.20 (colored)

remove trailing \n in panic().  approved perry.

Revision 1.16.6.3 / (download) - annotate - [select for diffs], Fri Sep 6 08:50:09 2002 UTC (20 years, 9 months ago) by jdolecek
Branch: kqueue
Changes since 1.16.6.2: +3 -3 lines
Diff to previous 1.16.6.2 (colored) to branchpoint 1.16 (colored)

sync kqueue branch with HEAD

Revision 1.18.8.2 / (download) - annotate - [select for diffs], Thu Aug 29 00:57:02 2002 UTC (20 years, 9 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.18.8.1: +3 -3 lines
Diff to previous 1.18.8.1 (colored) to branchpoint 1.18 (colored) next main 1.19 (colored)

catch up with -current.

Revision 1.16.2.3 / (download) - annotate - [select for diffs], Thu Aug 1 02:47:01 2002 UTC (20 years, 10 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.16.2.2: +3 -3 lines
Diff to previous 1.16.2.2 (colored) to branchpoint 1.16 (colored)

Catch up to -current.

Revision 1.20 / (download) - annotate - [select for diffs], Fri Jul 26 14:11:36 2002 UTC (20 years, 10 months ago) by wiz
Branch: MAIN
CVS Tags: gehenna-devsw-base
Changes since 1.19: +3 -3 lines
Diff to previous 1.19 (colored)

Spell '[Rr]ight' correctly. From Jim Bernard.

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

catch up with -current on kqueue branch

Revision 1.18.8.1 / (download) - annotate - [select for diffs], Thu Jun 20 15:53:05 2002 UTC (20 years, 11 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.18: +4 -2 lines
Diff to previous 1.18 (colored)

catch up with -current.

Revision 1.16.2.2 / (download) - annotate - [select for diffs], Thu Jun 20 03:50:22 2002 UTC (20 years, 11 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.16.2.1: +4 -2 lines
Diff to previous 1.16.2.1 (colored) to branchpoint 1.16 (colored)

Catch up to -current.

Revision 1.18.10.1 / (download) - annotate - [select for diffs], Thu May 30 21:15:46 2002 UTC (21 years ago) by tv
Branch: netbsd-1-6
CVS Tags: 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
Changes since 1.18: +3 -1 lines
Diff to previous 1.18 (colored) next main 1.19 (colored)

Pull up revision 1.19 (requested by thorpej in ticket #93):
indicates so).

Revision 1.19 / (download) - annotate - [select for diffs], Thu May 30 18:54:55 2002 UTC (21 years ago) by thorpej
Branch: MAIN
Changes since 1.18: +4 -2 lines
Diff to previous 1.18 (colored)

#if 0 a test that is always false (and the XXX comment above it
indicates so).

Revision 1.16.6.1 / (download) - annotate - [select for diffs], Thu Jan 10 20:04:57 2002 UTC (21 years, 5 months ago) by thorpej
Branch: kqueue
Changes since 1.16: +4 -2 lines
Diff to previous 1.16 (colored)

Sync kqueue branch with -current.

Revision 1.16.2.1 / (download) - annotate - [select for diffs], Wed Nov 14 19:18:53 2001 UTC (21 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.16: +4 -2 lines
Diff to previous 1.16 (colored)

Catch up to -current.

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

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

Revision 1.18 / (download) - annotate - [select for diffs], Thu Nov 8 02:39:07 2001 UTC (21 years, 7 months ago) by lukem
Branch: MAIN
CVS Tags: thorpej-mips-cache-base, newlock-base, newlock, netbsd-1-6-base, ifpoll-base, eeh-devprop-base, eeh-devprop
Branch point for: netbsd-1-6, gehenna-devsw
Changes since 1.17: +4 -1 lines
Diff to previous 1.17 (colored)

add RCSID

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

Update thorpej_scsipi to -current as of a month ago

Revision 1.16 / (download) - annotate - [select for diffs], Thu Aug 3 20:29:26 2000 UTC (22 years, 10 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base, thorpej-devvp-base3, thorpej-devvp-base2, thorpej-devvp-base, thorpej-devvp, pre-chs-ubcperf, post-chs-ubcperf, perseant-lfsv2-base, perseant-lfsv2
Branch point for: thorpej-mips-cache, nathanw_sa, kqueue
Changes since 1.15: +3 -4 lines
Diff to previous 1.15 (colored)

MALLOC()/FREE() are not to be used for variable sized allocations.

Revision 1.15 / (download) - annotate - [select for diffs], Thu Mar 30 12:41:11 2000 UTC (23 years, 2 months ago) by augustss
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.14: +10 -10 lines
Diff to previous 1.14 (colored)

Remove register declarations.

Revision 1.9.4.1 / (download) - annotate - [select for diffs], Tue Feb 1 23:38:39 2000 UTC (23 years, 4 months ago) by he
Branch: netbsd-1-4
CVS Tags: netbsd-1-4-PATCH003, netbsd-1-4-PATCH002
Changes since 1.9: +13 -11 lines
Diff to previous 1.9 (colored) next main 1.10 (colored)

Apply patch (requested by bouyer):
  Add support for ext2fs revision 1, with read-only support for
  the 'sparse_super' and 'filetype' options.  Should fix PR#9088.

Revision 1.14 / (download) - annotate - [select for diffs], Fri Jan 28 16:00:23 2000 UTC (23 years, 4 months ago) by bouyer
Branch: MAIN
CVS Tags: chs-ubc2-newbase
Changes since 1.13: +3 -3 lines
Diff to previous 1.13 (colored)

Correct (minor) bogons in filetype option support, and add support
for sparse_super option

Revision 1.13 / (download) - annotate - [select for diffs], Wed Jan 26 16:21:33 2000 UTC (23 years, 4 months ago) by bouyer
Branch: MAIN
Changes since 1.12: +26 -14 lines
Diff to previous 1.12 (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.12 / (download) - annotate - [select for diffs], Sun Sep 5 14:26:34 1999 UTC (23 years, 9 months ago) by jdolecek
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, fvdl-softdep-base, fvdl-softdep, comdex-fall-1999-base, comdex-fall-1999
Branch point for: thorpej_scsipi
Changes since 1.11: +3 -54 lines
Diff to previous 1.11 (colored)

Adapt to cache_lookup() changes.

Tested by: jdolecek
Rewieved by: wrstuden

Revision 1.11 / (download) - annotate - [select for diffs], Wed Aug 4 18:40:47 1999 UTC (23 years, 10 months ago) by wrstuden
Branch: MAIN
Changes since 1.10: +7 -6 lines
Diff to previous 1.10 (colored)

Pull in changes which parallel rev 1.22 -> 1.25 of ufs_lookup().

Revision 1.10 / (download) - annotate - [select for diffs], Mon Aug 2 22:58:29 1999 UTC (23 years, 10 months ago) by wrstuden
Branch: MAIN
Changes since 1.9: +29 -9 lines
Diff to previous 1.9 (colored)

Add PDIRUNLOCK support.

Revision 1.9 / (download) - annotate - [select for diffs], Wed Dec 2 10:44:52 1998 UTC (24 years, 6 months ago) by bouyer
Branch: MAIN
CVS Tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH001, kenh-if-detach-base, kenh-if-detach, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame, chs-ubc2-base, chs-ubc2
Branch point for: netbsd-1-4
Changes since 1.8: +30 -21 lines
Diff to previous 1.8 (colored)

- intentation
- sync LK_* flags with ffs/ufs

Revision 1.8 / (download) - annotate - [select for diffs], Sun Sep 13 15:14:40 1998 UTC (24 years, 9 months ago) by christos
Branch: MAIN
CVS Tags: chs-ubc-base, chs-ubc
Changes since 1.7: +7 -7 lines
Diff to previous 1.7 (colored)

Fix copyright '\t' -> ' '

Revision 1.7 / (download) - annotate - [select for diffs], Sun Aug 9 20:15:38 1998 UTC (24 years, 10 months ago) by perry
Branch: MAIN
Changes since 1.6: +7 -7 lines
Diff to previous 1.6 (colored)

bzero->memset, bcopy->memcpy, bcmp->memcmp

Revision 1.6 / (download) - annotate - [select for diffs], Tue Jul 28 20:39:10 1998 UTC (24 years, 10 months ago) by mjacob
Branch: MAIN
CVS Tags: eeh-paddr_t-base, eeh-paddr_t
Changes since 1.5: +6 -4 lines
Diff to previous 1.5 (colored)

fix to accomodate change in vn_rdwr prototype

Revision 1.5 / (download) - annotate - [select for diffs], Sun Mar 1 02:23:46 1998 UTC (25 years, 3 months ago) by fvdl
Branch: MAIN
Changes since 1.4: +44 -29 lines
Diff to previous 1.4 (colored)

Merge with Lite2 + local changes

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

Update marc-pcmcia branch from trunk.

Revision 1.4 / (download) - annotate - [select for diffs], Fri Oct 10 10:00:12 1997 UTC (25 years, 8 months ago) by bouyer
Branch: MAIN
CVS Tags: netbsd-1-3-base, netbsd-1-3-RELEASE, netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA, netbsd-1-3, marc-pcmcia-base
Changes since 1.3: +3 -3 lines
Diff to previous 1.3 (colored)

Update for 64 bits directory cookies.

Revision 1.3 / (download) - annotate - [select for diffs], Thu Oct 9 15:42:51 1997 UTC (25 years, 8 months ago) by bouyer
Branch: MAIN
Changes since 1.2: +55 -47 lines
Diff to previous 1.2 (colored)

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

Revision 1.1.4.1 / (download) - annotate - [select for diffs], Sat Aug 23 07:14:34 1997 UTC (25 years, 9 months ago) by thorpej
Branch: marc-pcmcia
Changes since 1.1: +10 -13 lines
Diff to previous 1.1 (colored)

Update marc-pcmcia branch from trunk.

Revision 1.2 / (download) - annotate - [select for diffs], Mon Aug 4 09:11:00 1997 UTC (25 years, 10 months ago) by bouyer
Branch: MAIN
CVS Tags: thorpej-signal-base, thorpej-signal
Changes since 1.1: +10 -13 lines
Diff to previous 1.1 (colored)

Fix bad cut&paste from ufs code: we can't align uio_resid to a directory
block size boundary, because size of the returned dir entry may be bigger than
the one read.

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

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

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>