The NetBSD Project

CVS log for src/sys/fs/msdosfs/msdosfs_vnops.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / fs / msdosfs

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.83.2.3 / (download) - annotate - [select for diffs], Wed Aug 20 00:04:26 2014 UTC (4 weeks, 2 days ago) by tls
Branch: tls-maxphys
Changes since 1.83.2.2: +25 -18 lines
Diff to previous 1.83.2.2 (colored) to branchpoint 1.83 (colored) next main 1.84 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.89.2.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:55:53 2014 UTC (5 weeks, 5 days ago) by tls
Branch: tls-earlyentropy
Changes since 1.89: +16 -7 lines
Diff to previous 1.89 (colored) next main 1.90 (colored)

Rebase.

Revision 1.91 / (download) - annotate - [select for diffs], Fri Jul 25 08:20:51 2014 UTC (7 weeks, 6 days ago) by dholland
Branch: MAIN
CVS Tags: tls-maxphys-base, tls-earlyentropy-base, netbsd-7-base, netbsd-7, HEAD
Changes since 1.90: +4 -2 lines
Diff to previous 1.90 (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.90 / (download) - annotate - [select for diffs], Tue Jul 8 09:21:52 2014 UTC (2 months, 1 week ago) by hannken
Branch: MAIN
Changes since 1.89: +14 -7 lines
Diff to previous 1.89 (colored)

Change msdosfs from hashlist to vcache:
- Use (dir_cluster, dir_offset, dir_generation) as key, where
  dir_generation is non-zero and unique for unlinked but open nodes.
- Change deget() to return a vnode as it is unsafe to return a
  referenced but unlocked denode.

Revision 1.78.2.4 / (download) - annotate - [select for diffs], Thu May 22 11:41:00 2014 UTC (3 months, 4 weeks ago) by yamt
Branch: yamt-pagecache
Changes since 1.78.2.3: +14 -16 lines
Diff to previous 1.78.2.3 (colored) to branchpoint 1.78 (colored) next main 1.79 (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.86.6.1 / (download) - annotate - [select for diffs], Sun May 18 17:46:05 2014 UTC (4 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.86: +13 -15 lines
Diff to previous 1.86 (colored) next main 1.87 (colored)

sync with head

Revision 1.89 / (download) - annotate - [select for diffs], Thu Jan 23 10:13:56 2014 UTC (7 months, 3 weeks 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, riastradh-drm2-base3
Branch point for: tls-earlyentropy
Changes since 1.88: +4 -4 lines
Diff to previous 1.88 (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.88 / (download) - annotate - [select for diffs], Fri Jan 17 10:55:02 2014 UTC (8 months ago) by hannken
Branch: MAIN
Changes since 1.87: +4 -8 lines
Diff to previous 1.87 (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.87 / (download) - annotate - [select for diffs], Sat Nov 2 10:30:18 2013 UTC (10 months, 2 weeks ago) by hannken
Branch: MAIN
Changes since 1.86: +11 -9 lines
Diff to previous 1.86 (colored)

Stop using v_mount of an unreferenced vnode -- save the mount while
the vnode has a reference.

Revision 1.83.2.2 / (download) - annotate - [select for diffs], Sun Jun 23 06:18:27 2013 UTC (14 months, 3 weeks ago) by tls
Branch: tls-maxphys
Changes since 1.83.2.1: +3 -3 lines
Diff to previous 1.83.2.1 (colored) to branchpoint 1.83 (colored)

resync from head

Revision 1.86 / (download) - annotate - [select for diffs], Mon Mar 18 19:35:37 2013 UTC (18 months 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.85: +3 -3 lines
Diff to previous 1.85 (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.83.2.1 / (download) - annotate - [select for diffs], Mon Feb 25 00:29:47 2013 UTC (18 months, 3 weeks ago) by tls
Branch: tls-maxphys
Changes since 1.83: +3 -6 lines
Diff to previous 1.83 (colored)

resync with head

Revision 1.78.2.3 / (download) - annotate - [select for diffs], Wed Jan 23 00:06:19 2013 UTC (19 months, 3 weeks ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.78.2.2: +3 -6 lines
Diff to previous 1.78.2.2 (colored) to branchpoint 1.78 (colored)

sync with head

Revision 1.85 / (download) - annotate - [select for diffs], Fri Dec 28 08:03:59 2012 UTC (20 months, 3 weeks ago) by hannken
Branch: MAIN
CVS Tags: yamt-pagecache-base8
Changes since 1.84: +3 -3 lines
Diff to previous 1.84 (colored)

Move the initialization of n to after the error branch.

From Taylor R Campbell <riastradh@netbsd.org>

Revision 1.84 / (download) - annotate - [select for diffs], Thu Dec 20 08:03:42 2012 UTC (20 months, 4 weeks ago) by hannken
Branch: MAIN
Changes since 1.83: +2 -5 lines
Diff to previous 1.83 (colored)

Change bread() and breadn() to never return a buffer on
error and modify all callers to not brelse() on error.

Welcome to 6.99.16

PR kern/46282 (6.0_BETA crash: msdosfs_bmap -> pcbmap -> bread -> bio_doread)

Revision 1.79.2.2 / (download) - annotate - [select for diffs], Sat Jun 2 11:09:31 2012 UTC (2 years, 3 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.79.2.1: +3 -2 lines
Diff to previous 1.79.2.1 (colored) to branchpoint 1.79 (colored) next main 1.80 (colored)

sync to latest -current.

Revision 1.78.2.2 / (download) - annotate - [select for diffs], Wed May 23 10:08:09 2012 UTC (2 years, 3 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.78.2.1: +5 -4 lines
Diff to previous 1.78.2.1 (colored) to branchpoint 1.78 (colored)

sync with head.

Revision 1.79.4.2 / (download) - annotate - [select for diffs], Mon May 7 03:01:13 2012 UTC (2 years, 4 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-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-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.79.4.1: +3 -2 lines
Diff to previous 1.79.4.1 (colored) to branchpoint 1.79 (colored) next main 1.80 (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.83 / (download) - annotate - [select for diffs], Sun Apr 29 22:53:59 2012 UTC (2 years, 4 months ago) by chs
Branch: MAIN
CVS Tags: yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, jmcneill-usbmp-base10
Branch point for: tls-maxphys
Changes since 1.82: +5 -4 lines
Diff to previous 1.82 (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.78.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:08:18 2012 UTC (2 years, 5 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.78: +22 -15 lines
Diff to previous 1.78 (colored)

sync with head

Revision 1.79.4.1 / (download) - annotate - [select for diffs], Fri Apr 6 17:40:20 2012 UTC (2 years, 5 months ago) by riz
Branch: netbsd-6
Changes since 1.79: +5 -3 lines
Diff to previous 1.79 (colored)

Pull up following revision(s) (requested by njoly in ticket #161):
	sys/fs/msdosfs/msdosfs_vnops.c: revision 1.81
	sys/fs/msdosfs/msdosfs_vnops.c: revision 1.82
Report the SF_ARCHIVED file flag if set.
Add missing braces in previous commit.

Revision 1.79.2.1 / (download) - annotate - [select for diffs], Thu Apr 5 21:33:36 2012 UTC (2 years, 5 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.79: +19 -14 lines
Diff to previous 1.79 (colored)

sync to latest -current.

Revision 1.82 / (download) - annotate - [select for diffs], Tue Apr 3 14:58:55 2012 UTC (2 years, 5 months ago) by njoly
Branch: MAIN
CVS Tags: yamt-pagecache-base4, jmcneill-usbmp-base9, jmcneill-usbmp-base8
Changes since 1.81: +4 -3 lines
Diff to previous 1.81 (colored)

Add missing braces in previous commit.

Revision 1.81 / (download) - annotate - [select for diffs], Mon Apr 2 07:30:22 2012 UTC (2 years, 5 months ago) by njoly
Branch: MAIN
Changes since 1.80: +3 -2 lines
Diff to previous 1.80 (colored)

Report the SF_ARCHIVED file flag if set.

Revision 1.80 / (download) - annotate - [select for diffs], Tue Mar 13 18:40:38 2012 UTC (2 years, 6 months ago) by elad
Branch: MAIN
Changes since 1.79: +16 -13 lines
Diff to previous 1.79 (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.79 / (download) - annotate - [select for diffs], Mon Nov 21 10:46:56 2011 UTC (2 years, 9 months ago) by hannken
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
Branch point for: netbsd-6, jmcneill-usbmp
Changes since 1.78: +5 -3 lines
Diff to previous 1.78 (colored)

Add missing fstrans_done().

Should fix PR #45635 (KASSERT "fli->fli_trans_cnt == 0" failed)

Revision 1.78 / (download) - annotate - [select for diffs], Wed Jul 20 11:52:00 2011 UTC (3 years, 2 months ago) by hannken
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache
Changes since 1.77: +3 -3 lines
Diff to previous 1.77 (colored)

Even though msdosfs never truncates file names it advertises _PC_NO_TRUNC
as zero.  Make it advertise one (no_trunc == true).

Names longer than NAME_MAX (255) will never pass namei() btw.

Fixes PR #43670 (msdosfs claims support for filenames longer than {NAME_MAX},
                 but fails)

Revision 1.75.2.1 / (download) - annotate - [select for diffs], Thu Jun 23 14:20:14 2011 UTC (3 years, 2 months ago) by cherry
Branch: cherry-xenmp
Changes since 1.75: +8 -7 lines
Diff to previous 1.75 (colored) next main 1.76 (colored)

Catchup with rmind-uvmplock merge.

Revision 1.77 / (download) - annotate - [select for diffs], Thu Jun 16 09:21:02 2011 UTC (3 years, 3 months ago) by hannken
Branch: MAIN
Changes since 1.76: +4 -3 lines
Diff to previous 1.76 (colored)

Rename uvm_vnp_zerorange(struct vnode *, off_t, size_t) to
ubc_zerorange(struct uvm_object *, off_t, size_t, int) changing
the first argument to an uvm_object and adding a flags argument.

Modify tmpfs_reg_resize() to zero the backing store (aobj) instead
of the vnode.  Ubc_purge() no longer panics when unmounting tmpfs.

Keep uvm_vnp_zerorange() until the next kernel version bump.

Revision 1.76 / (download) - annotate - [select for diffs], Sun Jun 12 03:35:53 2011 UTC (3 years, 3 months ago) by rmind
Branch: MAIN
Changes since 1.75: +6 -6 lines
Diff to previous 1.75 (colored)

Welcome to 5.99.53!  Merge rmind-uvmplock branch:

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

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

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

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

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

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

Revision 1.71.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:09:22 2011 UTC (3 years, 3 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.71: +12 -10 lines
Diff to previous 1.71 (colored) next main 1.72 (colored)

Sync with HEAD.

Revision 1.61.4.6 / (download) - annotate - [select for diffs], Tue May 31 03:04:59 2011 UTC (3 years, 3 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.61.4.5: +2 -4 lines
Diff to previous 1.61.4.5 (colored) to branchpoint 1.61 (colored) next main 1.62 (colored)

sync with head

Revision 1.75 / (download) - annotate - [select for diffs], Tue Apr 26 11:32:38 2011 UTC (3 years, 4 months ago) by hannken
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase, rmind-uvmplock-base, cherry-xenmp-base
Branch point for: cherry-xenmp
Changes since 1.74: +4 -6 lines
Diff to previous 1.74 (colored)

Change vflushbuf() to return an error if a synchronous write fails.

Welcome to 5.99.51.

Revision 1.61.4.5 / (download) - annotate - [select for diffs], Thu Apr 21 01:42:06 2011 UTC (3 years, 5 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.61.4.4: +7 -3 lines
Diff to previous 1.61.4.4 (colored) to branchpoint 1.61 (colored)

sync with head

Revision 1.74 / (download) - annotate - [select for diffs], Sun Mar 20 12:21:28 2011 UTC (3 years, 6 months ago) by hannken
Branch: MAIN
Changes since 1.73: +7 -2 lines
Diff to previous 1.73 (colored)

When extending a file, either by truncating or by writing past EOF make
sure the unallocated remainder of the last page gets zeroed.

Detected by fsx.

Revision 1.73 / (download) - annotate - [select for diffs], Sat Mar 19 20:05:21 2011 UTC (3 years, 6 months ago) by hannken
Branch: MAIN
Changes since 1.72: +4 -5 lines
Diff to previous 1.72 (colored)

Remove a vnode reference leak from msdosfs_rename. Release tdvp if either
doscheckpath() or relookup() fails.

Adjust test fs/vfs/t_vnops.c and remove the link count test for msdos.

Fixes PR #44661

Revision 1.61.4.4 / (download) - annotate - [select for diffs], Sat Mar 5 20:55:05 2011 UTC (3 years, 6 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.61.4.3: +13 -52 lines
Diff to previous 1.61.4.3 (colored) to branchpoint 1.61 (colored)

sync with head

Revision 1.71.4.1 / (download) - annotate - [select for diffs], Sat Mar 5 15:10:38 2011 UTC (3 years, 6 months ago) by bouyer
Branch: bouyer-quota2
Changes since 1.71: +3 -3 lines
Diff to previous 1.71 (colored) next main 1.72 (colored)

Sync with HEAD

Revision 1.72 / (download) - annotate - [select for diffs], Thu Mar 3 08:10:45 2011 UTC (3 years, 6 months ago) by pooka
Branch: MAIN
CVS Tags: bouyer-quota2-nbase
Changes since 1.71: +3 -3 lines
Diff to previous 1.71 (colored)

In rename, use char[12]áŠor new names instead of [11].  At least
one routine called from here (unix2dosfn) expects and uses all of
a [12].

This may fix the "stack size exceeded" problem which has been
triggering in gson's test runs.  (i'm not entirely sure why it
doesn't trigger in anyone else's env)

Revision 1.71 / (download) - annotate - [select for diffs], Sun Jan 2 05:09:30 2011 UTC (3 years, 8 months ago) by dholland
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231, jruoho-x86intr-base, bouyer-quota2-base
Branch point for: jruoho-x86intr, bouyer-quota2
Changes since 1.70: +10 -28 lines
Diff to previous 1.70 (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.70 / (download) - annotate - [select for diffs], Tue Nov 30 10:43:03 2010 UTC (3 years, 9 months ago) by dholland
Branch: MAIN
Changes since 1.69: +2 -15 lines
Diff to previous 1.69 (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.69 / (download) - annotate - [select for diffs], Tue Nov 30 10:29:59 2010 UTC (3 years, 9 months ago) by dholland
Branch: MAIN
Changes since 1.68: +3 -11 lines
Diff to previous 1.68 (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.61.2.2 / (download) - annotate - [select for diffs], Tue Aug 17 06:47:17 2010 UTC (4 years, 1 month ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.61.2.1: +14 -15 lines
Diff to previous 1.61.2.1 (colored) to branchpoint 1.61 (colored) next main 1.62 (colored)

Sync with HEAD.

Revision 1.50.2.5 / (download) - annotate - [select for diffs], Wed Aug 11 22:54:33 2010 UTC (4 years, 1 month ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.50.2.4: +90 -139 lines
Diff to previous 1.50.2.4 (colored) to branchpoint 1.50 (colored) next main 1.51 (colored)

sync with head.

Revision 1.68 / (download) - annotate - [select for diffs], Thu Jul 22 18:08:11 2010 UTC (4 years, 1 month ago) by njoly
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2
Changes since 1.67: +3 -3 lines
Diff to previous 1.67 (colored)

Remove bad cast, fix compilation with MSDOSFS_DEBUG.

Revision 1.61.4.3 / (download) - annotate - [select for diffs], Sat Jul 3 01:19:50 2010 UTC (4 years, 2 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.61.4.2: +15 -15 lines
Diff to previous 1.61.4.2 (colored) to branchpoint 1.61 (colored)

sync with head

Revision 1.67 / (download) - annotate - [select for diffs], Thu Jun 24 13:03:09 2010 UTC (4 years, 2 months ago) by hannken
Branch: MAIN
Changes since 1.66: +15 -15 lines
Diff to previous 1.66 (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.61.4.2 / (download) - annotate - [select for diffs], Sun May 30 05:17:55 2010 UTC (4 years, 3 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.61.4.1: +76 -125 lines
Diff to previous 1.61.4.1 (colored) to branchpoint 1.61 (colored)

sync with head

Revision 1.66 / (download) - annotate - [select for diffs], Tue May 25 10:15:34 2010 UTC (4 years, 3 months ago) by pooka
Branch: MAIN
Changes since 1.65: +2 -3 lines
Diff to previous 1.65 (colored)

Don't double unlock fvp if source file disappears during rename.
Problem found by njoly's awesome stresstester.

Revision 1.61.2.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:44:06 2010 UTC (4 years, 4 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.61: +76 -124 lines
Diff to previous 1.61 (colored)

Sync with HEAD.

Revision 1.65 / (download) - annotate - [select for diffs], Fri Apr 23 15:38:46 2010 UTC (4 years, 4 months ago) by pooka
Branch: MAIN
CVS Tags: uebayasi-xip-base1
Changes since 1.64: +2 -14 lines
Diff to previous 1.64 (colored)

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

Revision 1.64 / (download) - annotate - [select for diffs], Fri Apr 9 08:09:18 2010 UTC (4 years, 5 months ago) by hannken
Branch: MAIN
Changes since 1.63: +71 -23 lines
Diff to previous 1.63 (colored)

Add file system suspension support (vfs_suspend(9)) to msdosfs.

Reviewed by: Antti Kantee <pooka@netbsd.org>

Revision 1.63 / (download) - annotate - [select for diffs], Thu Apr 8 16:04:35 2010 UTC (4 years, 5 months ago) by pooka
Branch: MAIN
Changes since 1.62: +5 -58 lines
Diff to previous 1.62 (colored)

In genfs where available.

The only functional change is mknod now returning EOPNOTSUPP instead
of EINVAL.  I make this sacrifice willingly and with a clean conscience.

Revision 1.62 / (download) - annotate - [select for diffs], Thu Apr 8 15:03:33 2010 UTC (4 years, 5 months ago) by pooka
Branch: MAIN
Changes since 1.61: +4 -35 lines
Diff to previous 1.61 (colored)

Use genfs instead of homegrown stuff where possible.

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

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

Revision 1.57.2.2 / (download) - annotate - [select for diffs], Thu Jul 23 23:32:32 2009 UTC (5 years, 1 month ago) by jym
Branch: jym-xensuspend
Changes since 1.57.2.1: +41 -18 lines
Diff to previous 1.57.2.1 (colored) to branchpoint 1.57 (colored) next main 1.58 (colored)

Sync with HEAD.

Revision 1.50.2.4 / (download) - annotate - [select for diffs], Sat Jul 18 14:53:21 2009 UTC (5 years, 2 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.50.2.3: +41 -18 lines
Diff to previous 1.50.2.3 (colored) to branchpoint 1.50 (colored)

sync with head.

Revision 1.61 / (download) - annotate - [select for diffs], Fri Jul 3 21:17:40 2009 UTC (5 years, 2 months ago) by elad
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, uebayasi-xip-base, matt-premerge-20091211, jymxensuspend-base, jym-xensuspend-nbase
Branch point for: uebayasi-xip, rmind-uvmplock
Changes since 1.60: +41 -18 lines
Diff to previous 1.60 (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.60 / (download) - annotate - [select for diffs], Tue Jun 23 19:36:39 2009 UTC (5 years, 2 months ago) by elad
Branch: MAIN
Changes since 1.59: +3 -3 lines
Diff to previous 1.59 (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.50.2.3 / (download) - annotate - [select for diffs], Sat May 16 10:41:47 2009 UTC (5 years, 4 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.50.2.2: +5 -7 lines
Diff to previous 1.50.2.2 (colored) to branchpoint 1.50 (colored)

sync with head

Revision 1.57.2.1 / (download) - annotate - [select for diffs], Wed May 13 17:21:50 2009 UTC (5 years, 4 months ago) by jym
Branch: jym-xensuspend
Changes since 1.57: +26 -49 lines
Diff to previous 1.57 (colored)

Sync with HEAD.

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

Revision 1.59 / (download) - annotate - [select for diffs], Thu May 7 19:30:31 2009 UTC (5 years, 4 months ago) by elad
Branch: MAIN
CVS Tags: yamt-nfs-mp-base5, yamt-nfs-mp-base4, jym-xensuspend-base
Changes since 1.58: +5 -7 lines
Diff to previous 1.58 (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.50.2.2 / (download) - annotate - [select for diffs], Mon May 4 08:13:43 2009 UTC (5 years, 4 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.50.2.1: +40 -67 lines
Diff to previous 1.50.2.1 (colored) to branchpoint 1.50 (colored)

sync with head.

Revision 1.52.6.2 / (download) - annotate - [select for diffs], Tue Apr 28 07:36:53 2009 UTC (5 years, 4 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.52.6.1: +23 -44 lines
Diff to previous 1.52.6.1 (colored) to branchpoint 1.52 (colored) next main 1.53 (colored)

Sync with HEAD.

Revision 1.58 / (download) - annotate - [select for diffs], Sat Mar 14 21:04:23 2009 UTC (5 years, 6 months ago) by dsl
Branch: MAIN
CVS Tags: yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base
Changes since 1.57: +23 -44 lines
Diff to previous 1.57 (colored)

ANSIfy another 1261 function definitions.
The only ones left in sys are beyond by sed script!
(or in sys/dist or sys/external)
Mostly they have function pointer parameters.

Revision 1.52.6.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:19:33 2009 UTC (5 years, 8 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.52: +13 -21 lines
Diff to previous 1.52 (colored)

Sync with HEAD.

Revision 1.49.6.2 / (download) - annotate - [select for diffs], Sat Jan 17 13:29:16 2009 UTC (5 years, 8 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.49.6.1: +11 -19 lines
Diff to previous 1.49.6.1 (colored) to branchpoint 1.49 (colored) next main 1.50 (colored)

Sync with HEAD.

Revision 1.57 / (download) - annotate - [select for diffs], Sun Jan 11 10:25:29 2009 UTC (5 years, 8 months ago) by cegger
Branch: MAIN
CVS Tags: nick-hppapmap-base2, mjf-devfs2-base
Branch point for: jym-xensuspend
Changes since 1.56: +4 -4 lines
Diff to previous 1.56 (colored)

make this compile

Revision 1.56 / (download) - annotate - [select for diffs], Sun Jan 11 02:45:51 2009 UTC (5 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.55: +4 -3 lines
Diff to previous 1.55 (colored)

merge christos-time_t

Revision 1.52.10.4 / (download) - annotate - [select for diffs], Sat Dec 27 23:14:24 2008 UTC (5 years, 8 months ago) by christos
Branch: christos-time_t
Changes since 1.52.10.3: +8 -16 lines
Diff to previous 1.52.10.3 (colored) to branchpoint 1.52 (colored) next main 1.53 (colored)

merge with head.

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

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

Revision 1.55 / (download) - annotate - [select for diffs], Fri Nov 28 10:57:03 2008 UTC (5 years, 9 months ago) by pooka
Branch: MAIN
CVS Tags: haad-nbase2, haad-dm-base2, haad-dm-base, christos-time_t-nbase, christos-time_t-base, ad-audiomp2-base, ad-audiomp2
Changes since 1.54: +3 -3 lines
Diff to previous 1.54 (colored)

Tyop: v -> vp.  Spotted by Tom's ARM builds.

Revision 1.54 / (download) - annotate - [select for diffs], Wed Nov 26 20:17:33 2008 UTC (5 years, 9 months ago) by pooka
Branch: MAIN
Changes since 1.53: +8 -16 lines
Diff to previous 1.53 (colored)

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

Revision 1.52.10.3 / (download) - annotate - [select for diffs], Thu Nov 20 20:45:38 2008 UTC (5 years, 9 months ago) by christos
Branch: christos-time_t
Changes since 1.52.10.2: +3 -4 lines
Diff to previous 1.52.10.2 (colored) to branchpoint 1.52 (colored)

merge with head.

Revision 1.53 / (download) - annotate - [select for diffs], Fri Nov 14 12:59:44 2008 UTC (5 years, 10 months ago) by pooka
Branch: MAIN
Changes since 1.52: +3 -4 lines
Diff to previous 1.52 (colored)

In case writing past EOF, fail if extending the file fails (most
likely due to the file system being full).

Otherwise we'd fail in VOP_PUTPAGES(), which might not happen during
VOP_WRITE(), thus giving the caller the wrong impression that
writing was succesful.

Revision 1.52.10.2 / (download) - annotate - [select for diffs], Sun Nov 9 02:05:20 2008 UTC (5 years, 10 months ago) by christos
Branch: christos-time_t
Changes since 1.52.10.1: +1998 -0 lines
Diff to previous 1.52.10.1 (colored) to branchpoint 1.52 (colored)

account for major and minor being unsigned long long

Revision 1.51.2.1 / (download) - annotate - [select for diffs], Mon Jun 23 04:31:47 2008 UTC (6 years, 2 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.51: +8 -6 lines
Diff to previous 1.51 (colored) next main 1.52 (colored)

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

Revision 1.34.2.1.2.1 / (download) - annotate - [select for diffs], Tue Jun 3 20:47:41 2008 UTC (6 years, 3 months ago) by skrll
Branch: wrstuden-fixsa
Changes since 1.34.2.1: +44 -24 lines
Diff to previous 1.34.2.1 (colored) next main 1.34.2.2 (colored)

Sync with netbsd-4.

Revision 1.49.6.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:24:05 2008 UTC (6 years, 3 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.49: +12 -10 lines
Diff to previous 1.49 (colored)

Sync with HEAD.

Revision 1.49.8.1 / (download) - annotate - [select for diffs], Sun May 18 12:35:02 2008 UTC (6 years, 4 months ago) by yamt
Branch: yamt-pf42
Changes since 1.49: +12 -10 lines
Diff to previous 1.49 (colored) next main 1.50 (colored)

sync with head.

Revision 1.52.10.1, Fri May 16 09:21:59 2008 UTC (6 years, 4 months ago) by christos
Branch: christos-time_t
Changes since 1.52: +0 -1997 lines
FILE REMOVED

file msdosfs_vnops.c was added on branch christos-time_t on 2008-11-09 02:05:20 +0000

Revision 1.52 / (download) - annotate - [select for diffs], Fri May 16 09:21:59 2008 UTC (6 years, 4 months ago) by hannken
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-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-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, hpcarm-cleanup-nbase, haad-dm-base1
Branch point for: nick-hppapmap, haad-dm, christos-time_t
Changes since 1.51: +8 -6 lines
Diff to previous 1.51 (colored)

Make sure all cached buffers with valid, not yet written data have been
run through copy-on-write.  Call fscow_run() with valid data where possible.

The LP_UFSCOW hack is no longer needed to protect ffs_copyonwrite() against
endless recursion.

- Add a flag B_MODIFY to bread(), breada() and breadn().  If set the caller
  intends to modify the buffer returned.

- Always run copy-on-write on buffers returned from ffs_balloc().

- Add new function ffs_getblk() that gets a buffer, assigns a new blkno,
  may clear the buffer and runs copy-on-write.  Process possible errors
  from getblk() or fscow_run().  Part of PR kern/38664.

Welcome to 4.99.63

Reviewed by: YAMAMOTO Takashi <yamt@netbsd.org>

Revision 1.50.2.1 / (download) - annotate - [select for diffs], Fri May 16 02:25:18 2008 UTC (6 years, 4 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.50: +4 -4 lines
Diff to previous 1.50 (colored)

sync with head.

Revision 1.51 / (download) - annotate - [select for diffs], Wed Apr 30 14:07:14 2008 UTC (6 years, 4 months ago) by ad
Branch: MAIN
CVS Tags: yamt-nfs-mp-base2
Branch point for: wrstuden-revivesa
Changes since 1.50: +4 -4 lines
Diff to previous 1.50 (colored)

Make various bits of debug code compile again.

Revision 1.50 / (download) - annotate - [select for diffs], Thu Apr 24 15:35:28 2008 UTC (6 years, 4 months ago) by ad
Branch: MAIN
CVS Tags: yamt-nfs-mp-base
Branch point for: yamt-nfs-mp
Changes since 1.49: +4 -4 lines
Diff to previous 1.49 (colored)

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

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

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

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

Revision 1.40.6.3 / (download) - annotate - [select for diffs], Sun Mar 23 02:04:56 2008 UTC (6 years, 5 months ago) by matt
Branch: matt-armv6
Changes since 1.40.6.2: +3 -6 lines
Diff to previous 1.40.6.2 (colored) to branchpoint 1.40 (colored) next main 1.41 (colored)

sync with HEAD

Revision 1.42.4.3 / (download) - annotate - [select for diffs], Mon Feb 18 21:06:39 2008 UTC (6 years, 7 months ago) by mjf
Branch: mjf-devfs
Changes since 1.42.4.2: +36 -17 lines
Diff to previous 1.42.4.2 (colored) to branchpoint 1.42 (colored) next main 1.43 (colored)

Sync with HEAD.

Revision 1.14.4.9 / (download) - annotate - [select for diffs], Mon Feb 4 09:23:46 2008 UTC (6 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.14.4.8: +3 -6 lines
Diff to previous 1.14.4.8 (colored) to branchpoint 1.14 (colored) next main 1.15 (colored)

sync with head.

Revision 1.34.2.2 / (download) - annotate - [select for diffs], Fri Feb 1 14:50:26 2008 UTC (6 years, 7 months ago) by riz
Branch: netbsd-4
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base
Changes since 1.34.2.1: +44 -24 lines
Diff to previous 1.34.2.1 (colored) to branchpoint 1.34 (colored) next main 1.35 (colored)

Pull up following revision(s) (requested by pooka in ticket #1007):
	sys/fs/msdosfs/msdosfs_vnops.c: revision 1.43
Fix a problem noticed by Reinoud: the fs would try to release an
unlocked vnode when trying to rename a directory.  The fix was to
shuffle some bits around and #pray.
The rename routine actually needs a very very major wide-angle whopping:
 * it takes locks out-of-order
 * it deals with references from SAVESTART lookups in interesting ways
 * I doubt there is any guarantee for correct operation if there
   are multiple concurrent accesses
 * the error branches might just as well call panic() directly

Revision 1.49 / (download) - annotate - [select for diffs], Wed Jan 30 09:50:20 2008 UTC (6 years, 7 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base, ad-socklock-base1
Branch point for: yamt-pf42, mjf-devfs2
Changes since 1.48: +3 -5 lines
Diff to previous 1.48 (colored)

Replace struct lock on vnodes with a simpler lock object built on
krwlock_t. This is a step towards removing lockmgr and simplifying
vnode locking. Discussed on tech-kern.

Revision 1.48 / (download) - annotate - [select for diffs], Fri Jan 25 14:32:12 2008 UTC (6 years, 7 months ago) by ad
Branch: MAIN
Changes since 1.47: +2 -3 lines
Diff to previous 1.47 (colored)

Remove VOP_LEASE. Discussed on tech-kern.

Revision 1.14.4.8 / (download) - annotate - [select for diffs], Mon Jan 21 09:45:47 2008 UTC (6 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.14.4.7: +35 -13 lines
Diff to previous 1.14.4.7 (colored) to branchpoint 1.14 (colored)

sync with head

Revision 1.40.6.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:55:44 2008 UTC (6 years, 8 months ago) by matt
Branch: matt-armv6
Changes since 1.40.6.1: +83 -48 lines
Diff to previous 1.40.6.1 (colored) to branchpoint 1.40 (colored)

sync with HEAD

Revision 1.44.6.2 / (download) - annotate - [select for diffs], Tue Jan 8 22:11:25 2008 UTC (6 years, 8 months ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.44.6.1: +24 -6 lines
Diff to previous 1.44.6.1 (colored) to branchpoint 1.44 (colored) next main 1.45 (colored)

Sync with HEAD

Revision 1.47 / (download) - annotate - [select for diffs], Sat Jan 5 18:42:14 2008 UTC (6 years, 8 months ago) by christos
Branch: MAIN
CVS Tags: matt-armv6-base, bouyer-xeni386-nbase, bouyer-xeni386-base
Changes since 1.46: +26 -8 lines
Diff to previous 1.46 (colored)

PR/37696: Paul Ripke: add large read / readahead support (Introduce run-length
detection to msdosfs_bmap(), from FreeBSD)

Revision 1.44.6.1 / (download) - annotate - [select for diffs], Wed Jan 2 21:55:31 2008 UTC (6 years, 8 months ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.44: +11 -7 lines
Diff to previous 1.44 (colored)

Sync with HEAD

Revision 1.46 / (download) - annotate - [select for diffs], Wed Jan 2 11:48:42 2008 UTC (6 years, 8 months ago) by ad
Branch: MAIN
Changes since 1.45: +6 -6 lines
Diff to previous 1.45 (colored)

Merge vmlocking2 to head.

Revision 1.45 / (download) - annotate - [select for diffs], Fri Dec 28 17:46:48 2007 UTC (6 years, 8 months ago) by reinoud
Branch: MAIN
Changes since 1.44: +7 -3 lines
Diff to previous 1.44 (colored)

Use uvm_vnp_setwritesize() on file extending to instruct UVM to NOT read-in
the newly added space first. This significantly speeds up write speed for
msdosfs and making it at par with ffs wich already had this patched.

Speed increase measured on my IDE disc from 2Mb/sec to 32 Mb/sec

Revision 1.42.4.2 / (download) - annotate - [select for diffs], Sat Dec 8 18:20:16 2007 UTC (6 years, 9 months ago) by mjf
Branch: mjf-devfs
Changes since 1.42.4.1: +8 -15 lines
Diff to previous 1.42.4.1 (colored) to branchpoint 1.42 (colored)

Sync with HEAD.

Revision 1.14.4.7 / (download) - annotate - [select for diffs], Fri Dec 7 17:31:59 2007 UTC (6 years, 9 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.14.4.6: +8 -15 lines
Diff to previous 1.14.4.6 (colored) to branchpoint 1.14 (colored)

sync with head

Revision 1.44.2.1 / (download) - annotate - [select for diffs], Tue Dec 4 13:03:05 2007 UTC (6 years, 9 months ago) by ad
Branch: vmlocking2
Changes since 1.44: +6 -6 lines
Diff to previous 1.44 (colored) next main 1.45 (colored)

Pull the vmlocking changes into a new branch.

Revision 1.40.4.4 / (download) - annotate - [select for diffs], Tue Nov 27 19:37:42 2007 UTC (6 years, 9 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.40.4.3: +8 -15 lines
Diff to previous 1.40.4.3 (colored) to branchpoint 1.40 (colored) next main 1.41 (colored)

Sync with HEAD. amd64 Xen support needs testing.

Revision 1.44 / (download) - annotate - [select for diffs], Mon Nov 26 19:01:47 2007 UTC (6 years, 9 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, jmcneill-pm-base, cube-autoconf-base, cube-autoconf
Branch point for: vmlocking2, bouyer-xeni386
Changes since 1.43: +8 -15 lines
Diff to previous 1.43 (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.40.4.3 / (download) - annotate - [select for diffs], Wed Nov 21 21:55:53 2007 UTC (6 years, 9 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.40.4.2: +44 -24 lines
Diff to previous 1.40.4.2 (colored) to branchpoint 1.40 (colored)

Sync with HEAD.

Revision 1.42.4.1 / (download) - annotate - [select for diffs], Mon Nov 19 00:48:27 2007 UTC (6 years, 10 months ago) by mjf
Branch: mjf-devfs
Changes since 1.42: +44 -24 lines
Diff to previous 1.42 (colored)

Sync with HEAD.

Revision 1.42.2.1 / (download) - annotate - [select for diffs], Sun Nov 18 19:35:43 2007 UTC (6 years, 10 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.42: +44 -24 lines
Diff to previous 1.42 (colored) next main 1.43 (colored)

Sync with HEAD

Revision 1.14.4.6 / (download) - annotate - [select for diffs], Thu Nov 15 11:44:34 2007 UTC (6 years, 10 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.14.4.5: +44 -24 lines
Diff to previous 1.14.4.5 (colored) to branchpoint 1.14 (colored)

sync with head.

Revision 1.43 / (download) - annotate - [select for diffs], Wed Nov 14 19:16:29 2007 UTC (6 years, 10 months ago) by pooka
Branch: MAIN
CVS Tags: bouyer-xenamd64-base2, bouyer-xenamd64-base
Changes since 1.42: +44 -24 lines
Diff to previous 1.42 (colored)

Fix a problem noticed by Reinoud: the fs would try to release an
unlocked vnode when trying to rename a directory.  The fix was to
shuffle some bits around and #pray.

The rename routine actually needs a very very major wide-angle whopping:
 * it takes locks out-of-order
 * it deals with references from SAVESTART lookups in interesting ways
 * I doubt there is any guarantee for correct operation if there
   are multiple concurrent accesses
 * the error branches might just as well call panic() directly

Revision 1.40.6.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:31:10 2007 UTC (6 years, 10 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.40: +42 -42 lines
Diff to previous 1.40 (colored)

sync with HEAD

Revision 1.14.4.5 / (download) - annotate - [select for diffs], Sat Oct 27 11:35:06 2007 UTC (6 years, 10 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.14.4.4: +42 -42 lines
Diff to previous 1.14.4.4 (colored) to branchpoint 1.14 (colored)

sync with head.

Revision 1.40.4.2 / (download) - annotate - [select for diffs], Fri Oct 26 15:48:16 2007 UTC (6 years, 10 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.40.4.1: +11 -11 lines
Diff to previous 1.40.4.1 (colored) to branchpoint 1.40 (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.40.8.2 / (download) - annotate - [select for diffs], Sun Oct 14 11:48:29 2007 UTC (6 years, 11 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.40.8.1: +11 -11 lines
Diff to previous 1.40.8.1 (colored) to branchpoint 1.40 (colored) next main 1.41 (colored)

sync with head.

Revision 1.38.2.6 / (download) - annotate - [select for diffs], Tue Oct 9 15:22:15 2007 UTC (6 years, 11 months ago) by ad
Branch: vmlocking
Changes since 1.38.2.5: +33 -33 lines
Diff to previous 1.38.2.5 (colored) to branchpoint 1.38 (colored) next main 1.39 (colored)

Sync with head.

Revision 1.42 / (download) - annotate - [select for diffs], Mon Oct 8 18:04:04 2007 UTC (6 years, 11 months ago) by ad
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, vmlocking-base, jmcneill-base
Branch point for: mjf-devfs, bouyer-xenamd64
Changes since 1.41: +11 -11 lines
Diff to previous 1.41 (colored)

Merge brelse() changes from the vmlocking branch.

Revision 1.40.8.1 / (download) - annotate - [select for diffs], Sat Oct 6 15:29:46 2007 UTC (6 years, 11 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.40: +33 -33 lines
Diff to previous 1.40 (colored)

sync with head.

Revision 1.40.4.1 / (download) - annotate - [select for diffs], Tue Oct 2 18:28:51 2007 UTC (6 years, 11 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.40: +33 -33 lines
Diff to previous 1.40 (colored)

Sync with HEAD.

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

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

Revision 1.14.4.4 / (download) - annotate - [select for diffs], Mon Sep 3 14:40:26 2007 UTC (7 years ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.14.4.3: +8 -6 lines
Diff to previous 1.14.4.3 (colored) to branchpoint 1.14 (colored)

sync with head.

Revision 1.38.2.5 / (download) - annotate - [select for diffs], Mon Aug 20 21:26:07 2007 UTC (7 years, 1 month ago) by ad
Branch: vmlocking
Changes since 1.38.2.4: +3 -3 lines
Diff to previous 1.38.2.4 (colored) to branchpoint 1.38 (colored)

Sync with HEAD.

Revision 1.38.2.4 / (download) - annotate - [select for diffs], Sun Aug 19 19:24:50 2007 UTC (7 years, 1 month ago) by ad
Branch: vmlocking
Changes since 1.38.2.3: +3 -3 lines
Diff to previous 1.38.2.3 (colored) to branchpoint 1.38 (colored)

- Back out the biodone() changes.
- Eliminate B_ERROR (from HEAD).

Revision 1.39.2.1 / (download) - annotate - [select for diffs], Wed Aug 15 13:48:57 2007 UTC (7 years, 1 month ago) by skrll
Branch: nick-csl-alignment
Changes since 1.39: +3 -3 lines
Diff to previous 1.39 (colored) next main 1.40 (colored)

Sync with HEAD.

Revision 1.40.10.2 / (download) - annotate - [select for diffs], Sun Jul 29 21:17:42 2007 UTC (7 years, 1 month ago) by rumble
Branch: matt-mips64
Changes since 1.40.10.1: +1963 -0 lines
Diff to previous 1.40.10.1 (colored) to branchpoint 1.40 (colored) next main 1.41 (colored)

Use _DIRENT_MINSIZE when determining the number of NFS cookies to allocate,
rather than hard-coding 16.

Revision 1.40.10.1, Sun Jul 29 21:17:41 2007 UTC (7 years, 1 month ago) by rumble
Branch: matt-mips64
Changes since 1.40: +0 -1963 lines
FILE REMOVED

file msdosfs_vnops.c was added on branch matt-mips64 on 2007-07-29 21:17:42 +0000

Revision 1.40 / (download) - annotate - [select for diffs], Sun Jul 29 21:17:41 2007 UTC (7 years, 1 month ago) by rumble
Branch: MAIN
CVS Tags: yamt-x86pmap-base, nick-csl-alignment-base5, matt-mips64-base, hpcarm-cleanup
Branch point for: yamt-x86pmap, matt-mips64, matt-armv6, jmcneill-pm
Changes since 1.39: +3 -3 lines
Diff to previous 1.39 (colored)

Use _DIRENT_MINSIZE when determining the number of NFS cookies to allocate,
rather than hard-coding 16.

Revision 1.38.4.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:09:25 2007 UTC (7 years, 2 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.38: +4 -2 lines
Diff to previous 1.38 (colored) next main 1.39 (colored)

Sync with head.

Revision 1.38.2.3 / (download) - annotate - [select for diffs], Fri Jun 8 14:15:00 2007 UTC (7 years, 3 months ago) by ad
Branch: vmlocking
Changes since 1.38.2.2: +4 -2 lines
Diff to previous 1.38.2.2 (colored) to branchpoint 1.38 (colored)

Sync with head.

Revision 1.38.2.2 / (download) - annotate - [select for diffs], Sun May 13 17:36:32 2007 UTC (7 years, 4 months ago) by ad
Branch: vmlocking
Changes since 1.38.2.1: +12 -12 lines
Diff to previous 1.38.2.1 (colored) to branchpoint 1.38 (colored)

- Pass the error number and residual count to biodone(), and let it handle
  setting error indicators. Prepare to eliminate B_ERROR.
- Add a flag argument to brelse() to be set into the buf's flags, instead
  of doing it directly. Typically used to set B_INVAL.
- Add a "struct cpu_info *" argument to kthread_create(), to be used to
  create bound threads. Change "bool mpsafe" to "int flags".
- Allow exit of LWPs in the IDL state when (l != curlwp).
- More locking fixes & conversion to the new API.

Revision 1.36.2.3 / (download) - annotate - [select for diffs], Mon May 7 10:55:41 2007 UTC (7 years, 4 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.36.2.2: +4 -2 lines
Diff to previous 1.36.2.2 (colored) to branchpoint 1.36 (colored) next main 1.37 (colored)

sync with head.

Revision 1.39 / (download) - annotate - [select for diffs], Thu Apr 19 11:05:14 2007 UTC (7 years, 5 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-idlelwp-base8, nick-csl-alignment-base, mjf-ufs-trans-base
Branch point for: nick-csl-alignment
Changes since 1.38: +4 -2 lines
Diff to previous 1.38 (colored)

hold proclist_mutex when calling psignal().

Revision 1.38.2.1 / (download) - annotate - [select for diffs], Tue Mar 13 17:50:39 2007 UTC (7 years, 6 months ago) by ad
Branch: vmlocking
Changes since 1.38: +6 -6 lines
Diff to previous 1.38 (colored)

Pull in the initial set of changes for the vmlocking branch.

Revision 1.36.2.2 / (download) - annotate - [select for diffs], Mon Mar 12 05:58:11 2007 UTC (7 years, 6 months ago) by rmind
Branch: yamt-idlelwp
Changes since 1.36.2.1: +5 -5 lines
Diff to previous 1.36.2.1 (colored) to branchpoint 1.36 (colored)

Sync with HEAD.

Revision 1.38 / (download) - annotate - [select for diffs], Sun Mar 4 06:03:00 2007 UTC (7 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup
Branch point for: vmlocking, mjf-ufs-trans
Changes since 1.37: +5 -5 lines
Diff to previous 1.37 (colored)

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

Revision 1.36.2.1 / (download) - annotate - [select for diffs], Tue Feb 27 16:54:12 2007 UTC (7 years, 6 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.36: +3 -3 lines
Diff to previous 1.36 (colored)

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

Revision 1.14.4.3 / (download) - annotate - [select for diffs], Mon Feb 26 09:10:56 2007 UTC (7 years, 6 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.14.4.2: +6 -6 lines
Diff to previous 1.14.4.2 (colored) to branchpoint 1.14 (colored)

sync with head.

Revision 1.37 / (download) - annotate - [select for diffs], Wed Feb 21 23:00:03 2007 UTC (7 years, 6 months ago) by thorpej
Branch: MAIN
CVS Tags: ad-audiomp-base, ad-audiomp
Changes since 1.36: +3 -3 lines
Diff to previous 1.36 (colored)

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

Revision 1.34.2.1 / (download) - annotate - [select for diffs], Sat Feb 17 23:27:44 2007 UTC (7 years, 7 months ago) by tron
Branch: netbsd-4
CVS Tags: wrstuden-fixsa-base-1, 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
Branch point for: wrstuden-fixsa
Changes since 1.34: +10 -5 lines
Diff to previous 1.34 (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.30.4.2 / (download) - annotate - [select for diffs], Fri Jan 12 01:04:05 2007 UTC (7 years, 8 months ago) by ad
Branch: newlock2
Changes since 1.30.4.1: +33 -19 lines
Diff to previous 1.30.4.1 (colored) to branchpoint 1.30 (colored) next main 1.31 (colored)

Sync with head.

Revision 1.36 / (download) - annotate - [select for diffs], Thu Jan 4 15:42:38 2007 UTC (7 years, 8 months ago) by elad
Branch: MAIN
CVS Tags: post-newlock2-merge, newlock2-nbase, newlock2-base
Branch point for: yamt-idlelwp
Changes since 1.35: +5 -5 lines
Diff to previous 1.35 (colored)

Consistent usage of KAUTH_GENERIC_ISSUSER.

Revision 1.14.4.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:49:56 2006 UTC (7 years, 8 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.14.4.1: +37 -27 lines
Diff to previous 1.14.4.1 (colored) to branchpoint 1.14 (colored)

sync with head.

Revision 1.30.6.2 / (download) - annotate - [select for diffs], Sun Dec 10 07:18:38 2006 UTC (7 years, 9 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.30.6.1: +32 -18 lines
Diff to previous 1.30.6.1 (colored) to branchpoint 1.30 (colored) next main 1.31 (colored)

sync with head.

Revision 1.35 / (download) - annotate - [select for diffs], Sat Dec 9 16:11:51 2006 UTC (7 years, 9 months ago) by chs
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3
Changes since 1.34: +10 -5 lines
Diff to previous 1.34 (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.34 / (download) - annotate - [select for diffs], Sat Nov 25 12:17:30 2006 UTC (7 years, 9 months ago) by scw
Branch: MAIN
CVS Tags: netbsd-4-base
Branch point for: netbsd-4
Changes since 1.33: +22 -13 lines
Diff to previous 1.33 (colored)

Support FAT filesystems on non-DEV_BSIZE media.

Based on the patches provided in PR kern/17398 by Trevin Beattie.

Revision 1.30.4.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:39:18 2006 UTC (7 years, 10 months ago) by ad
Branch: newlock2
Changes since 1.30: +4 -8 lines
Diff to previous 1.30 (colored)

Sync with head.

Revision 1.33 / (download) - annotate - [select for diffs], Thu Nov 16 01:33:35 2006 UTC (7 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.32: +4 -4 lines
Diff to previous 1.32 (colored)

__unused removal on arguments; approved by core.

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

sync with head

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

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

Revision 1.14.2.3 / (download) - annotate - [select for diffs], Fri Oct 6 19:42:51 2006 UTC (7 years, 11 months ago) by ghen
Branch: netbsd-3
CVS Tags: netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-1-RELEASE, netbsd-3-1
Changes since 1.14.2.2: +0 -2 lines
Diff to previous 1.14.2.2 (colored) to branchpoint 1.14 (colored) next main 1.15 (colored)

Pull up following revision(s) (requested by xtraeme in ticket #1525):
	sys/fs/msdosfs/denode.h: revision 1.14
	sys/fs/msdosfs/msdosfs_vnops.c: revision 1.31
	sys/fs/msdosfs/msdosfs_fat.c: revision 1.11
Apply patch from PR kern/34583 sent by Rhialto, quoting him:
"Add a 3rd entry in the cache, which keeps the end position
 from just before extending a file.
 This has the desired effect of keeping the write speed constant."
And yes, that helps a lot copying large files... always at full speed
now. This closes my PR kern/30868 "Poor performance copying large files
on msdosfs".
Also remove a 2 if-statements testing the same condition, combine them.
All that from Rhialto, thank you very much.

Revision 1.30.2.1 / (download) - annotate - [select for diffs], Sat Sep 23 09:25:38 2006 UTC (7 years, 11 months ago) by ghen
Branch: abandoned-netbsd-4
Changes since 1.30: +2 -4 lines
Diff to previous 1.30 (colored) next main 1.31 (colored)

Pull up following revision(s) (requested by xtraeme in ticket #206):
	sys/fs/msdosfs/denode.h: revision 1.14
	sys/fs/msdosfs/msdosfs_vnops.c: revision 1.31
	sys/fs/msdosfs/msdosfs_fat.c: revision 1.11
Apply patch from PR kern/34583 sent by Rhialto, quoting him:
"Add a 3rd entry in the cache, which keeps the end position
 from just before extending a file.
 This has the desired effect of keeping the write speed constant."
And yes, that helps a lot copying large files... always at full speed
now. This closes my PR kern/30868 "Poor performance copying large files
on msdosfs".
Also remove a 2 if-statements testing the same condition, combine them.
All that from Rhialto, thank you very much.

Revision 1.31 / (download) - annotate - [select for diffs], Fri Sep 22 17:45:21 2006 UTC (7 years, 11 months ago) by xtraeme
Branch: MAIN
Changes since 1.30: +2 -4 lines
Diff to previous 1.30 (colored)

Apply patch from PR kern/34583 sent by Rhialto, quoting him:

"Add a 3rd entry in the cache, which keeps the end position
 from just before extending a file.
 This has the desired effect of keeping the write speed constant."

And yes, that helps a lot copying large files... always at full speed
now. This closes my PR kern/30868 "Poor performance copying large files
on msdosfs".

Also remove a 2 if-statements testing the same condition, combine them.

All that from Rhialto, thank you very much.

Revision 1.25.2.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:56:57 2006 UTC (8 years ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.25: +37 -29 lines
Diff to previous 1.25 (colored) next main 1.26 (colored)

sync with head

Revision 1.26.2.3 / (download) - annotate - [select for diffs], Fri Aug 11 15:45:34 2006 UTC (8 years, 1 month ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.26.2.2: +7 -7 lines
Diff to previous 1.26.2.2 (colored) to branchpoint 1.26 (colored) next main 1.27 (colored)

sync with head

Revision 1.30 / (download) - annotate - [select for diffs], Sun Jul 23 22:06:10 2006 UTC (8 years, 1 month 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
Branch point for: yamt-splraiseipl, newlock2, abandoned-netbsd-4
Changes since 1.29: +7 -7 lines
Diff to previous 1.29 (colored)

Use the LWP cached credentials where sane.

Revision 1.26.2.2 / (download) - annotate - [select for diffs], Mon Jun 26 12:52:55 2006 UTC (8 years, 2 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.26.2.1: +11 -6 lines
Diff to previous 1.26.2.1 (colored) to branchpoint 1.26 (colored)

sync with head.

Revision 1.14.4.1 / (download) - annotate - [select for diffs], Wed Jun 21 15:09:29 2006 UTC (8 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.14: +147 -96 lines
Diff to previous 1.14 (colored)

sync with head.

Revision 1.28.2.1 / (download) - annotate - [select for diffs], Mon Jun 19 04:07:14 2006 UTC (8 years, 3 months ago) by chap
Branch: chap-midi
Changes since 1.28: +11 -6 lines
Diff to previous 1.28 (colored) next main 1.29 (colored)

Sync with head.

Revision 1.29 / (download) - annotate - [select for diffs], Wed Jun 7 22:33:38 2006 UTC (8 years, 3 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.28: +11 -6 lines
Diff to previous 1.28 (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.25.4.3 / (download) - annotate - [select for diffs], Thu Jun 1 22:37:51 2006 UTC (8 years, 3 months ago) by kardel
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.25.4.2: +25 -21 lines
Diff to previous 1.25.4.2 (colored) to branchpoint 1.25 (colored) next main 1.26 (colored)

Sync with head.

Revision 1.26.6.1 / (download) - annotate - [select for diffs], Wed May 24 15:50:34 2006 UTC (8 years, 3 months ago) by tron
Branch: peter-altq
Changes since 1.26: +26 -22 lines
Diff to previous 1.26 (colored) next main 1.27 (colored)

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

Revision 1.26.2.1 / (download) - annotate - [select for diffs], Wed May 24 10:58:36 2006 UTC (8 years, 3 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.26: +26 -22 lines
Diff to previous 1.26 (colored)

sync with head.

Revision 1.28 / (download) - annotate - [select for diffs], Sun May 14 21:31:52 2006 UTC (8 years, 4 months ago) by elad
Branch: MAIN
CVS Tags: yamt-pdpolicy-base5, simonb-timecounters-base
Branch point for: chap-midi
Changes since 1.27: +25 -21 lines
Diff to previous 1.27 (colored)

integrate kauth.

Revision 1.26.4.4 / (download) - annotate - [select for diffs], Sat May 6 23:31:29 2006 UTC (8 years, 4 months ago) by christos
Branch: elad-kernelauth
Changes since 1.26.4.3: +3 -2 lines
Diff to previous 1.26.4.3 (colored) to branchpoint 1.26 (colored) next main 1.27 (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.25.4.2 / (download) - annotate - [select for diffs], Sat Apr 22 11:39:57 2006 UTC (8 years, 4 months ago) by simonb
Branch: simonb-timecounters
Changes since 1.25.4.1: +8 -7 lines
Diff to previous 1.25.4.1 (colored) to branchpoint 1.25 (colored)

Sync with head.

Revision 1.26.4.3 / (download) - annotate - [select for diffs], Wed Apr 19 05:03:55 2006 UTC (8 years, 5 months ago) by elad
Branch: elad-kernelauth
Changes since 1.26.4.2: +3 -3 lines
Diff to previous 1.26.4.2 (colored) to branchpoint 1.26 (colored)

sync with head.

Revision 1.27 / (download) - annotate - [select for diffs], Fri Apr 14 22:05:07 2006 UTC (8 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: elad-kernelauth-base
Changes since 1.26: +3 -3 lines
Diff to previous 1.26 (colored)

Coveriry CID 733: Remove dead code.

Revision 1.26.4.2 / (download) - annotate - [select for diffs], Fri Mar 10 14:23:39 2006 UTC (8 years, 6 months ago) by elad
Branch: elad-kernelauth
Changes since 1.26.4.1: +5 -5 lines
Diff to previous 1.26.4.1 (colored) to branchpoint 1.26 (colored)

generic_authorize() -> kauth_authorize_generic().

Revision 1.26.4.1 / (download) - annotate - [select for diffs], Wed Mar 8 01:31:33 2006 UTC (8 years, 6 months ago) by elad
Branch: elad-kernelauth
Changes since 1.26: +24 -21 lines
Diff to previous 1.26 (colored)

Adapt to kernel authorization KPI.

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

merge yamt-uio_vmspace branch.

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

Revision 1.24.2.2 / (download) - annotate - [select for diffs], Sat Feb 18 09:47:03 2006 UTC (8 years, 7 months ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.24.2.1: +4 -5 lines
Diff to previous 1.24.2.1 (colored) next main 1.25 (colored)

adapt the rest of MI code.

Revision 1.25.4.1 / (download) - annotate - [select for diffs], Sat Feb 4 14:12:49 2006 UTC (8 years, 7 months ago) by simonb
Branch: simonb-timecounters
Changes since 1.25: +8 -5 lines
Diff to previous 1.25 (colored)

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

Revision 1.24.2.1 / (download) - annotate - [select for diffs], Sun Jan 15 10:02:56 2006 UTC (8 years, 8 months ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.24: +3 -3 lines
Diff to previous 1.24 (colored)

sync with head.

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

Protect against uio_lwp being NULL from Pavel Cahyna

Revision 1.24 / (download) - annotate - [select for diffs], Sun Dec 11 12:24:25 2005 UTC (8 years, 9 months ago) by christos
Branch: MAIN
Branch point for: yamt-uio_vmspace
Changes since 1.23: +18 -18 lines
Diff to previous 1.23 (colored)

merge ktrace-lwp.

Revision 1.5.2.8 / (download) - annotate - [select for diffs], Sun Dec 11 10:29:10 2005 UTC (8 years, 9 months ago) by christos
Branch: ktrace-lwp
Changes since 1.5.2.7: +7 -4 lines
Diff to previous 1.5.2.7 (colored) next main 1.6 (colored)

Sync with head.

Revision 1.23 / (download) - annotate - [select for diffs], Tue Nov 29 22:52:02 2005 UTC (8 years, 9 months ago) by yamt
Branch: MAIN
CVS Tags: ktrace-lwp-base
Changes since 1.22: +7 -4 lines
Diff to previous 1.22 (colored)

merge yamt-readahead branch.

Revision 1.22.2.3 / (download) - annotate - [select for diffs], Sat Nov 19 17:36:59 2005 UTC (8 years, 10 months ago) by yamt
Branch: yamt-readahead
Changes since 1.22.2.2: +5 -7 lines
Diff to previous 1.22.2.2 (colored) to branchpoint 1.22 (colored) next main 1.23 (colored)

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

XXX can be disturbed by PGO_LOCKED.

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

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

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

Revision 1.22.2.1 / (download) - annotate - [select for diffs], Tue Nov 15 10:47:32 2005 UTC (8 years, 10 months ago) by yamt
Branch: yamt-readahead
CVS Tags: yamt-readahead-perfile
Changes since 1.22: +7 -2 lines
Diff to previous 1.22 (colored)

adapt the rest of filesystems which use genfs_getpages.

Revision 1.5.2.7 / (download) - annotate - [select for diffs], Thu Nov 10 14:09:27 2005 UTC (8 years, 10 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.5.2.6: +103 -63 lines
Diff to previous 1.5.2.6 (colored)

Sync with HEAD. Here we go again...

Revision 1.14.2.2 / (download) - annotate - [select for diffs], Sun Nov 6 13:32:22 2005 UTC (8 years, 10 months ago) by tron
Branch: netbsd-3
CVS Tags: netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, 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
Changes since 1.14.2.1: +7 -2 lines
Diff to previous 1.14.2.1 (colored) to branchpoint 1.14 (colored)

Pull up following revision(s) (requested by christos in ticket #937):
	sys/fs/msdosfs/denode.h: revision 1.10
	sys/fs/msdosfs/msdosfs_vnops.c: revision 1.22
PR/32003: Brian Buhrow: msdosfs doesn't properly zero out high cluster data
on non-FAT32 msdos filesystems.

Revision 1.9.4.2 / (download) - annotate - [select for diffs], Sun Nov 6 00:46:50 2005 UTC (8 years, 10 months ago) by riz
Branch: netbsd-2
Changes since 1.9.4.1: +7 -2 lines
Diff to previous 1.9.4.1 (colored) to branchpoint 1.9 (colored) next main 1.10 (colored)

Pull up following revision(s) (requested by christos in ticket #5972):
	sys/fs/msdosfs/denode.h: revision 1.10
	sys/fs/msdosfs/msdosfs_vnops.c: revision 1.22
PR/32003: Brian Buhrow: msdosfs doesn't properly zero out high cluster data
on non-FAT32 msdos filesystems.

Revision 1.22 / (download) - annotate - [select for diffs], Fri Nov 4 21:04:20 2005 UTC (8 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base
Branch point for: yamt-readahead
Changes since 1.21: +7 -2 lines
Diff to previous 1.21 (colored)

PR/32003: Brian Buhrow: msdosfs doesn't properly zero out high cluster data
on non-FAT32 msdos filesystems.

Revision 1.21 / (download) - annotate - [select for diffs], Wed Nov 2 12:38:58 2005 UTC (8 years, 10 months ago) by yamt
Branch: MAIN
Changes since 1.20: +43 -31 lines
Diff to previous 1.20 (colored)

merge yamt-vop branch.  remove following VOPs.

	VOP_BLKATOFF
	VOP_VALLOC
	VOP_BALLOC
	VOP_REALLOCBLKS
	VOP_VFREE
	VOP_TRUNCATE
	VOP_UPDATE

Revision 1.20.2.1 / (download) - annotate - [select for diffs], Thu Oct 20 03:18:45 2005 UTC (8 years, 11 months ago) by yamt
Branch: yamt-vop
Changes since 1.20: +43 -31 lines
Diff to previous 1.20 (colored) next main 1.21 (colored)

adapt msdosfs.

Revision 1.20 / (download) - annotate - [select for diffs], Mon Sep 12 16:24:41 2005 UTC (9 years 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.19: +39 -21 lines
Diff to previous 1.19 (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.19 / (download) - annotate - [select for diffs], Sat Sep 10 18:35:56 2005 UTC (9 years ago) by christos
Branch: MAIN
Changes since 1.18: +11 -11 lines
Diff to previous 1.18 (colored)

Make fileno calculations use ino_t variables.

Revision 1.9.4.1 / (download) - annotate - [select for diffs], Tue Sep 6 16:12:00 2005 UTC (9 years ago) by riz
Branch: netbsd-2
CVS Tags: netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1
Changes since 1.9: +6 -2 lines
Diff to previous 1.9 (colored)

Pull up following revision(s) (requested by xtraeme in ticket #5627):
	sys/fs/msdosfs/msdosfs_vnops.c: revision 1.17
	sys/fs/msdosfs/denode.h: revision 1.6
The maximum file size on MS-DOS filesystems is 4 GB - 1 byte, so
don't bother trying to write files bigger than this.  Just return
EFBIG to caller, rather than panic()ing later.
From OpenBSD.
This closes my PR kern/30864: "panic when copying files of >4GB on
msdosfs"

Revision 1.9.2.1 / (download) - annotate - [select for diffs], Tue Sep 6 16:11:14 2005 UTC (9 years ago) by riz
Branch: netbsd-2-0
CVS Tags: netbsd-2-0-3-RELEASE
Changes since 1.9: +6 -2 lines
Diff to previous 1.9 (colored) next main 1.10 (colored)

Pull up following revision(s) (requested by xtraeme in ticket #5627):
	sys/fs/msdosfs/msdosfs_vnops.c: revision 1.17
	sys/fs/msdosfs/denode.h: revision 1.6
The maximum file size on MS-DOS filesystems is 4 GB - 1 byte, so
don't bother trying to write files bigger than this.  Just return
EFBIG to caller, rather than panic()ing later.
From OpenBSD.
This closes my PR kern/30864: "panic when copying files of >4GB on
msdosfs"

Revision 1.14.2.1 / (download) - annotate - [select for diffs], Fri Sep 2 15:21:23 2005 UTC (9 years ago) by riz
Branch: netbsd-3
Changes since 1.14: +6 -2 lines
Diff to previous 1.14 (colored)

Pull up following revision(s) (requested by xtraeme in ticket #722):
	sys/fs/msdosfs/msdosfs_vnops.c: revision 1.17
	sys/fs/msdosfs/denode.h: revision 1.6
The maximum file size on MS-DOS filesystems is 4 GB - 1 byte, so
don't bother trying to write files bigger than this.  Just return
EFBIG to caller, rather than panic()ing later.
From OpenBSD.
This closes my PR kern/30864: "panic when copying files of >4GB on
msdosfs"

Revision 1.18 / (download) - annotate - [select for diffs], Mon Aug 29 23:57:35 2005 UTC (9 years ago) by xtraeme
Branch: MAIN
Changes since 1.17: +3 -3 lines
Diff to previous 1.17 (colored)

Remove __P()

Revision 1.17 / (download) - annotate - [select for diffs], Mon Aug 29 23:22:05 2005 UTC (9 years ago) by xtraeme
Branch: MAIN
Changes since 1.16: +6 -2 lines
Diff to previous 1.16 (colored)

The maximum file size on MS-DOS filesystems is 4 GB - 1 byte, so
don't bother trying to write files bigger than this.  Just return
EFBIG to caller, rather than panic()ing later.

From OpenBSD.

This closes my PR kern/30864: "panic when copying files of >4GB on msdosfs"

Revision 1.16 / (download) - annotate - [select for diffs], Fri Aug 19 12:24:54 2005 UTC (9 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.15: +5 -4 lines
Diff to previous 1.15 (colored)

fileid is now a quad.

Revision 1.15 / (download) - annotate - [select for diffs], Fri Aug 19 02:04:03 2005 UTC (9 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.14: +4 -4 lines
Diff to previous 1.14 (colored)

64 bit inode changes.

Revision 1.13.2.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:29:22 2005 UTC (9 years, 4 months ago) by kent
Branch: kent-audio2
Changes since 1.13: +5 -5 lines
Diff to previous 1.13 (colored) next main 1.14 (colored)

sync with -current

Revision 1.13.4.1 / (download) - annotate - [select for diffs], Sat Mar 19 08:36:10 2005 UTC (9 years, 6 months ago) by yamt
Branch: yamt-km
Changes since 1.13: +5 -5 lines
Diff to previous 1.13 (colored) next main 1.14 (colored)

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

Revision 1.5.2.6 / (download) - annotate - [select for diffs], Fri Mar 4 16:51:46 2005 UTC (9 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.5.2.5: +5 -5 lines
Diff to previous 1.5.2.5 (colored)

Sync with HEAD.

Hi Perry!

Revision 1.14 / (download) - annotate - [select for diffs], Sat Feb 26 22:58:55 2005 UTC (9 years, 6 months ago) by perry
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, netbsd-3-base, kent-audio2-base
Branch point for: yamt-lazymbuf, netbsd-3
Changes since 1.13: +5 -5 lines
Diff to previous 1.13 (colored)

nuke trailing whitespace

Revision 1.5.2.5 / (download) - annotate - [select for diffs], Mon Jan 17 19:32:12 2005 UTC (9 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.5.2.4: +10 -9 lines
Diff to previous 1.5.2.4 (colored)

Sync with HEAD.

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

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

Revision 1.5.2.4 / (download) - annotate - [select for diffs], Tue Sep 21 13:35:01 2004 UTC (9 years, 11 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.5.2.3: +17 -17 lines
Diff to previous 1.5.2.3 (colored)

Fix the sync with head I botched.

Revision 1.5.2.3 / (download) - annotate - [select for diffs], Sat Sep 18 14:52:49 2004 UTC (10 years ago) by skrll
Branch: ktrace-lwp
Changes since 1.5.2.2: +18 -19 lines
Diff to previous 1.5.2.2 (colored)

Sync with HEAD.

Revision 1.12 / (download) - annotate - [select for diffs], Mon Sep 13 19:25:48 2004 UTC (10 years ago) by jdolecek
Branch: MAIN
CVS Tags: kent-audio1-base, kent-audio1
Changes since 1.11: +3 -4 lines
Diff to previous 1.11 (colored)

set mp->mnt_stat.f_namemax on filesystem mount for use by statvfs, and use
the value for also pathconf(_PC_NAME_MAX) to keep the two in sync

Revision 1.5.2.2 / (download) - annotate - [select for diffs], Tue Aug 3 10:52:42 2004 UTC (10 years, 1 month ago) by skrll
Branch: ktrace-lwp
Changes since 1.5.2.1: +26 -22 lines
Diff to previous 1.5.2.1 (colored)

Sync with HEAD

Revision 1.11 / (download) - annotate - [select for diffs], Wed May 12 02:07:38 2004 UTC (10 years, 4 months ago) by jrf
Branch: MAIN
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored)

caddr_t -> void * and removal of some more casts.

Revision 1.10 / (download) - annotate - [select for diffs], Tue May 4 13:26:58 2004 UTC (10 years, 4 months ago) by jrf
Branch: MAIN
Changes since 1.9: +4 -4 lines
Diff to previous 1.9 (colored)

Remove caddr_t inlines. Approved by christos@NetBSD.org.

Revision 1.9 / (download) - annotate - [select for diffs], Mon Jan 26 10:39:30 2004 UTC (10 years, 7 months ago) by hannken
Branch: MAIN
CVS Tags: netbsd-2-base, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE
Branch point for: netbsd-2-0, netbsd-2
Changes since 1.8: +5 -4 lines
Diff to previous 1.8 (colored)

Fix xxx_strategy() to use the vnode arg instead of bp->b_vp.

Revision 1.8 / (download) - annotate - [select for diffs], Sun Jan 25 18:06:48 2004 UTC (10 years, 7 months ago) by hannken
Branch: MAIN
Changes since 1.7: +3 -5 lines
Diff to previous 1.7 (colored)

Make VOP_STRATEGY(bp) a real VOP as discussed on tech-kern.

VOP_STRATEGY(bp) is replaced by one of two new functions:

- VOP_STRATEGY(vp, bp)  Call the strategy routine of vp for bp.
- DEV_STRATEGY(bp)      Call the d_strategy routine of bp->b_dev for bp.

DEV_STRATEGY(bp) is used only for block-to-block device situations.

Revision 1.7 / (download) - annotate - [select for diffs], Sun Sep 7 22:09:11 2003 UTC (11 years ago) by itojun
Branch: MAIN
Changes since 1.6: +15 -12 lines
Diff to previous 1.6 (colored)

add -t option for gmt time offset (normally MS-DOS filesystem has timestamp
in localtime, not GMT).  PR kern/22717

Revision 1.6 / (download) - annotate - [select for diffs], Sat Aug 2 11:41:21 2003 UTC (11 years, 1 month ago) by jdolecek
Branch: MAIN
Changes since 1.5: +6 -4 lines
Diff to previous 1.5 (colored)

Allow separate masks for files and directories. Useful e.g. to turn
the execute bit off for files, but keep search permission for directories.
Change contributed in PR kern/21538 by Pavel Arnost, based on some FreeBSD
patches.
Further manpage changes, and backward-compatibility adjustments done by me.

Also fixes PR kern/16778 by Johan Danielsson, and PR kern/3400 by Rick Byers

Revision 1.5.2.1 / (download) - annotate - [select for diffs], Wed Jul 2 15:26:30 2003 UTC (11 years, 2 months ago) by darrenr
Branch: ktrace-lwp
Changes since 1.5: +17 -17 lines
Diff to previous 1.5 (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.5 / (download) - annotate - [select for diffs], Sun Jun 29 22:31:10 2003 UTC (11 years, 2 months ago) by fvdl
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.4: +15 -15 lines
Diff to previous 1.4 (colored)

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

Revision 1.4 / (download) - annotate - [select for diffs], Sat Jun 28 14:21:50 2003 UTC (11 years, 2 months ago) by darrenr
Branch: MAIN
Changes since 1.3: +17 -17 lines
Diff to previous 1.3 (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.3 / (download) - annotate - [select for diffs], Thu Jun 26 05:26:46 2003 UTC (11 years, 2 months ago) by itojun
Branch: MAIN
Changes since 1.2: +6 -4 lines
Diff to previous 1.2 (colored)

strlcpy

Revision 1.2 / (download) - annotate - [select for diffs], Tue Feb 25 10:29:12 2003 UTC (11 years, 6 months ago) by jdolecek
Branch: MAIN
Changes since 1.1: +3 -3 lines
Diff to previous 1.1 (colored)

make 'dosdirtemplate' static const

Revision 1.1.2.2 / (download) - annotate - [select for diffs], Sun Dec 29 19:56:06 2002 UTC (11 years, 8 months ago) by thorpej
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.1.2.1: +1894 -0 lines
Diff to previous 1.1.2.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

With with HEAD.

Revision 1.1.2.1, Thu Dec 26 12:31:35 2002 UTC (11 years, 8 months ago) by thorpej
Branch: nathanw_sa
Changes since 1.1: +0 -1894 lines
FILE REMOVED

file msdosfs_vnops.c was added on branch nathanw_sa on 2002-12-29 19:56:06 +0000

Revision 1.1 / (download) - annotate - [select for diffs], Thu Dec 26 12:31:35 2002 UTC (11 years, 8 months ago) by jdolecek
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, fvdl_fs64_base
Branch point for: nathanw_sa

move msdosfs code from sys/msdosfs to sys/fs/msdosfs

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>