The NetBSD Project

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

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.139 / (download) - annotate - [select for diffs], Mon Jan 29 18:27:09 2024 UTC (2 months, 2 weeks ago) by christos
Branch: MAIN
CVS Tags: HEAD
Changes since 1.138: +2 -21 lines
Diff to previous 1.138 (colored)

PR/57889: Ricardo Branco: ext2fs does not have user immutable and append
file flags, only system ones. Restrict those to the superuser. Before
the behavior was controlled by EXT2FS_SYSTEM_FLAGS. Make that behavior the
default.

Revision 1.138 / (download) - annotate - [select for diffs], Sat Aug 26 05:22:50 2023 UTC (7 months, 3 weeks ago) by riastradh
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation
Changes since 1.137: +3 -3 lines
Diff to previous 1.137 (colored)

ext2fs: Nix trailing whitespace.

Revision 1.137 / (download) - annotate - [select for diffs], Sun Mar 27 16:24:58 2022 UTC (2 years ago) by christos
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Changes since 1.136: +11 -8 lines
Diff to previous 1.136 (colored)

add a kauth vnode check for creating links

Revision 1.136 / (download) - annotate - [select for diffs], Wed Oct 20 03:08:19 2021 UTC (2 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.135: +5 -14 lines
Diff to previous 1.135 (colored)

Overhaul of the EVFILT_VNODE kevent(2) filter:

- Centralize vnode kevent handling in the VOP_*() wrappers, rather than
  forcing each individual file system to deal with it (except VOP_RENAME(),
  because VOP_RENAME() is a mess and we currently have 2 different ways
  of handling it; at least it's reasonably well-centralized in the "new"
  way).
- Add support for NOTE_OPEN, NOTE_CLOSE, NOTE_CLOSE_WRITE, and NOTE_READ,
  compatible with the same events in FreeBSD.
- Track which kevent notifications clients are interested in receiving
  to avoid doing work for events no one cares about (avoiding, e.g.
  taking locks and traversing the klist to send a NOTE_WRITE when
  someone is merely watching for a file to be deleted, for example).

In support of the above:

- Add support in vnode_if.sh for specifying PRE- and POST-op handlers,
  to be invoked before and after vop_pre() and vop_post(), respectively.
  Basic idea from FreeBSD, but implemented differently.
- Add support in vnode_if.sh for specifying CONTEXT fields in the
  vop_*_args structures.  These context fields are used to convey information
  between the file system VOP function and the VOP wrapper, but do not
  occupy an argument slot in the VOP_*() call itself.  These context fields
  are initialized and subsequently interpreted by PRE- and POST-op handlers.
- Version VOP_REMOVE(), uses the a context field for the file system to report
  back the resulting link count of the target vnode.  Return this in tmpfs,
  udf, nfs, chfs, ext2fs, lfs, and ufs.

NetBSD 9.99.92.

Revision 1.132.6.1 / (download) - annotate - [select for diffs], Sun Aug 1 22:42:44 2021 UTC (2 years, 8 months ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.132: +23 -72 lines
Diff to previous 1.132 (colored) next main 1.133 (colored)

Sync with HEAD.

Revision 1.135 / (download) - annotate - [select for diffs], Sun Jul 18 23:57:15 2021 UTC (2 years, 9 months ago) by dholland
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base, thorpej-cfargs2
Changes since 1.134: +20 -20 lines
Diff to previous 1.134 (colored)

Abolish all the silly indirection macros for initializing vnode ops tables.

These are things of the form #define foofs_op genfs_op, or #define
foofs_op genfs_eopnotsupp, or similar. They serve no purpose besides
obfuscation, and have gotten cutpasted all over everywhere.

Revision 1.134 / (download) - annotate - [select for diffs], Sun Jul 18 23:56:14 2021 UTC (2 years, 9 months ago) by dholland
Branch: MAIN
Changes since 1.133: +4 -56 lines
Diff to previous 1.133 (colored)

Use macros for the canned parts of device and fifo vnode op tables.

Add GENFS_SPECOP_ENTRIES and GENFS_FIFOOP_ENTRIES macros that contain
the portion of the vnode ops table declaration that is
(conservatively) the same in every fs. Use these in every fs that
supports devices and/or fifos with separate ops tables.

Note that ptyfs works differently (it has one type of vnode with
open-coded dispatch to the specfs code, which I haven't changed in
this commit) and rump/librump/rumpvfs/rumpfs.c has an indirect dynamic
dispatch that already does more or less the same thing, which I also
haven't changed.

Also note that this anticipates a few bits in the next changeset here
and there, and adds missing but unreachable calls in some cases (e.g.
most fses weren't defining whiteout on devices and fifos, but it isn't
reachable there), and it changes parsepath on devices and fifos to
genfs_badop from genfs_parsepath (but it's not reachable there
either).

It appears that devices in kernfs were missing kqfilter, so it's
possible that if you try to use kqueue on /kern/rootdev that it'll
explode.

And finally note that the ops declaration tables aren't
order-dependent. (Other than vop_default_desc has to come first.)
Otherwise this wouldn't work.

Revision 1.133 / (download) - annotate - [select for diffs], Tue Jun 29 22:34:09 2021 UTC (2 years, 9 months ago) by dholland
Branch: MAIN
Changes since 1.132: +5 -2 lines
Diff to previous 1.132 (colored)

- Add a new vnode op: VOP_PARSEPATH.
 - Move namei_getcomponent to genfs_vnops.c and call it genfs_parsepath.
 - Add a parsepath entry to every vnode ops table.

VOP_PARSEPATH takes a directory vnode to be searched and a complete
following path and chooses how much of that path to consume. To begin
with, all parsepath calls are genfs_parsepath, which locates the first
'/' as always.

Note that the call doesn't take the whole struct componentname, only
the string. The other bits of struct componentname should not be
needed and there's no reason to cause potential complications by
exposing them.

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

Add ACL support for FFS. From FreeBSD.

Revision 1.128.10.3 / (download) - annotate - [select for diffs], Mon Apr 13 08:05:21 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.128.10.2: +1 -0 lines
Diff to previous 1.128.10.2 (colored) to branchpoint 1.128 (colored) next main 1.129 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.128.10.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:09:03 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.128.10.1: +3 -3 lines
Diff to previous 1.128.10.1 (colored) to branchpoint 1.128 (colored)

Merge changes from current as of 20200406

Revision 1.131 / (download) - annotate - [select for diffs], Sun Mar 8 17:38:12 2020 UTC (4 years, 1 month ago) by kamil
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.130: +3 -3 lines
Diff to previous 1.130 (colored)

Perform bit operations on unsigned integer

ext2fs_vnops.c:1002:2, signed integer overflow: 510008 * 4294 cannot be represented in type 'int

Maximum usec * 4294 is in the range of unsigned int.

>>> 1000000*4294
4294000000
>>> 2**32
4294967296

Patch submitted by Nisarg S. Joshi.

Revision 1.130 / (download) - annotate - [select for diffs], Wed Sep 18 17:59:15 2019 UTC (4 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: phil-wifi-20191119, is-mlppp-base, is-mlppp, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Changes since 1.129: +3 -2 lines
Diff to previous 1.129 (colored)

Add newly created vnodes to the namei cache. The rest of the filesystems
already did that (or they don't support writing). Discussed in tech-kern.

Revision 1.128.10.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:09:57 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.128: +3 -3 lines
Diff to previous 1.128 (colored)

Sync with HEAD

Revision 1.128.8.1 / (download) - annotate - [select for diffs], Fri Jan 18 08:50:59 2019 UTC (5 years, 3 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.128: +3 -3 lines
Diff to previous 1.128 (colored) next main 1.129 (colored)

Synch with HEAD

Revision 1.129 / (download) - annotate - [select for diffs], Tue Jan 1 10:06:55 2019 UTC (5 years, 3 months ago) by hannken
Branch: MAIN
CVS Tags: phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, 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, isaki-audio2-base, isaki-audio2
Changes since 1.128: +3 -3 lines
Diff to previous 1.128 (colored)

Add "void *extra" argument to vcache_new() so a file system may
pass more information about the file to create.

Welcome to 8.99.30

Revision 1.104.2.4 / (download) - annotate - [select for diffs], Sun Dec 3 11:39:21 2017 UTC (6 years, 4 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.104.2.3: +156 -183 lines
Diff to previous 1.104.2.3 (colored) to branchpoint 1.104 (colored) next main 1.105 (colored)

update from HEAD

Revision 1.115.2.4 / (download) - annotate - [select for diffs], Mon Aug 28 17:53:16 2017 UTC (6 years, 7 months ago) by skrll
Branch: nick-nhusb
Changes since 1.115.2.3: +25 -88 lines
Diff to previous 1.115.2.3 (colored) to branchpoint 1.115 (colored) next main 1.116 (colored)

Sync with HEAD

Revision 1.128 / (download) - annotate - [select for diffs], Sun May 28 16:38:55 2017 UTC (6 years, 10 months ago) by hannken
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, phil-wifi-base, pgoyette-compat-base, 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, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, 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
Branch point for: phil-wifi, pgoyette-compat
Changes since 1.127: +19 -78 lines
Diff to previous 1.127 (colored)

Change ext2fs to use vcache_new like we did for ffs:
- Change ext2fs_valloc to return an inode number.
- Make ext2fs_makeinode private to ext2fs_vnops.c and
  pass vattr instead of mode.

Revision 1.127 / (download) - annotate - [select for diffs], Fri May 26 14:21:02 2017 UTC (6 years, 10 months ago) by riastradh
Branch: MAIN
Changes since 1.126: +5 -3 lines
Diff to previous 1.126 (colored)

Make VOP_RECLAIM do the last unlock of the vnode.

VOP_RECLAIM naturally has exclusive access to the vnode, so having it
locked on entry is not strictly necessary -- but it means if there
are any final operations that must be done on the vnode, such as
ffs_update, requiring exclusive access to it, we can now kassert that
the vnode is locked in those operations.

We can't just have the caller release the last lock because some file
systems don't use genfs_lock, and require the vnode to remain valid
for VOP_UNLOCK to work, notably unionfs.

Revision 1.126 / (download) - annotate - [select for diffs], Wed Apr 26 03:02:49 2017 UTC (6 years, 11 months ago) by riastradh
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2
Changes since 1.125: +5 -11 lines
Diff to previous 1.125 (colored)

Change VOP_REMOVE and VOP_RMDIR to preserve lock/ref on dvp.

No change to vp -- the plan is to replace the node by the
componentname in the vop parameters, and let all directory vops do
lookups internally.

Proposed on tech-kern with no objections:
https://mail-index.netbsd.org/tech-kern/2017/04/17/msg021825.html

Revision 1.115.2.3 / (download) - annotate - [select for diffs], Wed Oct 5 20:56:11 2016 UTC (7 years, 6 months ago) by skrll
Branch: nick-nhusb
Changes since 1.115.2.2: +149 -110 lines
Diff to previous 1.115.2.2 (colored) to branchpoint 1.115 (colored)

Sync with HEAD

Revision 1.125 / (download) - annotate - [select for diffs], Mon Aug 15 18:38:10 2016 UTC (7 years, 8 months ago) by jdolecek
Branch: MAIN
CVS Tags: pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Changes since 1.124: +30 -14 lines
Diff to previous 1.124 (colored)

bump link limit to 65000 for files, and add support for EXT2F_ROCOMPAT_DIR_NLINK to make link count unlimited for directories

Revision 1.124 / (download) - annotate - [select for diffs], Mon Aug 15 18:29:34 2016 UTC (7 years, 8 months ago) by jdolecek
Branch: MAIN
Changes since 1.123: +38 -36 lines
Diff to previous 1.123 (colored)

adjust ext2fs_makeinode() so that the direnter is optional, use the function (with the direnter off) in ext2fs_mkdir() instead of the code copy; adjust ext2fs_makeinode() to initialize extra_isize and set creation time, if supported by the filesystem

Revision 1.123 / (download) - annotate - [select for diffs], Sun Aug 14 11:44:54 2016 UTC (7 years, 8 months ago) by jdolecek
Branch: MAIN
Changes since 1.122: +5 -7 lines
Diff to previous 1.122 (colored)

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

Revision 1.122 / (download) - annotate - [select for diffs], Sat Aug 13 07:40:10 2016 UTC (7 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.121: +48 -48 lines
Diff to previous 1.121 (colored)

KNF, no functional changes...

Revision 1.121 / (download) - annotate - [select for diffs], Fri Aug 12 19:04:03 2016 UTC (7 years, 8 months ago) by jdolecek
Branch: MAIN
Changes since 1.120: +15 -2 lines
Diff to previous 1.120 (colored)

add support for extended attributes in ext2fs for ext3/ext4; read-only for now

Revision 1.117.2.1 / (download) - annotate - [select for diffs], Sat Aug 6 00:19:11 2016 UTC (7 years, 8 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.117: +24 -14 lines
Diff to previous 1.117 (colored) next main 1.118 (colored)

Sync with HEAD

Revision 1.120 / (download) - annotate - [select for diffs], Fri Aug 5 20:15:41 2016 UTC (7 years, 8 months ago) by jdolecek
Branch: MAIN
CVS Tags: pgoyette-localcount-20160806
Changes since 1.119: +11 -6 lines
Diff to previous 1.119 (colored)

PR kern/7867 add support for UF_NODUMP flag to ext2fs

Revision 1.119 / (download) - annotate - [select for diffs], Wed Aug 3 23:29:05 2016 UTC (7 years, 8 months ago) by jdolecek
Branch: MAIN
Changes since 1.118: +14 -9 lines
Diff to previous 1.118 (colored)

get and set expanded timestamp if the inode contains the extra information, add support for create time

Revision 1.118 / (download) - annotate - [select for diffs], Wed Aug 3 21:53:03 2016 UTC (7 years, 8 months ago) by jdolecek
Branch: MAIN
Changes since 1.117: +3 -3 lines
Diff to previous 1.117 (colored)

support arbitrary ext3/ext4 inode size, add all the new ext4 fields ext2fs_dinode, and add support for loading the extra inode data

Revision 1.115.2.2 / (download) - annotate - [select for diffs], Sat Jun 6 14:40:30 2015 UTC (8 years, 10 months ago) by skrll
Branch: nick-nhusb
Changes since 1.115.2.1: +3 -4 lines
Diff to previous 1.115.2.1 (colored) to branchpoint 1.115 (colored)

Sync with HEAD

Revision 1.117 / (download) - annotate - [select for diffs], Mon Apr 20 23:03:09 2015 UTC (9 years ago) by riastradh
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20160726, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, jaromird-ext3
Branch point for: pgoyette-localcount
Changes since 1.116: +3 -4 lines
Diff to previous 1.116 (colored)

Make VOP_LINK return directory still locked and referenced.

Ride 7.99.10 bump.

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

Sync with HEAD

Revision 1.116 / (download) - annotate - [select for diffs], Fri Mar 27 17:27:56 2015 UTC (9 years ago) by riastradh
Branch: MAIN
CVS Tags: nick-nhusb-base-20150406
Changes since 1.115: +8 -9 lines
Diff to previous 1.115 (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.113.2.1 / (download) - annotate - [select for diffs], Sat Jan 17 12:10:55 2015 UTC (9 years, 3 months ago) by martin
Branch: netbsd-7
CVS Tags: netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, 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
Changes since 1.113: +2 -3 lines
Diff to previous 1.113 (colored) next main 1.114 (colored)

Pull up following revision(s) (requested by maxv in ticket #427):
	sys/compat/svr4/svr4_schedctl.c: revision 1.8
	sys/netinet/tcp_timer.c: revision 1.88
	sys/miscfs/genfs/layer_vfsops.c: revision 1.45
	sys/compat/svr4/svr4_ioctl.c: revision 1.37
	sys/ufs/chfs/chfs_vfsops.c: revision 1.14
	sys/miscfs/fdesc/fdesc_vfsops.c: revision 1.91
	sys/compat/linux/arch/i386/linux_ptrace.c: revision 1.30
	sys/compat/common/kern_time_50.c: revision 1.28
	sys/netinet6/ip6_forward.c: revision 1.74
	sys/miscfs/umapfs/umap_vnops.c: revision 1.57
	sys/compat/svr4/svr4_fcntl.c: revision 1.74
	distrib/sets/lists/comp/mi: revision 1.1931
	sys/netinet6/udp6_output.c: revision 1.46
	sys/fs/puffs/puffs_compat.c: revision 1.3
	sys/fs/udf/udf_rename.c: revision 1.11
	sys/compat/svr4/svr4_filio.c: revision 1.24
	sys/fs/udf/udf_rename.c: revision 1.12
	sys/netinet/tcp_usrreq.c: revision 1.202
	sys/miscfs/umapfs/umap_subr.c: revision 1.29
	sys/compat/linux/common/linux_fadvise64.c: revision 1.3
	sys/netinet/if_atm.c: revision 1.34
	sys/miscfs/procfs/procfs_subr.c: revision 1.106
	sys/miscfs/genfs/layer_subr.c: revision 1.37
	sys/netinet/tcp_sack.c: revision 1.30
	sys/compat/freebsd/freebsd_misc.c: revision 1.33
	sys/compat/freebsd/freebsd_file.c: revision 1.33
	sys/ufs/chfs/chfs_vnode.c: revision 1.12
	sys/compat/svr4/svr4_ttold.c: revision 1.34
	sys/compat/linux/common/linux_file.c: revision 1.114
	sys/compat/linux/arch/mips/linux_machdep.c: revision 1.43
	sys/compat/linux/common/linux_signal.c: revision 1.76
	sys/compat/common/compat_util.c: revision 1.46
	sys/compat/linux/arch/arm/linux_ptrace.c: revision 1.18
	sys/compat/svr4/svr4_sockio.c: revision 1.36
	sys/compat/linux/arch/arm/linux_machdep.c: revision 1.32
	sys/compat/svr4/svr4_signal.c: revision 1.66
	sys/kern/kern_exec.c: revision 1.410
	sys/fs/puffs/puffs_vfsops.c: revision 1.115
	sys/compat/svr4/svr4_exec_elf64.c: revision 1.15
	sys/compat/linux/arch/i386/linux_machdep.c: revision 1.159
	sys/compat/linux/arch/alpha/linux_machdep.c: revision 1.50
	sys/compat/linux32/common/linux32_misc.c: revision 1.24
	sys/netinet/in_pcb.c: revision 1.153
	sys/sys/malloc.h: revision 1.116
	sys/compat/common/if_43.c: revision 1.9
	share/man/man9/Makefile: revision 1.380
	sys/netinet/tcp_vtw.c: revision 1.12
	sys/miscfs/umapfs/umap_vfsops.c: revision 1.95
	sys/ufs/ext2fs/ext2fs_vfsops.c: revision 1.186
	sys/compat/common/uipc_syscalls_43.c: revision 1.46
	sys/ufs/ext2fs/ext2fs_vnops.c: revision 1.115
	sys/fs/puffs/puffs_msgif.c: revision 1.97
	sys/compat/svr4/svr4_ipc.c: revision 1.27
	sys/compat/linux/common/linux_exec.c: revision 1.117
	sys/ufs/ext2fs/ext2fs_readwrite.c: revision 1.66
	sys/netinet/tcp_output.c: revision 1.179
	sys/compat/svr4/svr4_termios.c: revision 1.28
	sys/fs/udf/udf_strat_bootstrap.c: revision 1.4
	sys/fs/puffs/puffs_subr.c: revision 1.67
	sys/fs/puffs/puffs_node.c: revision 1.36
	sys/miscfs/overlay/overlay_vnops.c: revision 1.21
	sys/fs/cd9660/cd9660_node.c: revision 1.34
	sys/netinet/raw_ip.c: revision 1.146
	sys/sys/mallocvar.h: revision 1.13
	sys/miscfs/overlay/overlay_vfsops.c: revision 1.63
	share/man/man9/malloc.9: revision 1.50
	sys/netinet6/dest6.c: revision 1.18
	sys/compat/linux/common/linux_uselib.c: revision 1.33
	sys/compat/linux/common/linux_socket.c: revision 1.120
	share/man/man9/malloc.9: revision 1.51
	sys/netinet/tcp_subr.c: revision 1.257
	sys/compat/linux/common/linux_socketcall.c: revision 1.45
	sys/compat/linux/common/linux_fadvise64_64.c: revision 1.3
	sys/compat/freebsd/freebsd_ipc.c: revision 1.17
	sys/compat/linux/common/linux_misc_notalpha.c: revision 1.109
	sys/compat/linux/arch/alpha/linux_pipe.c: revision 1.17
	sys/netinet6/in6_pcb.c: revision 1.132
	sys/netinet6/in6_ifattach.c: revision 1.94
	sys/compat/svr4/svr4_exec_elf32.c: revision 1.15
	sys/miscfs/nullfs/null_vfsops.c: revision 1.90
	sys/fs/cd9660/cd9660_util.c: revision 1.12
	sys/compat/linux/arch/powerpc/linux_machdep.c: revision 1.48
	sys/compat/freebsd/freebsd_exec_elf32.c: revision 1.20
	sys/miscfs/procfs/procfs_vfsops.c: revision 1.94
	sys/compat/linux/arch/powerpc/linux_ptrace.c: revision 1.28
	sys/compat/linux/common/linux_sched.c: revision 1.67
	sys/compat/linux/common/linux_exec_aout.c: revision 1.67
	sys/compat/linux/common/linux_pipe.c: revision 1.67
	sys/compat/linux/common/linux_llseek.c: revision 1.34
	sys/compat/linux/arch/mips/linux_ptrace.c: revision 1.10
Do not uselessly include <sys/malloc.h>.
Cleanup:
 - remove struct kmembuckets (dead)
 - correctly deadify MALLOC_XX
 - remove MALLOC_DEFINE_LIMIT and MALLOC_JUSTDEFINE_LIMIT (dead)
 - remove malloc_roundup(), malloc_type_setlimit(), MALLOC_DEFINE_LIMIT()
   and MALLOC_JUSTDEFINE_LIMIT() from man 9 malloc
New sentence, new line. Bump date for previous.
Obsolete malloc_roundup(9), malloc_type_setlimit(9) and MALLOC_DEFINE_LIMIT(9)
man pages.

Revision 1.115 / (download) - annotate - [select for diffs], Sun Nov 9 18:23:28 2014 UTC (9 years, 5 months ago) by maxv
Branch: MAIN
CVS Tags: nick-nhusb-base
Branch point for: nick-nhusb
Changes since 1.114: +2 -3 lines
Diff to previous 1.114 (colored)

Do not uselessly include <sys/malloc.h>.

Revision 1.114 / (download) - annotate - [select for diffs], Sat Oct 18 08:33:29 2014 UTC (9 years, 6 months ago) by snj
Branch: MAIN
Changes since 1.113: +3 -3 lines
Diff to previous 1.113 (colored)

src is too big these days to tolerate superfluous apostrophes.  It's
"its", people!

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

Rebase to HEAD as of a few days ago.

Revision 1.111.2.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:56:58 2014 UTC (9 years, 8 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.111: +10 -5 lines
Diff to previous 1.111 (colored) next main 1.112 (colored)

Rebase.

Revision 1.113 / (download) - annotate - [select for diffs], Fri Jul 25 08:20:53 2014 UTC (9 years, 8 months ago) by dholland
Branch: MAIN
CVS Tags: tls-maxphys-base, tls-earlyentropy-base, netbsd-7-base
Branch point for: netbsd-7
Changes since 1.112: +8 -2 lines
Diff to previous 1.112 (colored)

Add VOP_FALLOCATE and VOP_FDISCARD to every vnode ops table I can
find.

The filesystem ones all call genfs_eopnotsupp - right now I am only
implementing the plumbing and we can implement fallocate and/or
fdiscard for files later.

The device ones call spec_fallocate (which is also genfs_eopnotsupp)
and spec_fdiscard, which dispatches to the device-level op.

The fifo ones all call vn_fifo_bypass, which also ends up being
EOPNOTSUPP.

Revision 1.112 / (download) - annotate - [select for diffs], Sun May 25 13:47:22 2014 UTC (9 years, 10 months ago) by hannken
Branch: MAIN
Changes since 1.111: +4 -5 lines
Diff to previous 1.111 (colored)

ext2fs_mknod: use vcache_get() to reload the new node.

Revision 1.100.2.5 / (download) - annotate - [select for diffs], Thu May 22 11:41:18 2014 UTC (9 years, 11 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.100.2.4: +14 -14 lines
Diff to previous 1.100.2.4 (colored) to branchpoint 1.100 (colored) next main 1.101 (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.107.6.1 / (download) - annotate - [select for diffs], Sun May 18 17:46:21 2014 UTC (9 years, 11 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.107: +13 -13 lines
Diff to previous 1.107 (colored) next main 1.108 (colored)

sync with head

Revision 1.111 / (download) - annotate - [select for diffs], Mon Mar 24 13:42:40 2014 UTC (10 years ago) by hannken
Branch: MAIN
CVS Tags: yamt-pagecache-base9, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15
Branch point for: tls-earlyentropy
Changes since 1.110: +3 -3 lines
Diff to previous 1.110 (colored)

- Make VI_XLOCK, VI_CLEAN and VI_LOCKSHARE private to kern/vfs_*.c.
- Make vwait() static.
- Add  vdead_check() to check a vnode for being or becoming dead.

Discussed on tech-kern.

Welcome to 6.99.38

Revision 1.110 / (download) - annotate - [select for diffs], Thu Jan 23 10:13:57 2014 UTC (10 years, 2 months ago) by hannken
Branch: MAIN
CVS Tags: riastradh-drm2-base3
Changes since 1.109: +11 -7 lines
Diff to previous 1.109 (colored)

Change vnode operations create, mknod, mkdir and symlink to return
the resulting vnode *vpp unlocked.

Discussed on tech-kern@

Welcome to 6.99.30

Revision 1.109 / (download) - annotate - [select for diffs], Tue Jan 21 07:53:38 2014 UTC (10 years, 2 months ago) by hannken
Branch: MAIN
Changes since 1.108: +3 -3 lines
Diff to previous 1.108 (colored)

Move VOP_UNLOCK() after setting type to VNON like all other UFS file systems.

Revision 1.108 / (download) - annotate - [select for diffs], Fri Jan 17 10:55:03 2014 UTC (10 years, 3 months ago) by hannken
Branch: MAIN
Changes since 1.107: +6 -10 lines
Diff to previous 1.107 (colored)

Change vnode operations create, mknod, mkdir and symlink to keep the
directory node dvp locked on return.

Discussed on tech-kern@

Welcome to 6.99.29

Revision 1.104.2.2 / (download) - annotate - [select for diffs], Sun Jun 23 06:18:39 2013 UTC (10 years, 9 months ago) by tls
Branch: tls-maxphys
Changes since 1.104.2.1: +3 -3 lines
Diff to previous 1.104.2.1 (colored) to branchpoint 1.104 (colored)

resync from head

Revision 1.107 / (download) - annotate - [select for diffs], Mon Mar 18 19:35:47 2013 UTC (11 years, 1 month ago) by plunky
Branch: MAIN
CVS Tags: 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.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.104.2.1 / (download) - annotate - [select for diffs], Mon Feb 25 00:30:14 2013 UTC (11 years, 1 month ago) by tls
Branch: tls-maxphys
Changes since 1.104: +5 -5 lines
Diff to previous 1.104 (colored)

resync with head

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

sync with head

Revision 1.106 / (download) - annotate - [select for diffs], Tue Jan 22 09:39:15 2013 UTC (11 years, 2 months ago) by dholland
Branch: MAIN
CVS Tags: yamt-pagecache-base8
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.100.2.3 / (download) - annotate - [select for diffs], Wed Jan 16 05:33:55 2013 UTC (11 years, 3 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.100.2.2: +4 -4 lines
Diff to previous 1.100.2.2 (colored) to branchpoint 1.100 (colored)

sync with (a bit old) head

Revision 1.105 / (download) - annotate - [select for diffs], Wed Nov 21 23:11:23 2012 UTC (11 years, 4 months 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.101.4.2 / (download) - annotate - [select for diffs], Sat Jun 2 11:09:40 2012 UTC (11 years, 10 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.101.4.1: +1 -421 lines
Diff to previous 1.101.4.1 (colored) to branchpoint 1.101 (colored) next main 1.102 (colored)

sync to latest -current.

Revision 1.100.2.2 / (download) - annotate - [select for diffs], Wed May 23 10:08:18 2012 UTC (11 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.100.2.1: +3 -423 lines
Diff to previous 1.100.2.1 (colored) to branchpoint 1.100 (colored)

sync with head.

Revision 1.104 / (download) - annotate - [select for diffs], Wed May 9 00:21:18 2012 UTC (11 years, 11 months 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.101.6.1 / (download) - annotate - [select for diffs], Mon May 7 03:01:12 2012 UTC (11 years, 11 months ago) by riz
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.101: +3 -3 lines
Diff to previous 1.101 (colored) next main 1.102 (colored)

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

Revision 1.103 / (download) - annotate - [select for diffs], Sun Apr 29 22:54:00 2012 UTC (11 years, 11 months 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.100.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:08:55 2012 UTC (12 years ago) by yamt
Branch: yamt-pagecache
Changes since 1.100: +76 -40 lines
Diff to previous 1.100 (colored)

sync with head

Revision 1.101.4.1 / (download) - annotate - [select for diffs], Thu Apr 5 21:33:51 2012 UTC (12 years ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.101: +70 -39 lines
Diff to previous 1.101 (colored)

sync to latest -current.

Revision 1.102 / (download) - annotate - [select for diffs], Tue Mar 13 18:41:04 2012 UTC (12 years, 1 month 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 (12 years, 5 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 (12 years, 9 months 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.97.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:10:15 2011 UTC (12 years, 10 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.97: +13 -21 lines
Diff to previous 1.97 (colored) next main 1.98 (colored)

Sync with HEAD.

Revision 1.91.4.4 / (download) - annotate - [select for diffs], Tue May 31 03:05:12 2011 UTC (12 years, 10 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.91.4.3: +11 -19 lines
Diff to previous 1.91.4.3 (colored) to branchpoint 1.91 (colored) next main 1.92 (colored)

sync with head

Revision 1.99 / (download) - annotate - [select for diffs], Tue Apr 26 11:32:40 2011 UTC (12 years, 11 months 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 (12 years, 11 months 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.91.4.3 / (download) - annotate - [select for diffs], Sat Mar 5 20:56:27 2011 UTC (13 years, 1 month ago) by rmind
Branch: rmind-uvmplock
Changes since 1.91.4.2: +14 -31 lines
Diff to previous 1.91.4.2 (colored) to branchpoint 1.91 (colored)

sync with head

Revision 1.97 / (download) - annotate - [select for diffs], Sun Jan 2 05:09:32 2011 UTC (13 years, 3 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 (13 years, 4 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 (13 years, 4 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.91.2.2 / (download) - annotate - [select for diffs], Tue Aug 17 06:48:10 2010 UTC (13 years, 8 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.91.2.1: +15 -8 lines
Diff to previous 1.91.2.1 (colored) to branchpoint 1.91 (colored) next main 1.92 (colored)

Sync with HEAD.

Revision 1.81.10.7 / (download) - annotate - [select for diffs], Wed Aug 11 22:55:12 2010 UTC (13 years, 8 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.81.10.6: +41 -34 lines
Diff to previous 1.81.10.6 (colored) to branchpoint 1.81 (colored) next main 1.82 (colored)

sync with head.

Revision 1.94 / (download) - annotate - [select for diffs], Wed Jul 28 11:03:48 2010 UTC (13 years, 8 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.91.4.2 / (download) - annotate - [select for diffs], Sat Jul 3 01:20:04 2010 UTC (13 years, 9 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.91.4.1: +10 -10 lines
Diff to previous 1.91.4.1 (colored) to branchpoint 1.91 (colored)

sync with head

Revision 1.93 / (download) - annotate - [select for diffs], Thu Jun 24 13:03:18 2010 UTC (13 years, 9 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.91.4.1 / (download) - annotate - [select for diffs], Sun May 30 05:18:08 2010 UTC (13 years, 10 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.91: +26 -26 lines
Diff to previous 1.91 (colored)

sync with head

Revision 1.91.2.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:44:34 2010 UTC (13 years, 11 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.91: +26 -26 lines
Diff to previous 1.91 (colored)

Sync with HEAD.

Revision 1.82.10.1.4.1 / (download) - annotate - [select for diffs], Wed Apr 21 00:28:25 2010 UTC (14 years ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-k15
Changes since 1.82.10.1: +5 -3 lines
Diff to previous 1.82.10.1 (colored) next main 1.82.10.2 (colored)

sync to netbsd-5

Revision 1.92 / (download) - annotate - [select for diffs], Mon Mar 29 13:11:33 2010 UTC (14 years 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.81.10.6 / (download) - annotate - [select for diffs], Thu Mar 11 15:04:44 2010 UTC (14 years, 1 month ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.81.10.5: +5 -8 lines
Diff to previous 1.81.10.5 (colored) to branchpoint 1.81 (colored)

sync with head

Revision 1.82.10.2 / (download) - annotate - [select for diffs], Tue Oct 27 21:41:07 2009 UTC (14 years, 5 months ago) by bouyer
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, matt-nb5-pq3-base, matt-nb5-pq3
Changes since 1.82.10.1: +5 -3 lines
Diff to previous 1.82.10.1 (colored) to branchpoint 1.82 (colored) next main 1.83 (colored)

Pull up following revision(s) (requested by pooka in ticket #1112):
	sys/ufs/ext2fs/ext2fs_vnops.c: revision 1.91
	sys/ufs/ext2fs/ext2fs_vfsops.c: revision 1.152
	sys/ufs/ext2fs/ext2fs_extern.h: revision 1.42
update i_uid and i_gid after chown

Revision 1.91 / (download) - annotate - [select for diffs], Wed Oct 21 17:37:21 2009 UTC (14 years, 6 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 (14 years, 6 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.81.10.5 / (download) - annotate - [select for diffs], Wed Sep 16 13:38:07 2009 UTC (14 years, 7 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.81.10.4: +12 -12 lines
Diff to previous 1.81.10.4 (colored) to branchpoint 1.81 (colored)

sync with head

Revision 1.89 / (download) - annotate - [select for diffs], Sat Sep 12 11:35:46 2009 UTC (14 years, 7 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.83.4.2 / (download) - annotate - [select for diffs], Thu Jul 23 23:33:03 2009 UTC (14 years, 8 months ago) by jym
Branch: jym-xensuspend
Changes since 1.83.4.1: +36 -14 lines
Diff to previous 1.83.4.1 (colored) to branchpoint 1.83 (colored) next main 1.84 (colored)

Sync with HEAD.

Revision 1.81.10.4 / (download) - annotate - [select for diffs], Sat Jul 18 14:53:27 2009 UTC (14 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.81.10.3: +36 -14 lines
Diff to previous 1.81.10.3 (colored) to branchpoint 1.81 (colored)

sync with head.

Revision 1.88 / (download) - annotate - [select for diffs], Fri Jul 3 21:17:42 2009 UTC (14 years, 9 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 (14 years, 9 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.81.10.3 / (download) - annotate - [select for diffs], Sat May 16 10:41:53 2009 UTC (14 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.81.10.2: +4 -7 lines
Diff to previous 1.81.10.2 (colored) to branchpoint 1.81 (colored)

sync with head

Revision 1.83.4.1 / (download) - annotate - [select for diffs], Wed May 13 17:23:04 2009 UTC (14 years, 11 months ago) by jym
Branch: jym-xensuspend
Changes since 1.83: +13 -29 lines
Diff to previous 1.83 (colored)

Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.

Revision 1.86 / (download) - annotate - [select for diffs], Thu May 7 19:30:30 2009 UTC (14 years, 11 months 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.81.10.2 / (download) - annotate - [select for diffs], Mon May 4 08:14:37 2009 UTC (14 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.81.10.1: +52 -40 lines
Diff to previous 1.81.10.1 (colored) to branchpoint 1.81 (colored)

sync with head.

Revision 1.82.8.2 / (download) - annotate - [select for diffs], Tue Apr 28 07:37:57 2009 UTC (14 years, 11 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.82.8.1: +11 -24 lines
Diff to previous 1.82.8.1 (colored) to branchpoint 1.82 (colored) next main 1.83 (colored)

Sync with HEAD.

Revision 1.85 / (download) - annotate - [select for diffs], Wed Apr 22 22:57:09 2009 UTC (15 years 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 (15 years 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.82.8.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:20:31 2009 UTC (15 years, 3 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.82: +47 -22 lines
Diff to previous 1.82 (colored)

Sync with HEAD.

Revision 1.81.6.2 / (download) - annotate - [select for diffs], Sat Jan 17 13:29:42 2009 UTC (15 years, 3 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.81.6.1: +45 -20 lines
Diff to previous 1.81.6.1 (colored) to branchpoint 1.81 (colored) next main 1.82 (colored)

Sync with HEAD.

Revision 1.82.6.1 / (download) - annotate - [select for diffs], Sat Dec 13 01:15:40 2008 UTC (15 years, 4 months ago) by haad
Branch: haad-dm
Changes since 1.82: +47 -22 lines
Diff to previous 1.82 (colored) next main 1.83 (colored)

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

Revision 1.82.10.1 / (download) - annotate - [select for diffs], Sat Nov 29 23:10:19 2008 UTC (15 years, 4 months ago) by snj
Branch: netbsd-5
CVS Tags: 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-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20091211, matt-nb4-mips64-k7-u2a-k9b
Branch point for: matt-nb5-mips64
Changes since 1.82: +47 -22 lines
Diff to previous 1.82 (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.83 / (download) - annotate - [select for diffs], Sun Nov 23 10:09:25 2008 UTC (15 years, 4 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.81.6.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:24:35 2008 UTC (15 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.81: +7 -3 lines
Diff to previous 1.81 (colored)

Sync with HEAD.

Revision 1.81.8.1 / (download) - annotate - [select for diffs], Sun May 18 12:35:54 2008 UTC (15 years, 11 months ago) by yamt
Branch: yamt-pf42
Changes since 1.81: +7 -3 lines
Diff to previous 1.81 (colored) next main 1.82 (colored)

sync with head.

Revision 1.81.10.1 / (download) - annotate - [select for diffs], Fri May 16 02:26:00 2008 UTC (15 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.81: +7 -3 lines
Diff to previous 1.81 (colored)

sync with head.

Revision 1.82 / (download) - annotate - [select for diffs], Tue Apr 29 18:18:09 2008 UTC (15 years, 11 months 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.74.16.3 / (download) - annotate - [select for diffs], Sun Mar 23 02:05:11 2008 UTC (16 years, 1 month ago) by matt
Branch: matt-armv6
Changes since 1.74.16.2: +4 -31 lines
Diff to previous 1.74.16.2 (colored) to branchpoint 1.74 (colored) next main 1.75 (colored)

sync with HEAD

Revision 1.75.4.3 / (download) - annotate - [select for diffs], Mon Feb 18 21:07:28 2008 UTC (16 years, 2 months ago) by mjf
Branch: mjf-devfs
Changes since 1.75.4.2: +5 -26 lines
Diff to previous 1.75.4.2 (colored) to branchpoint 1.75 (colored) next main 1.76 (colored)

Sync with HEAD.

Revision 1.60.2.8 / (download) - annotate - [select for diffs], Mon Feb 4 09:25:02 2008 UTC (16 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.60.2.7: +4 -24 lines
Diff to previous 1.60.2.7 (colored) next main 1.61 (colored)

sync with head.

Revision 1.81 / (download) - annotate - [select for diffs], Fri Jan 25 14:32:16 2008 UTC (16 years, 2 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 (16 years, 2 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.60.2.7 / (download) - annotate - [select for diffs], Mon Jan 21 09:48:05 2008 UTC (16 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.60.2.6: +6 -8 lines
Diff to previous 1.60.2.6 (colored)

sync with head

Revision 1.77.4.2 / (download) - annotate - [select for diffs], Thu Jan 10 23:44:42 2008 UTC (16 years, 3 months ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.77.4.1: +0 -7 lines
Diff to previous 1.77.4.1 (colored) to branchpoint 1.77 (colored) next main 1.78 (colored)

Sync with HEAD

Revision 1.79 / (download) - annotate - [select for diffs], Wed Jan 9 16:15:23 2008 UTC (16 years, 3 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.74.16.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:58:24 2008 UTC (16 years, 3 months ago) by matt
Branch: matt-armv6
Changes since 1.74.16.1: +20 -20 lines
Diff to previous 1.74.16.1 (colored) to branchpoint 1.74 (colored)

sync with HEAD

Revision 1.77.4.1 / (download) - annotate - [select for diffs], Wed Jan 2 21:58:15 2008 UTC (16 years, 3 months ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.77: +10 -4 lines
Diff to previous 1.77 (colored)

Sync with HEAD

Revision 1.78 / (download) - annotate - [select for diffs], Wed Jan 2 11:49:08 2008 UTC (16 years, 3 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.76.2.3 / (download) - annotate - [select for diffs], Sun Dec 30 00:50:10 2007 UTC (16 years, 3 months ago) by ad
Branch: vmlocking2
Changes since 1.76.2.2: +9 -2 lines
Diff to previous 1.76.2.2 (colored) to branchpoint 1.76 (colored) next main 1.77 (colored)

Fix remaining problems with ext2fs on this branch.

Revision 1.75.4.2 / (download) - annotate - [select for diffs], Thu Dec 27 00:46:48 2007 UTC (16 years, 3 months ago) by mjf
Branch: mjf-devfs
Changes since 1.75.4.1: +5 -6 lines
Diff to previous 1.75.4.1 (colored) to branchpoint 1.75 (colored)

Sync with HEAD.

Revision 1.76.2.2 / (download) - annotate - [select for diffs], Wed Dec 26 21:39:58 2007 UTC (16 years, 3 months ago) by ad
Branch: vmlocking2
Changes since 1.76.2.1: +5 -6 lines
Diff to previous 1.76.2.1 (colored) to branchpoint 1.76 (colored)

Sync with head.

Revision 1.74.14.3 / (download) - annotate - [select for diffs], Sun Dec 9 19:38:51 2007 UTC (16 years, 4 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.74.14.2: +5 -6 lines
Diff to previous 1.74.14.2 (colored) to branchpoint 1.74 (colored) next main 1.75 (colored)

Sync with HEAD.

Revision 1.77 / (download) - annotate - [select for diffs], Sat Dec 8 19:29:54 2007 UTC (16 years, 4 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.75.4.1 / (download) - annotate - [select for diffs], Sat Dec 8 18:21:38 2007 UTC (16 years, 4 months ago) by mjf
Branch: mjf-devfs
Changes since 1.75: +9 -14 lines
Diff to previous 1.75 (colored)

Sync with HEAD.

Revision 1.60.2.6 / (download) - annotate - [select for diffs], Fri Dec 7 17:35:19 2007 UTC (16 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.60.2.5: +9 -14 lines
Diff to previous 1.60.2.5 (colored)

sync with head

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

Pull the vmlocking changes into a new branch.

Revision 1.74.14.2 / (download) - annotate - [select for diffs], Tue Nov 27 19:39:20 2007 UTC (16 years, 4 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.74.14.1: +9 -14 lines
Diff to previous 1.74.14.1 (colored) to branchpoint 1.74 (colored)

Sync with HEAD. amd64 Xen support needs testing.

Revision 1.76 / (download) - annotate - [select for diffs], Mon Nov 26 19:02:27 2007 UTC (16 years, 4 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.74.16.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:35:09 2007 UTC (16 years, 5 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.74: +4 -4 lines
Diff to previous 1.74 (colored)

sync with HEAD

Revision 1.60.2.5 / (download) - annotate - [select for diffs], Sat Oct 27 11:36:40 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.60.2.4: +4 -4 lines
Diff to previous 1.60.2.4 (colored)

sync with head.

Revision 1.74.14.1 / (download) - annotate - [select for diffs], Fri Oct 26 15:49:27 2007 UTC (16 years, 5 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.74: +4 -4 lines
Diff to previous 1.74 (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.74.2.3 / (download) - annotate - [select for diffs], Tue Oct 23 20:17:29 2007 UTC (16 years, 5 months ago) by ad
Branch: vmlocking
Changes since 1.74.2.2: +3 -5 lines
Diff to previous 1.74.2.2 (colored) to branchpoint 1.74 (colored) next main 1.75 (colored)

Sync with head.

Revision 1.74.18.1 / (download) - annotate - [select for diffs], Sun Oct 14 11:49:14 2007 UTC (16 years, 6 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.74: +4 -4 lines
Diff to previous 1.74 (colored) next main 1.75 (colored)

sync with head.

Revision 1.75 / (download) - annotate - [select for diffs], Wed Oct 10 20:42:33 2007 UTC (16 years, 6 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.2.2 / (download) - annotate - [select for diffs], Sun Sep 16 19:02:45 2007 UTC (16 years, 7 months ago) by ad
Branch: vmlocking
Changes since 1.74.2.1: +3 -4 lines
Diff to previous 1.74.2.1 (colored) to branchpoint 1.74 (colored)

- Checkpoint work in progress on the vnode lifecycle and reference counting
  stuff. This makes it work properly without kernel_lock and fixes a few
  quite old bugs. See vfs_subr.c 1.283.2.17 for details.

- Fix some problems with softdep. Unfortunately our softdep code appears
  to have some longstanding bugs that cause it fail under stress test.

Revision 1.60.2.4 / (download) - annotate - [select for diffs], Mon Sep 3 14:46:46 2007 UTC (16 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.60.2.3: +6 -6 lines
Diff to previous 1.60.2.3 (colored)

sync with head.

Revision 1.74.2.1 / (download) - annotate - [select for diffs], Sun Jun 17 21:32:05 2007 UTC (16 years, 10 months ago) by ad
Branch: vmlocking
Changes since 1.74: +6 -4 lines
Diff to previous 1.74 (colored)

- Increase the number of thread priorities from 128 to 256. How the space
  is set up is to be revisited.
- Implement soft interrupts as kernel threads. A generic implementation
  is provided, with hooks for fast-path MD code that can run the interrupt
  threads over the top of other threads executing in the kernel.
- Split vnode::v_flag into three fields, depending on how the flag is
  locked (by the interlock, by the vnode lock, by the file system).
- Miscellaneous locking fixes and improvements.

Revision 1.72.2.2 / (download) - annotate - [select for diffs], Mon Mar 12 06:00:56 2007 UTC (17 years, 1 month ago) by rmind
Branch: yamt-idlelwp
Changes since 1.72.2.1: +6 -6 lines
Diff to previous 1.72.2.1 (colored) to branchpoint 1.72 (colored) next main 1.73 (colored)

Sync with HEAD.

Revision 1.74 / (download) - annotate - [select for diffs], Sun Mar 4 06:03:43 2007 UTC (17 years, 1 month 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.72.2.1 / (download) - annotate - [select for diffs], Tue Feb 27 16:55:21 2007 UTC (17 years, 1 month ago) by yamt
Branch: yamt-idlelwp
Changes since 1.72: +3 -2 lines
Diff to previous 1.72 (colored)

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

Revision 1.60.2.3 / (download) - annotate - [select for diffs], Mon Feb 26 09:12:18 2007 UTC (17 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.60.2.2: +20 -13 lines
Diff to previous 1.60.2.2 (colored)

sync with head.

Revision 1.73 / (download) - annotate - [select for diffs], Tue Feb 20 16:21:04 2007 UTC (17 years, 2 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.69.2.1 / (download) - annotate - [select for diffs], Sat Feb 17 23:27:52 2007 UTC (17 years, 2 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.69: +32 -23 lines
Diff to previous 1.69 (colored) next main 1.70 (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.67.4.2 / (download) - annotate - [select for diffs], Fri Jan 12 01:04:24 2007 UTC (17 years, 3 months ago) by ad
Branch: newlock2
Changes since 1.67.4.1: +49 -34 lines
Diff to previous 1.67.4.1 (colored) to branchpoint 1.67 (colored) next main 1.68 (colored)

Sync with head.

Revision 1.72 / (download) - annotate - [select for diffs], Thu Jan 4 16:55:29 2007 UTC (17 years, 3 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 (17 years, 3 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.60.2.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:51:00 2006 UTC (17 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.60.2.1: +47 -37 lines
Diff to previous 1.60.2.1 (colored)

sync with head.

Revision 1.67.6.2 / (download) - annotate - [select for diffs], Sun Dec 10 07:19:32 2006 UTC (17 years, 4 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.67.6.1: +32 -23 lines
Diff to previous 1.67.6.1 (colored) to branchpoint 1.67 (colored) next main 1.68 (colored)

sync with head.

Revision 1.70 / (download) - annotate - [select for diffs], Sat Dec 9 16:11:52 2006 UTC (17 years, 4 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.67.4.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:39:47 2006 UTC (17 years, 5 months ago) by ad
Branch: newlock2
Changes since 1.67: +6 -5 lines
Diff to previous 1.67 (colored)

Sync with head.

Revision 1.67.6.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:07:47 2006 UTC (17 years, 6 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.67: +6 -5 lines
Diff to previous 1.67 (colored)

sync with head

Revision 1.69 / (download) - annotate - [select for diffs], Tue Oct 3 19:01:29 2006 UTC (17 years, 6 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 (17 years, 6 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.64.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 03:00:00 2006 UTC (17 years, 7 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.64: +55 -46 lines
Diff to previous 1.64 (colored) next main 1.65 (colored)

sync with head

Revision 1.64.8.3 / (download) - annotate - [select for diffs], Fri Aug 11 15:47:26 2006 UTC (17 years, 8 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.64.8.2: +19 -19 lines
Diff to previous 1.64.8.2 (colored) to branchpoint 1.64 (colored) next main 1.65 (colored)

sync with head

Revision 1.67 / (download) - annotate - [select for diffs], Sun Jul 23 22:06:14 2006 UTC (17 years, 9 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.64.8.2 / (download) - annotate - [select for diffs], Mon Jun 26 12:54:49 2006 UTC (17 years, 9 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.64.8.1: +6 -4 lines
Diff to previous 1.64.8.1 (colored) to branchpoint 1.64 (colored)

sync with head.

Revision 1.60.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 15:12:31 2006 UTC (17 years, 10 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.60: +134 -139 lines
Diff to previous 1.60 (colored)

sync with head.

Revision 1.65.2.1 / (download) - annotate - [select for diffs], Mon Jun 19 04:11:13 2006 UTC (17 years, 10 months ago) by chap
Branch: chap-midi
Changes since 1.65: +6 -4 lines
Diff to previous 1.65 (colored) next main 1.66 (colored)

Sync with head.

Revision 1.66 / (download) - annotate - [select for diffs], Wed Jun 7 22:34:19 2006 UTC (17 years, 10 months 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.64.6.2 / (download) - annotate - [select for diffs], Thu Jun 1 22:39:28 2006 UTC (17 years, 10 months ago) by kardel
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.64.6.1: +46 -39 lines
Diff to previous 1.64.6.1 (colored) to branchpoint 1.64 (colored) next main 1.65 (colored)

Sync with head.

Revision 1.64.12.1 / (download) - annotate - [select for diffs], Wed May 24 15:50:47 2006 UTC (17 years, 11 months ago) by tron
Branch: peter-altq
Changes since 1.64: +46 -39 lines
Diff to previous 1.64 (colored) next main 1.65 (colored)

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

Revision 1.64.8.1 / (download) - annotate - [select for diffs], Wed May 24 10:59:25 2006 UTC (17 years, 11 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.64: +46 -39 lines
Diff to previous 1.64 (colored)

sync with head.

Revision 1.65 / (download) - annotate - [select for diffs], Sun May 14 21:32:21 2006 UTC (17 years, 11 months 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.10.5 / (download) - annotate - [select for diffs], Sat May 6 23:32:33 2006 UTC (17 years, 11 months ago) by christos
Branch: elad-kernelauth
Changes since 1.64.10.4: +3 -2 lines
Diff to previous 1.64.10.4 (colored) to branchpoint 1.64 (colored) next main 1.65 (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.64.10.4 / (download) - annotate - [select for diffs], Sat Mar 11 16:45:25 2006 UTC (18 years, 1 month ago) by elad
Branch: elad-kernelauth
Changes since 1.64.10.3: +11 -17 lines
Diff to previous 1.64.10.3 (colored) to branchpoint 1.64 (colored)

When calling kauth_cred_ismember_gid(), don't return the error code if
there is one, just treat it as if the check failed.

Pointed out by thorpej@.

Revision 1.64.10.3 / (download) - annotate - [select for diffs], Sat Mar 11 04:55:29 2006 UTC (18 years, 1 month ago) by elad
Branch: elad-kernelauth
Changes since 1.64.10.2: +17 -9 lines
Diff to previous 1.64.10.2 (colored) to branchpoint 1.64 (colored)

kauth_cred_groupmember() -> kauth_cred_ismember_gid(), as requested by
thorpej@ to conform to the Darwin KPI.

Revision 1.64.10.2 / (download) - annotate - [select for diffs], Fri Mar 10 14:21:11 2006 UTC (18 years, 1 month ago) by elad
Branch: elad-kernelauth
Changes since 1.64.10.1: +7 -7 lines
Diff to previous 1.64.10.1 (colored) to branchpoint 1.64 (colored)

generic_authorize() -> kauth_authorize_generic().

Revision 1.64.10.1 / (download) - annotate - [select for diffs], Wed Mar 8 01:39:11 2006 UTC (18 years, 1 month ago) by elad
Branch: elad-kernelauth
Changes since 1.64: +39 -35 lines
Diff to previous 1.64 (colored)

Adapt to kernel authorization KPI.

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

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

Revision 1.64 / (download) - annotate - [select for diffs], Sun Dec 11 12:25:25 2005 UTC (18 years, 4 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.2.2 / (download) - annotate - [select for diffs], Sat Nov 19 11:03:44 2005 UTC (18 years, 5 months ago) by yamt
Branch: yamt-readahead
Changes since 1.63.2.1: +3 -3 lines
Diff to previous 1.63.2.1 (colored) to branchpoint 1.63 (colored) next main 1.64 (colored)

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

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

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

Revision 1.48.2.11 / (download) - annotate - [select for diffs], Thu Nov 10 14:12:31 2005 UTC (18 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.48.2.10: +82 -94 lines
Diff to previous 1.48.2.10 (colored) next main 1.49 (colored)

Sync with HEAD. Here we go again...

Revision 1.63 / (download) - annotate - [select for diffs], Wed Nov 2 12:39:00 2005 UTC (18 years, 5 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.2.1 / (download) - annotate - [select for diffs], Thu Oct 20 03:00:30 2005 UTC (18 years, 6 months ago) by yamt
Branch: yamt-vop
Changes since 1.62: +48 -31 lines
Diff to previous 1.62 (colored) next main 1.63 (colored)

adapt ufs.

Revision 1.62 / (download) - annotate - [select for diffs], Mon Sep 12 16:24:41 2005 UTC (18 years, 7 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 (18 years, 7 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 (18 years, 9 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.57.4.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:29:38 2005 UTC (18 years, 11 months ago) by kent
Branch: kent-audio2
Changes since 1.57: +19 -11 lines
Diff to previous 1.57 (colored) next main 1.58 (colored)

sync with -current

Revision 1.57.6.2 / (download) - annotate - [select for diffs], Sat Mar 19 08:37:03 2005 UTC (19 years, 1 month ago) by yamt
Branch: yamt-km
Changes since 1.57.6.1: +7 -7 lines
Diff to previous 1.57.6.1 (colored) to branchpoint 1.57 (colored) next main 1.58 (colored)

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

Revision 1.48.2.10 / (download) - annotate - [select for diffs], Fri Mar 4 16:54:45 2005 UTC (19 years, 1 month ago) by skrll
Branch: ktrace-lwp
Changes since 1.48.2.9: +7 -7 lines
Diff to previous 1.48.2.9 (colored)

Sync with HEAD.

Hi Perry!

Revision 1.59 / (download) - annotate - [select for diffs], Sat Feb 26 22:32:20 2005 UTC (19 years, 1 month 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.48.2.9 / (download) - annotate - [select for diffs], Tue Feb 15 21:33:41 2005 UTC (19 years, 2 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.48.2.8: +14 -6 lines
Diff to previous 1.48.2.8 (colored)

Sync with HEAD.

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

sync with head.

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

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

Revision 1.48.2.7 / (download) - annotate - [select for diffs], Fri Sep 24 10:53:58 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.48.2.6: +3 -2 lines
Diff to previous 1.48.2.6 (colored)

Sync with HEAD.

Revision 1.48.2.6 / (download) - annotate - [select for diffs], Tue Sep 21 13:39:08 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.48.2.5: +20 -20 lines
Diff to previous 1.48.2.5 (colored)

Fix the sync with head I botched.

Revision 1.57 / (download) - annotate - [select for diffs], Tue Sep 21 03:10:35 2004 UTC (19 years, 7 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.48.2.5 / (download) - annotate - [select for diffs], Sat Sep 18 14:56:52 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.48.2.4: +24 -24 lines
Diff to previous 1.48.2.4 (colored)

Sync with HEAD.

Revision 1.56 / (download) - annotate - [select for diffs], Fri Sep 17 14:11:27 2004 UTC (19 years, 7 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.48.2.4 / (download) - annotate - [select for diffs], Wed Aug 25 06:59:14 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.48.2.3: +26 -41 lines
Diff to previous 1.48.2.3 (colored)

Sync with HEAD.

Revision 1.48.2.3 / (download) - annotate - [select for diffs], Tue Aug 24 17:57:42 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.48.2.2: +3 -4 lines
Diff to previous 1.48.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.55 / (download) - annotate - [select for diffs], Sun Aug 15 07:19:56 2004 UTC (19 years, 8 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 (19 years, 8 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.48.2.2 / (download) - annotate - [select for diffs], Tue Aug 3 10:56:49 2004 UTC (19 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.48.2.1: +40 -11 lines
Diff to previous 1.48.2.1 (colored)

Sync with HEAD

Revision 1.52.2.1 / (download) - annotate - [select for diffs], Sun May 23 11:56:04 2004 UTC (19 years, 11 months ago) by grant
Branch: netbsd-2-0
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-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
Changes since 1.52: +4 -3 lines
Diff to previous 1.52 (colored) next main 1.53 (colored)

Pull up revision 1.53 (requested by kleink in ticket #379):

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.

Revision 1.53 / (download) - annotate - [select for diffs], Sat May 22 23:24:23 2004 UTC (19 years, 11 months 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 (20 years, 1 month 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 (20 years, 6 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 (20 years, 8 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 (20 years, 8 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.2.1 / (download) - annotate - [select for diffs], Wed Jul 2 15:27:20 2003 UTC (20 years, 9 months ago) by darrenr
Branch: ktrace-lwp
Changes since 1.48: +25 -24 lines
Diff to previous 1.48 (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.48 / (download) - annotate - [select for diffs], Sun Jun 29 22:32:33 2003 UTC (20 years, 9 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 (20 years, 9 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 (20 years, 9 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 (20 years, 10 months 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 (21 years 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.32.2.7 / (download) - annotate - [select for diffs], Mon Nov 11 22:16:48 2002 UTC (21 years, 5 months ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.32.2.6: +37 -11 lines
Diff to previous 1.32.2.6 (colored) next main 1.33 (colored)

Catch up to -current

Revision 1.43 / (download) - annotate - [select for diffs], Wed Oct 23 19:52:16 2002 UTC (21 years, 6 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 (21 years, 6 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.32.2.6 / (download) - annotate - [select for diffs], Fri Oct 18 02:45:47 2002 UTC (21 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.32.2.5: +1 -2 lines
Diff to previous 1.32.2.5 (colored)

Catch up to -current.

Revision 1.33.4.7 / (download) - annotate - [select for diffs], Thu Oct 10 18:44:50 2002 UTC (21 years, 6 months ago) by jdolecek
Branch: kqueue
Changes since 1.33.4.6: +2 -3 lines
Diff to previous 1.33.4.6 (colored) to branchpoint 1.33 (colored) next main 1.34 (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.33.4.6 / (download) - annotate - [select for diffs], Thu Sep 26 22:04:53 2002 UTC (21 years, 6 months ago) by jdolecek
Branch: kqueue
Changes since 1.33.4.5: +36 -13 lines
Diff to previous 1.33.4.5 (colored) to branchpoint 1.33 (colored)

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

Revision 1.33.4.5 / (download) - annotate - [select for diffs], Mon Sep 23 11:39:09 2002 UTC (21 years, 7 months ago) by jdolecek
Branch: kqueue
Changes since 1.33.4.4: +3 -2 lines
Diff to previous 1.33.4.4 (colored) to branchpoint 1.33 (colored)

add spec kqfilter vnode op

Revision 1.41 / (download) - annotate - [select for diffs], Sun Sep 22 19:32:56 2002 UTC (21 years, 7 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.33.4.4 / (download) - annotate - [select for diffs], Sun Sep 22 13:57:39 2002 UTC (21 years, 7 months ago) by jdolecek
Branch: kqueue
Changes since 1.33.4.3: +3 -2 lines
Diff to previous 1.33.4.3 (colored) to branchpoint 1.33 (colored)

add fifo_kqfilter() to fifo ops, to switch on support for kevents

Revision 1.33.4.3 / (download) - annotate - [select for diffs], Thu Jan 10 20:04:59 2002 UTC (22 years, 3 months ago) by thorpej
Branch: kqueue
Changes since 1.33.4.2: +6 -6 lines
Diff to previous 1.33.4.2 (colored) to branchpoint 1.33 (colored)

Sync kqueue branch with -current.

Revision 1.32.2.5 / (download) - annotate - [select for diffs], Wed Nov 14 19:18:54 2001 UTC (22 years, 5 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.32.2.4: +4 -2 lines
Diff to previous 1.32.2.4 (colored)

Catch up to -current.

Revision 1.38.2.1 / (download) - annotate - [select for diffs], Mon Nov 12 21:19:44 2001 UTC (22 years, 5 months ago) by thorpej
Branch: thorpej-mips-cache
Changes since 1.38: +4 -2 lines
Diff to previous 1.38 (colored) next main 1.39 (colored)

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

Revision 1.40 / (download) - annotate - [select for diffs], Thu Nov 8 02:39:08 2001 UTC (22 years, 5 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, 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 (22 years, 5 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.36.2.2 / (download) - annotate - [select for diffs], Mon Oct 1 12:48:19 2001 UTC (22 years, 6 months ago) by fvdl
Branch: thorpej-devvp
Changes since 1.36.2.1: +3 -5 lines
Diff to previous 1.36.2.1 (colored) to branchpoint 1.36 (colored) next main 1.37 (colored)

Catch up with -current.

Revision 1.32.2.4 / (download) - annotate - [select for diffs], Wed Sep 26 19:55:12 2001 UTC (22 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.32.2.3: +2 -1 lines
Diff to previous 1.32.2.3 (colored)

Catch up to -current.
Again.

Revision 1.38 / (download) - annotate - [select for diffs], Sat Sep 22 22:35:19 2001 UTC (22 years, 7 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.32.2.3 / (download) - annotate - [select for diffs], Fri Sep 21 22:37:03 2001 UTC (22 years, 7 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.32.2.2: +3 -6 lines
Diff to previous 1.32.2.2 (colored)

Catch up to -current.

Revision 1.36.2.1 / (download) - annotate - [select for diffs], Tue Sep 18 19:14:01 2001 UTC (22 years, 7 months ago) by fvdl
Branch: thorpej-devvp
Changes since 1.36: +2 -1 lines
Diff to previous 1.36 (colored)

Various changes to make cloning devices possible:

	* Add an extra argument (struct vnode **) to VOP_OPEN. If it is
	  not NULL, specfs will create a cloned (aliased) vnode during
	  the call, and return it there. The caller should release and
	  unlock the original vnode if a new vnode was returned. The
	  new vnode is returned locked.

	* Add a flag field to the cdevsw and bdevsw structures.
	  DF_CLONING indicates that it wants a new vnode for each
	  open (XXX is there a better way? devprop?)

	* If a device is cloning, always call the close entry
	  point for a VOP_CLOSE.


Also, rewrite cons.c to do the right thing with vnodes. Use VOPs
rather then direct device entry calls. Suggested by mycroft@

Light to moderate testing done an i386 system (arch doesn't matter
though, these are MI changes).

Revision 1.37 / (download) - annotate - [select for diffs], Sat Sep 15 20:36:41 2001 UTC (22 years, 7 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.33.4.2 / (download) - annotate - [select for diffs], Sat Aug 25 06:17:15 2001 UTC (22 years, 7 months ago) by thorpej
Branch: kqueue
Changes since 1.33.4.1: +5 -2 lines
Diff to previous 1.33.4.1 (colored) to branchpoint 1.33 (colored)

Merge Aug 24 -current into the kqueue branch.

Revision 1.36 / (download) - annotate - [select for diffs], Fri Aug 24 10:24:47 2001 UTC (22 years, 8 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.32.2.2 / (download) - annotate - [select for diffs], Fri Aug 24 00:13:14 2001 UTC (22 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.32.2.1: +15 -3 lines
Diff to previous 1.32.2.1 (colored)

Catch up with -current.

Revision 1.35 / (download) - annotate - [select for diffs], Fri Aug 17 05:54:37 2001 UTC (22 years, 8 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.33.4.1 / (download) - annotate - [select for diffs], Fri Aug 3 04:14:06 2001 UTC (22 years, 8 months ago) by lukem
Branch: kqueue
Changes since 1.33: +12 -3 lines
Diff to previous 1.33 (colored)

update to -current

Revision 1.34 / (download) - annotate - [select for diffs], Tue Jul 24 15:39:34 2001 UTC (22 years, 9 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.32.2.1 / (download) - annotate - [select for diffs], Mon Apr 9 01:59:05 2001 UTC (23 years ago) by nathanw
Branch: nathanw_sa
Changes since 1.32: +3 -2 lines
Diff to previous 1.32 (colored)

Catch up with -current.

Revision 1.26.4.2 / (download) - annotate - [select for diffs], Fri Apr 6 00:03:33 2001 UTC (23 years ago) by he
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001
Changes since 1.26.4.1: +3 -2 lines
Diff to previous 1.26.4.1 (colored) to branchpoint 1.26 (colored) next main 1.27 (colored)

Pull up revision 1.33 (requested by wrstuden):
  Explicitly VOP_UNLOCK before setting v_op to spec_vnode_ops_p.
  Works around a lock leak and eventual kernel panic.

Revision 1.21.2.4 / (download) - annotate - [select for diffs], Tue Mar 27 15:32:46 2001 UTC (23 years ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.21.2.3: +3 -2 lines
Diff to previous 1.21.2.3 (colored) to branchpoint 1.21 (colored) next main 1.22 (colored)

Sync with HEAD.

Revision 1.33 / (download) - annotate - [select for diffs], Fri Mar 23 21:11:08 2001 UTC (23 years, 1 month 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.21.2.3 / (download) - annotate - [select for diffs], Sun Feb 11 19:17:40 2001 UTC (23 years, 2 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.21.2.2: +8 -8 lines
Diff to previous 1.21.2.2 (colored) to branchpoint 1.21 (colored)

Sync with HEAD.

Revision 1.32 / (download) - annotate - [select for diffs], Wed Feb 7 12:40:44 2001 UTC (23 years, 2 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 (23 years, 3 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.21.2.2 / (download) - annotate - [select for diffs], Fri Dec 8 09:20:10 2000 UTC (23 years, 4 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.21.2.1: +8 -7 lines
Diff to previous 1.21.2.1 (colored) to branchpoint 1.21 (colored)

Sync with HEAD.

Revision 1.30 / (download) - annotate - [select for diffs], Mon Nov 27 08:39:53 2000 UTC (23 years, 4 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.21.2.1 / (download) - annotate - [select for diffs], Mon Nov 20 18:11:43 2000 UTC (23 years, 5 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.21: +68 -62 lines
Diff to previous 1.21 (colored)

Update thorpej_scsipi to -current as of a month ago

Revision 1.29 / (download) - annotate - [select for diffs], Thu Aug 3 20:41:36 2000 UTC (23 years, 8 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.26.4.1 / (download) - annotate - [select for diffs], Sun Jul 30 20:38:59 2000 UTC (23 years, 8 months ago) by jdolecek
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-RELEASE, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2
Changes since 1.26: +2 -3 lines
Diff to previous 1.26 (colored)

Pullup from trunk (approved by thorpej):
Change lf_advlock() to:
int      lf_advlock (struct vop_advlock_args *, struct lockf **, off_t)

This matches it's usage. Change inspired by FreeBSD, though we use
off_t instead u_quad_t as the last argument.

sys/lockf.h			rev. 1.9
msdosfs/msdosfs_vnops.c		rev. 1.99
kern/vfs_lockf.c		rev. 1.17
miscfs/specfs/spec_vnops.c	rev. 1.49
nfs/nfs_vnops.c			rev. 1.115
ufs/ext2fs/ext2fs_vnops.c	rev. 1.28
ufs/ufs/ufs_vnops.c		rev. 1.72

Revision 1.28 / (download) - annotate - [select for diffs], Sat Jul 22 15:26:15 2000 UTC (23 years, 9 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 (23 years, 9 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 (23 years, 11 months 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 (24 years 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 (24 years, 1 month 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 (24 years, 2 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 (24 years, 2 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.8.1 / (download) - annotate - [select for diffs], Tue Dec 21 23:20:06 1999 UTC (24 years, 4 months ago) by wrstuden
Branch: wrstuden-devbsize
Changes since 1.21: +2 -2 lines
Diff to previous 1.21 (colored) next main 1.22 (colored)

Initial commit of recent changes to make DEV_BSIZE go away.

Runs on i386, needs work on other arch's. Main kernel routines should be
fine, but a number of the stand programs need help.

cd, fd, ccd, wd, and sd have been updated. sd has been tested with non-512
byte block devices. vnd, raidframe, and lfs need work.

Non 2**n block support is automatic for LKM's and conditional for kernels
on "options NON_PO2_BLOCKS".

Revision 1.19.4.3 / (download) - annotate - [select for diffs], Fri Aug 6 12:55:30 1999 UTC (24 years, 8 months ago) by chs
Branch: chs-ubc2
Changes since 1.19.4.2: +7 -4 lines
Diff to previous 1.19.4.2 (colored) to branchpoint 1.19 (colored) next main 1.20 (colored)

UBCify.

Revision 1.21 / (download) - annotate - [select for diffs], Tue Aug 3 20:19:21 1999 UTC (24 years, 8 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.19.4.2 / (download) - annotate - [select for diffs], Mon Aug 2 22:56:41 1999 UTC (24 years, 8 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.19.4.1: +3 -4 lines
Diff to previous 1.19.4.1 (colored) to branchpoint 1.19 (colored)

Update from trunk.

Revision 1.19.4.1 / (download) - annotate - [select for diffs], Sun Jul 11 05:43:59 1999 UTC (24 years, 9 months ago) by chs
Branch: chs-ubc2
Changes since 1.19: +1 -3 lines
Diff to previous 1.19 (colored)

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

Revision 1.20 / (download) - annotate - [select for diffs], Thu Jul 8 01:06:05 1999 UTC (24 years, 9 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 (25 years, 1 month 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 (25 years, 1 month 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 (25 years, 1 month 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 (25 years, 4 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.5.2.1 / (download) - annotate - [select for diffs], Fri Nov 6 23:06:40 1998 UTC (25 years, 5 months ago) by cgd
Branch: netbsd-1-3
CVS Tags: netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored) next main 1.6 (colored)

Show correct number of blocks used for files larger than 2GB.
Fixed in trunk as part of Lite-2 merging.  (cgd)

Revision 1.15 / (download) - annotate - [select for diffs], Tue Sep 29 10:24:58 1998 UTC (25 years, 6 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 (25 years, 7 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 (25 years, 8 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 (25 years, 8 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 (25 years, 10 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 (25 years, 10 months 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 (25 years, 10 months 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 (26 years, 1 month 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 (26 years, 2 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 (26 years, 2 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 (26 years, 6 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.3.4.1 / (download) - annotate - [select for diffs], Tue Oct 14 16:06:26 1997 UTC (26 years, 6 months ago) by thorpej
Branch: marc-pcmcia
Changes since 1.3: +16 -21 lines
Diff to previous 1.3 (colored) next main 1.4 (colored)

Update marc-pcmcia branch from trunk.

Revision 1.4 / (download) - annotate - [select for diffs], Thu Oct 9 15:42:54 1997 UTC (26 years, 6 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.2.2 / (download) - annotate - [select for diffs], Tue Jul 1 07:34:04 1997 UTC (26 years, 9 months ago) by bouyer
Branch: bouyer-scsipi
Changes since 1.3.2.1: +1540 -0 lines
Diff to previous 1.3.2.1 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)

Sync with ufs/ufs:
Avoid panic triggered by rename("foo/", "bar/..") (From Mycroft, via christos)

Revision 1.3.2.1, Tue Jul 1 07:34:03 1997 UTC (26 years, 9 months ago) by bouyer
Branch: bouyer-scsipi
Changes since 1.3: +0 -1540 lines
FILE REMOVED

file ext2fs_vnops.c was added on branch bouyer-scsipi on 1997-07-01 07:34:04 +0000

Revision 1.3 / (download) - annotate - [select for diffs], Tue Jul 1 07:34:03 1997 UTC (26 years, 9 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 (26 years, 9 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 (26 years, 10 months ago) by bouyer
Branch: MAIN

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>