The NetBSD Project

CVS log for src/sys/fs/udf/udf_vnops.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.126 / (download) - annotate - [select for diffs], Sat May 28 21:14:57 2022 UTC (8 months, 1 week ago) by andvar
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.125: +7 -7 lines
Diff to previous 1.125 (colored)

fix various typos in comments, mainly origional->original,
extened->extended, incomming->incoming.

Revision 1.125 / (download) - annotate - [select for diffs], Tue May 3 20:52:32 2022 UTC (9 months ago) by andvar
Branch: MAIN
Changes since 1.124: +3 -3 lines
Diff to previous 1.124 (colored)

fix various typos, mainly s/trasfering/transferring/ and s/theese/these/.

Revision 1.124 / (download) - annotate - [select for diffs], Tue May 3 07:35:43 2022 UTC (9 months ago) by hannken
Branch: MAIN
Changes since 1.123: +3 -3 lines
Diff to previous 1.123 (colored)

No IO_NODELOCKED for unlocked vnode.

Revision 1.123 / (download) - annotate - [select for diffs], Sun Apr 10 09:50:46 2022 UTC (9 months, 3 weeks ago) by andvar
Branch: MAIN
Changes since 1.122: +3 -3 lines
Diff to previous 1.122 (colored)

fix various typos in comments and output/log messages.

Revision 1.122 / (download) - annotate - [select for diffs], Fri Apr 1 08:26:27 2022 UTC (10 months ago) by reinoud
Branch: MAIN
Changes since 1.121: +3 -3 lines
Diff to previous 1.121 (colored)

Fix malformed DPRINTF() macro

Revision 1.121 / (download) - annotate - [select for diffs], Wed Mar 30 13:23:59 2022 UTC (10 months, 1 week ago) by christos
Branch: MAIN
Changes since 1.120: +25 -30 lines
Diff to previous 1.120 (colored)

Fix locking in udf_link(). XXX: udf_symlink is prolly similarly broken.

Revision 1.120 / (download) - annotate - [select for diffs], Sun Mar 27 16:24:58 2022 UTC (10 months, 1 week ago) by christos
Branch: MAIN
Changes since 1.119: +11 -8 lines
Diff to previous 1.119 (colored)

add a kauth vnode check for creating links

Revision 1.119 / (download) - annotate - [select for diffs], Wed Feb 16 22:00:56 2022 UTC (11 months, 2 weeks ago) by andvar
Branch: MAIN
Changes since 1.118: +3 -3 lines
Diff to previous 1.118 (colored)

fix various typos, mainly in comments.

Revision 1.118 / (download) - annotate - [select for diffs], Sun Feb 6 20:20:19 2022 UTC (11 months, 4 weeks ago) by andvar
Branch: MAIN
Changes since 1.117: +3 -3 lines
Diff to previous 1.117 (colored)

fix various typos in comments, log messages and documentation.
mainly s/aparently/apparently/ and s/implmented/implemented/.

Revision 1.117 / (download) - annotate - [select for diffs], Wed Oct 20 03:08:17 2021 UTC (15 months, 2 weeks ago) by thorpej
Branch: MAIN
Changes since 1.116: +14 -18 lines
Diff to previous 1.116 (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.114.6.1 / (download) - annotate - [select for diffs], Sun Aug 1 22:42:38 2021 UTC (18 months ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.114: +4 -3 lines
Diff to previous 1.114 (colored) next main 1.115 (colored)

Sync with HEAD.

Revision 1.116 / (download) - annotate - [select for diffs], Sat Jul 24 21:31:38 2021 UTC (18 months, 1 week ago) by andvar
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.115: +3 -3 lines
Diff to previous 1.115 (colored)

Fix all remaining typos, mainly in comments but also in few definitions and log messages, reported by me in PR kern/54889.
Also fixed some additional typos in comments, found on review of same files or typos.

Revision 1.115 / (download) - annotate - [select for diffs], Tue Jun 29 22:34:07 2021 UTC (19 months, 1 week ago) by dholland
Branch: MAIN
Changes since 1.114: +3 -2 lines
Diff to previous 1.114 (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.114 / (download) - annotate - [select for diffs], Sat Jun 27 17:29:18 2020 UTC (2 years, 7 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.113: +4 -4 lines
Diff to previous 1.113 (colored)

Introduce genfs_pathconf() and use it for the default case in all filesystems.

Revision 1.113 / (download) - annotate - [select for diffs], Sat May 16 18:31:50 2020 UTC (2 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.112: +15 -14 lines
Diff to previous 1.112 (colored)

Add ACL support for FFS. From FreeBSD.

Revision 1.109.4.2 / (download) - annotate - [select for diffs], Sat Apr 25 11:24:05 2020 UTC (2 years, 9 months ago) by bouyer
Branch: bouyer-xenpvh
Changes since 1.109.4.1: +4 -4 lines
Diff to previous 1.109.4.1 (colored) to branchpoint 1.109 (colored) next main 1.110 (colored)

Sync with bouyer-xenpvh-base2 (HEAD)

Revision 1.112 / (download) - annotate - [select for diffs], Thu Apr 23 21:47:08 2020 UTC (2 years, 9 months ago) by ad
Branch: MAIN
CVS Tags: bouyer-xenpvh-base2
Changes since 1.111: +4 -4 lines
Diff to previous 1.111 (colored)

PR kern/54759 (vm.ubc_direct deadlock when read()/write() into mapping of itself)

- Add new flag UBC_ISMAPPED which tells ubc_uiomove() the object is mmap()ed
  somewhere.  Use it to decide whether to do direct-mapped copy, rather than
  poking around directly in the vnode in ubc_uiomove(), which is ugly and
  doesn't work for tmpfs.  It would be nicer to contain all this in UVM but
  the filesystem provides the needed locking here (VV_MAPPED) and to
  reinvent that would suck more.

- Rename UBC_UNMAP_FLAG() to UBC_VNODE_FLAGS().  Pass in UBC_ISMAPPED where
  appropriate.

Revision 1.106.10.2 / (download) - annotate - [select for diffs], Tue Apr 21 18:42:41 2020 UTC (2 years, 9 months ago) by martin
Branch: phil-wifi
Changes since 1.106.10.1: +3 -3 lines
Diff to previous 1.106.10.1 (colored) to branchpoint 1.106 (colored) next main 1.107 (colored)

Sync with HEAD

Revision 1.109.4.1 / (download) - annotate - [select for diffs], Mon Apr 20 11:29:10 2020 UTC (2 years, 9 months ago) by bouyer
Branch: bouyer-xenpvh
Changes since 1.109: +5 -5 lines
Diff to previous 1.109 (colored)

Sync with HEAD

Revision 1.111 / (download) - annotate - [select for diffs], Tue Apr 14 11:45:42 2020 UTC (2 years, 9 months ago) by reinoud
Branch: MAIN
CVS Tags: phil-wifi-20200421, bouyer-xenpvh-base1
Changes since 1.110: +3 -3 lines
Diff to previous 1.110 (colored)

fix debug print flag

Revision 1.110 / (download) - annotate - [select for diffs], Mon Apr 13 19:23:18 2020 UTC (2 years, 9 months ago) by ad
Branch: MAIN
Changes since 1.109: +4 -4 lines
Diff to previous 1.109 (colored)

Replace most uses of vp->v_usecount with a call to vrefcnt(vp), a function
that hides the details and does atomic_load_relaxed().  Signature matches
FreeBSD.

Revision 1.106.10.1 / (download) - annotate - [select for diffs], Wed Apr 8 14:08:50 2020 UTC (2 years, 9 months ago) by martin
Branch: phil-wifi
Changes since 1.106: +8 -7 lines
Diff to previous 1.106 (colored)

Merge changes from current as of 20200406

Revision 1.107.2.2 / (download) - annotate - [select for diffs], Sat Feb 29 20:21:02 2020 UTC (2 years, 11 months ago) by ad
Branch: ad-namecache
Changes since 1.107.2.1: +4 -4 lines
Diff to previous 1.107.2.1 (colored) to branchpoint 1.107 (colored) next main 1.108 (colored)

Sync with head.

Revision 1.109 / (download) - annotate - [select for diffs], Sun Feb 23 15:46:41 2020 UTC (2 years, 11 months ago) by ad
Branch: MAIN
CVS Tags: phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp, bouyer-xenpvh-base, ad-namecache-base3
Branch point for: bouyer-xenpvh
Changes since 1.108: +4 -4 lines
Diff to previous 1.108 (colored)

UVM locking changes, proposed on tech-kern:

- Change the lock on uvm_object, vm_amap and vm_anon to be a RW lock.
- Break v_interlock and vmobjlock apart.  v_interlock remains a mutex.
- Do partial PV list locking in the x86 pmap.  Others to follow later.

Revision 1.107.2.1 / (download) - annotate - [select for diffs], Fri Jan 17 21:47:34 2020 UTC (3 years ago) by ad
Branch: ad-namecache
Changes since 1.107: +5 -4 lines
Diff to previous 1.107 (colored)

Sync with head.

Revision 1.108 / (download) - annotate - [select for diffs], Fri Jan 17 20:08:08 2020 UTC (3 years ago) by ad
Branch: MAIN
CVS Tags: ad-namecache-base2, ad-namecache-base1
Changes since 1.107: +5 -4 lines
Diff to previous 1.107 (colored)

VFS_VGET(), VFS_ROOT(), VFS_FHTOVP(): give them a "int lktype" argument, to
allow us to get shared locks (or no lock) on the returned vnode.  Matches
FreeBSD.

Revision 1.107 / (download) - annotate - [select for diffs], Fri Dec 27 09:41:51 2019 UTC (3 years, 1 month ago) by msaitoh
Branch: MAIN
CVS Tags: ad-namecache-base
Branch point for: ad-namecache
Changes since 1.106: +3 -3 lines
Diff to previous 1.106 (colored)

s/transfered/transferred/

Revision 1.72.2.4 / (download) - annotate - [select for diffs], Sun Dec 3 11:38:43 2017 UTC (5 years, 2 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.72.2.3: +37 -31 lines
Diff to previous 1.72.2.3 (colored) to branchpoint 1.72 (colored) next main 1.73 (colored)

update from HEAD

Revision 1.94.4.4 / (download) - annotate - [select for diffs], Mon Aug 28 17:53:06 2017 UTC (5 years, 5 months ago) by skrll
Branch: nick-nhusb
Changes since 1.94.4.3: +10 -20 lines
Diff to previous 1.94.4.3 (colored) to branchpoint 1.94 (colored) next main 1.95 (colored)

Sync with HEAD

Revision 1.106 / (download) - annotate - [select for diffs], Fri May 26 14:34:20 2017 UTC (5 years, 8 months ago) by riastradh
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, phil-wifi-base, phil-wifi-20191119, phil-wifi-20190609, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, isaki-audio2-base, isaki-audio2
Branch point for: phil-wifi
Changes since 1.105: +2 -7 lines
Diff to previous 1.105 (colored)

Eliminate crusty debugging sludge.

We have a mostly sane vnode lifecycle now.  If this needs debugging,
it should be done once at the call site of VOP_RECLAIM.

Revision 1.105 / (download) - annotate - [select for diffs], Fri May 26 14:21:01 2017 UTC (5 years, 8 months ago) by riastradh
Branch: MAIN
Changes since 1.104: +5 -3 lines
Diff to previous 1.104 (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.104 / (download) - annotate - [select for diffs], Wed Apr 26 03:02:48 2017 UTC (5 years, 9 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.103: +6 -10 lines
Diff to previous 1.103 (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.101.2.1 / (download) - annotate - [select for diffs], Wed Apr 26 02:53:26 2017 UTC (5 years, 9 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.101: +3 -6 lines
Diff to previous 1.101 (colored) next main 1.102 (colored)

Sync with HEAD

Revision 1.102.2.1 / (download) - annotate - [select for diffs], Fri Apr 21 16:54:02 2017 UTC (5 years, 9 months ago) by bouyer
Branch: bouyer-socketcan
Changes since 1.102: +3 -6 lines
Diff to previous 1.102 (colored) next main 1.103 (colored)

Sync with HEAD

Revision 1.103 / (download) - annotate - [select for diffs], Tue Apr 11 14:25:00 2017 UTC (5 years, 9 months ago) by riastradh
Branch: MAIN
CVS Tags: pgoyette-localcount-20170426, bouyer-socketcan-base1
Changes since 1.102: +3 -6 lines
Diff to previous 1.102 (colored)

Make VOP_INACTIVE preserve vnode lock on return.

Discussed on tech-kern:
https://mail-index.netbsd.org/tech-kern/2017/04/01/msg021751.html

Ride 7.99.68, a bumpy bus of incremental vfs improvements!

Revision 1.94.4.3 / (download) - annotate - [select for diffs], Wed Oct 5 20:56:02 2016 UTC (6 years, 4 months ago) by skrll
Branch: nick-nhusb
Changes since 1.94.4.2: +2 -5 lines
Diff to previous 1.94.4.2 (colored) to branchpoint 1.94 (colored)

Sync with HEAD

Revision 1.102 / (download) - annotate - [select for diffs], Sat Aug 20 12:37:08 2016 UTC (6 years, 5 months ago) by hannken
Branch: MAIN
CVS Tags: 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-base
Branch point for: bouyer-socketcan
Changes since 1.101: +2 -5 lines
Diff to previous 1.101 (colored)

Remove now obsolete operation vcache_remove().

Welcome to 7.99.36

Revision 1.94.4.2 / (download) - annotate - [select for diffs], Sat Jun 6 14:40:21 2015 UTC (7 years, 8 months ago) by skrll
Branch: nick-nhusb
Changes since 1.94.4.1: +11 -12 lines
Diff to previous 1.94.4.1 (colored) to branchpoint 1.94 (colored)

Sync with HEAD

Revision 1.101 / (download) - annotate - [select for diffs], Mon Apr 20 23:03:08 2015 UTC (7 years, 9 months ago) by riastradh
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20160806, 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
Branch point for: pgoyette-localcount
Changes since 1.100: +3 -4 lines
Diff to previous 1.100 (colored)

Make VOP_LINK return directory still locked and referenced.

Ride 7.99.10 bump.

Revision 1.94.4.1 / (download) - annotate - [select for diffs], Mon Apr 6 15:18:19 2015 UTC (7 years, 10 months ago) by skrll
Branch: nick-nhusb
Changes since 1.94: +33 -13 lines
Diff to previous 1.94 (colored)

Sync with HEAD

Revision 1.100 / (download) - annotate - [select for diffs], Mon Apr 6 08:39:23 2015 UTC (7 years, 10 months ago) by hannken
Branch: MAIN
CVS Tags: nick-nhusb-base-20150406
Changes since 1.99: +5 -4 lines
Diff to previous 1.99 (colored)

Change udf to vcache, keyed on udf_node->loc.loc.

Revision 1.99 / (download) - annotate - [select for diffs], Mon Apr 6 08:38:25 2015 UTC (7 years, 10 months ago) by hannken
Branch: MAIN
Changes since 1.98: +21 -8 lines
Diff to previous 1.98 (colored)

Move the removal of unlinked nodes from udf_inactive() to udf_reclaim().

Revision 1.98 / (download) - annotate - [select for diffs], Sat Apr 4 12:34:45 2015 UTC (7 years, 10 months ago) by riastradh
Branch: MAIN
Changes since 1.97: +9 -4 lines
Diff to previous 1.97 (colored)

Fix remaining read(fd, NULL, 1) cases.

Revision 1.97 / (download) - annotate - [select for diffs], Wed Jan 28 14:00:58 2015 UTC (8 years ago) by martin
Branch: MAIN
Changes since 1.96: +2 -3 lines
Diff to previous 1.96 (colored)

When udf_symlink() fails, do not explicitly call udf_delete_node(), as
vrele() called next will do that again - avoids a double free of the
bitmap, leading to a KASSERT failure (or worse in real life) in the
udf_symlink_long in the fs/vfs::t_vnops test.

Revision 1.96 / (download) - annotate - [select for diffs], Sun Jan 4 14:23:37 2015 UTC (8 years, 1 month ago) by reinoud
Branch: MAIN
Changes since 1.95: +4 -2 lines
Diff to previous 1.95 (colored)

Add missing vrele() as found by the testsuite.

Thanks Jurgen Hannken for the patch.

Revision 1.95 / (download) - annotate - [select for diffs], Wed Dec 3 21:37:55 2014 UTC (8 years, 2 months ago) by reinoud
Branch: MAIN
Changes since 1.94: +3 -3 lines
Diff to previous 1.94 (colored)

Explicitly delete the failing node; it would be killed with the unlink too but
explicitly deleting it is better than just setting the file size to zero.

Revision 1.72.2.3 / (download) - annotate - [select for diffs], Wed Aug 20 00:04:28 2014 UTC (8 years, 5 months ago) by tls
Branch: tls-maxphys
Changes since 1.72.2.2: +198 -368 lines
Diff to previous 1.72.2.2 (colored) to branchpoint 1.72 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.91.2.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:55:54 2014 UTC (8 years, 5 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.91: +75 -40 lines
Diff to previous 1.91 (colored) next main 1.92 (colored)

Rebase.

Revision 1.94 / (download) - annotate - [select for diffs], Tue Jul 29 15:48:22 2014 UTC (8 years, 6 months ago) by reinoud
Branch: MAIN
CVS Tags: tls-maxphys-base, tls-earlyentropy-base, nick-nhusb-base, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7
Branch point for: nick-nhusb
Changes since 1.93: +73 -36 lines
Diff to previous 1.93 (colored)

Posix requires the va_size of a symlink to be pathlength for symbolic links.
This fixes yet another atf case.

Revision 1.93 / (download) - annotate - [select for diffs], Tue Jul 29 11:10:12 2014 UTC (8 years, 6 months ago) by reinoud
Branch: MAIN
Changes since 1.92: +2 -6 lines
Diff to previous 1.92 (colored)

Access time should only be set on accessing the data or messing with the
contents, not on inode access rights and ownership changes. Should address
PR kern/49033 for UDF.

Test results now come clean for bugs related to this issue in the ATF.

Revision 1.92 / (download) - annotate - [select for diffs], Fri Jul 25 08:20:52 2014 UTC (8 years, 6 months ago) by dholland
Branch: MAIN
Changes since 1.91: +4 -2 lines
Diff to previous 1.91 (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.68.2.5 / (download) - annotate - [select for diffs], Thu May 22 11:41:02 2014 UTC (8 years, 8 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.68.2.4: +136 -341 lines
Diff to previous 1.68.2.4 (colored) to branchpoint 1.68 (colored) next main 1.69 (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.76.2.2 / (download) - annotate - [select for diffs], Sun May 18 17:46:06 2014 UTC (8 years, 8 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.76.2.1: +15 -22 lines
Diff to previous 1.76.2.1 (colored) next main 1.77 (colored)

sync with head

Revision 1.91 / (download) - annotate - [select for diffs], Sun Mar 23 09:34:42 2014 UTC (8 years, 10 months ago) by christos
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.90: +3 -2 lines
Diff to previous 1.90 (colored)

fix unused

Revision 1.90 / (download) - annotate - [select for diffs], Fri Feb 7 15:29:22 2014 UTC (8 years, 11 months ago) by hannken
Branch: MAIN
CVS Tags: riastradh-drm2-base3
Changes since 1.89: +5 -3 lines
Diff to previous 1.89 (colored)

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

Discussed on tech-kern@

Welcome to 6.99.31

Revision 1.89 / (download) - annotate - [select for diffs], Thu Jan 23 10:13:56 2014 UTC (9 years ago) by hannken
Branch: MAIN
Changes since 1.88: +6 -6 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 (9 years ago) by hannken
Branch: MAIN
Changes since 1.87: +6 -10 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], Fri Oct 18 19:56:55 2013 UTC (9 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.86: +7 -12 lines
Diff to previous 1.86 (colored)

fix unused variable warnings

Revision 1.86 / (download) - annotate - [select for diffs], Fri Oct 4 08:35:08 2013 UTC (9 years, 4 months ago) by hannken
Branch: MAIN
Changes since 1.85: +2 -3 lines
Diff to previous 1.85 (colored)

Remove a bogus vrecycle() from udf_inactive().  Vrecycle() works on inactive
vnodes while VOP_INACTIVE() should never be called on an inactive vnode.

Ok: Reinoud Zandijk <reinoud@netbsd.org>

Revision 1.76.2.1 / (download) - annotate - [select for diffs], Wed Aug 28 23:59:35 2013 UTC (9 years, 5 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.76: +121 -318 lines
Diff to previous 1.76 (colored)

sync with head

Revision 1.85 / (download) - annotate - [select for diffs], Wed Jul 10 15:10:56 2013 UTC (9 years, 6 months ago) by reinoud
Branch: MAIN
CVS Tags: riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2
Changes since 1.84: +10 -256 lines
Diff to previous 1.84 (colored)

Implement udf_rename() using the new genfs_rename() framework.

Fixes PR kern/47986

Revision 1.84 / (download) - annotate - [select for diffs], Mon Jul 8 08:21:12 2013 UTC (9 years, 7 months ago) by reinoud
Branch: MAIN
Changes since 1.83: +9 -5 lines
Diff to previous 1.83 (colored)

Clarify the sticky-bit check

Revision 1.83 / (download) - annotate - [select for diffs], Sun Jul 7 20:16:22 2013 UTC (9 years, 7 months ago) by reinoud
Branch: MAIN
Changes since 1.82: +12 -7 lines
Diff to previous 1.82 (colored)

Pull forward the node creation returned from the lookup call. Its vnode is
used in the access determination on delete/rename of TXT files.

Thanks for joerg@ and clang for detecting this!

Revision 1.82 / (download) - annotate - [select for diffs], Sun Jul 7 19:49:44 2013 UTC (9 years, 7 months ago) by reinoud
Branch: MAIN
Changes since 1.81: +15 -11 lines
Diff to previous 1.81 (colored)

Implement a real empty-directory checking for rmdir().

Should should fix the other part of PR kern/47987
Solves tests/vfs/t_vnops udf_dir_notempty

Revision 1.81 / (download) - annotate - [select for diffs], Fri Jul 5 20:40:20 2013 UTC (9 years, 7 months ago) by reinoud
Branch: MAIN
Changes since 1.80: +6 -4 lines
Diff to previous 1.80 (colored)

Fixes chflags. They were silently rejected before but the VFS standard demands
it complains with EOPNOTSUPP.

Fixes chflags test case.

Revision 1.80 / (download) - annotate - [select for diffs], Fri Jul 5 20:04:57 2013 UTC (9 years, 7 months ago) by reinoud
Branch: MAIN
Changes since 1.79: +71 -47 lines
Diff to previous 1.79 (colored)

Provide additional checks to udf_lookup and restructure it a bit.

Should fix PR 47988

Revision 1.79 / (download) - annotate - [select for diffs], Wed Jul 3 15:39:22 2013 UTC (9 years, 7 months ago) by reinoud
Branch: MAIN
Changes since 1.78: +2 -3 lines
Diff to previous 1.78 (colored)

Remove spurious empty line

Revision 1.78 / (download) - annotate - [select for diffs], Wed Jul 3 14:35:28 2013 UTC (9 years, 7 months ago) by reinoud
Branch: MAIN
Changes since 1.77: +15 -4 lines
Diff to previous 1.77 (colored)

On removing a directory make sure the leaf directory doesn't have a valid '..'
link anymore. In a corner case this leaf can be held by a process as a CWD. It
is guaranteed to be empty at this stage so we trunc it removing the only valid
FID, being the '..' entry.

Solves part of PR kern/47987
Solves tests/vfs/t_vnops udf_dir_rmdirdotdot

Revision 1.77 / (download) - annotate - [select for diffs], Wed Jul 3 12:55:34 2013 UTC (9 years, 7 months ago) by reinoud
Branch: MAIN
Changes since 1.76: +3 -3 lines
Diff to previous 1.76 (colored)

Typo in debug message: we are removing a directory and not a file.

Revision 1.76 / (download) - annotate - [select for diffs], Thu Jun 27 09:38:08 2013 UTC (9 years, 7 months ago) by reinoud
Branch: MAIN
Branch point for: rmind-smpnet
Changes since 1.75: +3 -4 lines
Diff to previous 1.75 (colored)

Since UDF volumes are always mounted async, the simple UBC purging with
VOP_PUTPAGES() was never triggered resulting in far too much data in the UBC
that needed to be written out. This could result in instability on small
memory machines.

Revision 1.72.2.2 / (download) - annotate - [select for diffs], Sun Jun 23 06:18:28 2013 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.72.2.1: +3 -3 lines
Diff to previous 1.72.2.1 (colored) to branchpoint 1.72 (colored)

resync from head

Revision 1.75 / (download) - annotate - [select for diffs], Mon Mar 18 19:35:41 2013 UTC (9 years, 10 months ago) by plunky
Branch: MAIN
CVS Tags: khorben-n900, agc-symver-base, agc-symver
Changes since 1.74: +3 -3 lines
Diff to previous 1.74 (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.68.2.4 / (download) - annotate - [select for diffs], Wed Jan 16 05:33:41 2013 UTC (10 years ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.68.2.3: +9 -7 lines
Diff to previous 1.68.2.3 (colored) to branchpoint 1.68 (colored)

sync with (a bit old) head

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

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

Revision 1.74 / (download) - annotate - [select for diffs], Mon Nov 5 17:27:39 2012 UTC (10 years, 3 months ago) by dholland
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7
Changes since 1.73: +6 -4 lines
Diff to previous 1.73 (colored)

Excise struct componentname from the namecache.

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

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

This change requires a kernel bump.

Revision 1.73 / (download) - annotate - [select for diffs], Mon Nov 5 17:24:11 2012 UTC (10 years, 3 months ago) by dholland
Branch: MAIN
Changes since 1.72: +6 -6 lines
Diff to previous 1.72 (colored)

Disentangle the namecache from the internals of namei.

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

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

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

This change requires a kernel bump.

Revision 1.68.2.3 / (download) - annotate - [select for diffs], Tue Oct 30 17:22:26 2012 UTC (10 years, 3 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.68.2.2: +3 -3 lines
Diff to previous 1.68.2.2 (colored) to branchpoint 1.68 (colored)

sync with head

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

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

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

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

No objection on tech-kern@.

Revision 1.69.4.2 / (download) - annotate - [select for diffs], Sat Jun 2 11:09:32 2012 UTC (10 years, 8 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.69.4.1: +3 -3 lines
Diff to previous 1.69.4.1 (colored) to branchpoint 1.69 (colored) next main 1.70 (colored)

sync to latest -current.

Revision 1.68.2.2 / (download) - annotate - [select for diffs], Wed May 23 10:08:10 2012 UTC (10 years, 8 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.68.2.1: +5 -5 lines
Diff to previous 1.68.2.1 (colored) to branchpoint 1.68 (colored)

sync with head.

Revision 1.69.6.1 / (download) - annotate - [select for diffs], Mon May 7 03:01:14 2012 UTC (10 years, 9 months ago) by riz
Branch: netbsd-6
Changes since 1.69: +5 -5 lines
Diff to previous 1.69 (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.71 / (download) - annotate - [select for diffs], Sun Apr 29 22:53:59 2012 UTC (10 years, 9 months ago) by chs
Branch: MAIN
CVS Tags: yamt-pagecache-base5, jmcneill-usbmp-base10
Changes since 1.70: +5 -5 lines
Diff to previous 1.70 (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.68.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:08:21 2012 UTC (10 years, 9 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.68: +23 -9 lines
Diff to previous 1.68 (colored)

sync with head

Revision 1.69.4.1 / (download) - annotate - [select for diffs], Thu Apr 5 21:33:38 2012 UTC (10 years, 10 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.69: +11 -8 lines
Diff to previous 1.69 (colored)

sync to latest -current.

Revision 1.70 / (download) - annotate - [select for diffs], Tue Mar 13 18:40:51 2012 UTC (10 years, 10 months ago) by elad
Branch: MAIN
CVS Tags: yamt-pagecache-base4, jmcneill-usbmp-base9, jmcneill-usbmp-base8
Changes since 1.69: +11 -8 lines
Diff to previous 1.69 (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.69 / (download) - annotate - [select for diffs], Fri Nov 18 21:18:51 2011 UTC (11 years, 2 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.68: +14 -3 lines
Diff to previous 1.68 (colored)

Obey MNT_RELATIME, the only addition is that mkdir in ufs sets IN_ACCESS too.

Revision 1.68 / (download) - annotate - [select for diffs], Tue Oct 18 20:20:29 2011 UTC (11 years, 3 months ago) by hannken
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base
Branch point for: yamt-pagecache
Changes since 1.67: +5 -3 lines
Diff to previous 1.67 (colored)

VOP_GETATTR() needs a shared lock at least.

While here fix a typo (fvp -> tvp).

Revision 1.67 / (download) - annotate - [select for diffs], Tue Sep 27 01:33:30 2011 UTC (11 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.66: +3 -3 lines
Diff to previous 1.66 (colored)

return UDF_MAXNAMLEN instead of NAME_MAX

Revision 1.65.2.1 / (download) - annotate - [select for diffs], Thu Jun 23 14:20:17 2011 UTC (11 years, 7 months ago) by cherry
Branch: cherry-xenmp
Changes since 1.65: +9 -9 lines
Diff to previous 1.65 (colored) next main 1.66 (colored)

Catchup with rmind-uvmplock merge.

Revision 1.66 / (download) - annotate - [select for diffs], Sun Jun 12 03:35:55 2011 UTC (11 years, 7 months ago) by rmind
Branch: MAIN
Changes since 1.65: +9 -9 lines
Diff to previous 1.65 (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.62.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:09:25 2011 UTC (11 years, 8 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.62: +8 -15 lines
Diff to previous 1.62 (colored) next main 1.63 (colored)

Sync with HEAD.

Revision 1.57.4.4 / (download) - annotate - [select for diffs], Tue May 31 03:05:00 2011 UTC (11 years, 8 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.57.4.3: +6 -13 lines
Diff to previous 1.57.4.3 (colored) to branchpoint 1.57 (colored) next main 1.58 (colored)

sync with head

Revision 1.65 / (download) - annotate - [select for diffs], Thu May 19 03:11:58 2011 UTC (11 years, 8 months ago) by rmind
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase, rmind-uvmplock-base, cherry-xenmp-base
Branch point for: cherry-xenmp
Changes since 1.64: +2 -5 lines
Diff to previous 1.64 (colored)

Remove cache_purge(9) calls from reclamation routines in the file systems,
as vclean(9) performs it for us since Lite2 merge.

Revision 1.64 / (download) - annotate - [select for diffs], Tue Apr 26 11:32:39 2011 UTC (11 years, 9 months ago) by hannken
Branch: MAIN
Changes since 1.63: +5 -3 lines
Diff to previous 1.63 (colored)

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

Welcome to 5.99.51.

Revision 1.63 / (download) - annotate - [select for diffs], Sun Apr 24 21:35:30 2011 UTC (11 years, 9 months ago) by rmind
Branch: MAIN
Changes since 1.62: +5 -11 lines
Diff to previous 1.62 (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.57.4.3 / (download) - annotate - [select for diffs], Sat Mar 5 20:55:10 2011 UTC (11 years, 11 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.57.4.2: +3 -14 lines
Diff to previous 1.57.4.2 (colored) to branchpoint 1.57 (colored)

sync with head

Revision 1.62 / (download) - annotate - [select for diffs], Sun Jan 2 05:09:30 2011 UTC (12 years, 1 month 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.61: +3 -4 lines
Diff to previous 1.61 (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.61 / (download) - annotate - [select for diffs], Tue Nov 30 10:43:04 2010 UTC (12 years, 2 months ago) by dholland
Branch: MAIN
Changes since 1.60: +2 -4 lines
Diff to previous 1.60 (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.60 / (download) - annotate - [select for diffs], Tue Nov 30 10:30:01 2010 UTC (12 years, 2 months ago) by dholland
Branch: MAIN
Changes since 1.59: +2 -10 lines
Diff to previous 1.59 (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.57.2.1 / (download) - annotate - [select for diffs], Tue Aug 17 06:47:23 2010 UTC (12 years, 5 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.57: +17 -13 lines
Diff to previous 1.57 (colored) next main 1.58 (colored)

Sync with HEAD.

Revision 1.17.10.8 / (download) - annotate - [select for diffs], Wed Aug 11 22:54:36 2010 UTC (12 years, 5 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.17.10.7: +17 -13 lines
Diff to previous 1.17.10.7 (colored) to branchpoint 1.17 (colored) next main 1.18 (colored)

sync with head.

Revision 1.57.4.2 / (download) - annotate - [select for diffs], Sat Jul 3 01:19:51 2010 UTC (12 years, 7 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.57.4.1: +17 -13 lines
Diff to previous 1.57.4.1 (colored) to branchpoint 1.57 (colored)

sync with head

Revision 1.59 / (download) - annotate - [select for diffs], Thu Jun 24 13:03:11 2010 UTC (12 years, 7 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.58: +10 -10 lines
Diff to previous 1.58 (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.58 / (download) - annotate - [select for diffs], Thu Jun 24 07:54:46 2010 UTC (12 years, 7 months ago) by hannken
Branch: MAIN
Changes since 1.57: +12 -8 lines
Diff to previous 1.57 (colored)

Clean up vnode lock operations:

 - VOP_LOCK(vp, flags): Limit the set of allowed flags to LK_EXCLUSIVE,
   LK_SHARED and LK_NOWAIT.  LK_INTERLOCK is no longer allowed as it
   makes no sense here.

- VOP_ISLOCKED(vp): Remove the for some time unused return value
  LK_EXCLOTHER.  Mark this operation as "diagnostic only".
  Making a lock decision based on this operation is no longer allowed.

Discussed on tech-kern.

Revision 1.30.4.6.4.1 / (download) - annotate - [select for diffs], Wed Apr 21 00:28:15 2010 UTC (12 years, 9 months ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-k15
Changes since 1.30.4.6: +170 -23 lines
Diff to previous 1.30.4.6 (colored) next main 1.30.4.7 (colored)

sync to netbsd-5

Revision 1.57.4.1 / (download) - annotate - [select for diffs], Tue Mar 16 15:38:09 2010 UTC (12 years, 10 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.57: +9 -9 lines
Diff to previous 1.57 (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.17.10.7 / (download) - annotate - [select for diffs], Thu Mar 11 15:04:15 2010 UTC (12 years, 10 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.17.10.6: +6 -6 lines
Diff to previous 1.17.10.6 (colored) to branchpoint 1.17 (colored)

sync with head

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

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

no functional change

Revision 1.56 / (download) - annotate - [select for diffs], Tue Jan 5 13:30:11 2010 UTC (13 years, 1 month ago) by mbalmer
Branch: MAIN
Changes since 1.55: +4 -4 lines
Diff to previous 1.55 (colored)

Remove extra semicolons.

Revision 1.30.4.8 / (download) - annotate - [select for diffs], Sat Sep 26 18:38:07 2009 UTC (13 years, 4 months ago) by snj
Branch: netbsd-5
CVS Tags: netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, matt-nb5-pq3-base, matt-nb5-pq3
Changes since 1.30.4.7: +16 -9 lines
Diff to previous 1.30.4.7 (colored) to branchpoint 1.30 (colored) next main 1.31 (colored)

Apply patch (requested by reinoud in ticket #959):
UDF's flushing algorithm was susceptible to interference with genfs.
This patch fixes that and also ensures that there aren't tails around
being allocated later.

Revision 1.17.10.6 / (download) - annotate - [select for diffs], Wed Sep 16 13:38:00 2009 UTC (13 years, 4 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.17.10.5: +16 -9 lines
Diff to previous 1.17.10.5 (colored) to branchpoint 1.17 (colored)

sync with head

Revision 1.55 / (download) - annotate - [select for diffs], Mon Sep 14 21:10:44 2009 UTC (13 years, 4 months ago) by reinoud
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, matt-premerge-20091211, jym-xensuspend-nbase
Changes since 1.54: +16 -9 lines
Diff to previous 1.54 (colored)

Rework simplistic UBC flushing. Recent changes to genfs made the old flush
system generate heaps of odd allocations since the end of write request was
overwritten by the start of the second resulting in another relocation.

Also added a full flush of the file on a VOP_CLOSE(). This automatically
flushes file tails to disc.

Revision 1.17.10.5 / (download) - annotate - [select for diffs], Wed Aug 19 18:48:15 2009 UTC (13 years, 5 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.17.10.4: +8 -5 lines
Diff to previous 1.17.10.4 (colored) to branchpoint 1.17 (colored)

sync with head.

Revision 1.54 / (download) - annotate - [select for diffs], Thu Jul 30 12:13:51 2009 UTC (13 years, 6 months ago) by reinoud
Branch: MAIN
CVS Tags: yamt-nfs-mp-base7
Changes since 1.53: +4 -4 lines
Diff to previous 1.53 (colored)

Fix uid/gid check; it was checking if the old values would fit in 32 bits
instead of checking if the new values would.

Revision 1.53 / (download) - annotate - [select for diffs], Mon Jul 27 13:20:41 2009 UTC (13 years, 6 months ago) by reinoud
Branch: MAIN
Changes since 1.52: +6 -3 lines
Diff to previous 1.52 (colored)

System nodes are not written out on becomming inactive; they should be written
out before automatically.

However, when dealing with faulty discs that fail to mount, system nodes are
of course not written out and thus may still be marked dirty, if only due to
access. Especially on sequential media this gave rise to panics on reading
trackinfo since the write track section had not yet been initialised.

Revision 1.34.2.2 / (download) - annotate - [select for diffs], Thu Jul 23 23:32:33 2009 UTC (13 years, 6 months ago) by jym
Branch: jym-xensuspend
Changes since 1.34.2.1: +200 -38 lines
Diff to previous 1.34.2.1 (colored) to branchpoint 1.34 (colored) next main 1.35 (colored)

Sync with HEAD.

Revision 1.17.10.4 / (download) - annotate - [select for diffs], Sat Jul 18 14:53:22 2009 UTC (13 years, 6 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.17.10.3: +200 -38 lines
Diff to previous 1.17.10.3 (colored) to branchpoint 1.17 (colored)

sync with head.

Revision 1.30.4.7 / (download) - annotate - [select for diffs], Thu Jul 9 19:44:34 2009 UTC (13 years, 7 months ago) by snj
Branch: netbsd-5
Changes since 1.30.4.6: +156 -16 lines
Diff to previous 1.30.4.6 (colored) to branchpoint 1.30 (colored)

Apply patch (requested by reinoud in ticket #852):
Numerous UDF improvements:
- a much saner rmw backend
- free space management done right
- the high system time usage when encountering huge numbers of nodes
  are a thing of the past due to refactoring
- various small fixes

Revision 1.52 / (download) - annotate - [select for diffs], Wed Jul 8 14:46:55 2009 UTC (13 years, 7 months ago) by reinoud
Branch: MAIN
CVS Tags: yamt-nfs-mp-base6, jymxensuspend-base
Changes since 1.51: +4 -4 lines
Diff to previous 1.51 (colored)

Since OSTA has not defined a good set of flags to cover our flags, its not
usefull to implement chflags(). Instead ignore it for now since the error
codes might confuse esp. gui's.

Revision 1.51 / (download) - annotate - [select for diffs], Tue Jul 7 10:23:36 2009 UTC (13 years, 7 months ago) by reinoud
Branch: MAIN
Changes since 1.50: +8 -8 lines
Diff to previous 1.50 (colored)

Replace the old hashtable and sorted list implemenation by a RB-tree.

Benefits are significant speed improvements on node creation/insertion while
keeping the lookup times low and still allowing sequential iteration over the
nodes.

Revision 1.50 / (download) - annotate - [select for diffs], Mon Jul 6 17:06:57 2009 UTC (13 years, 7 months ago) by reinoud
Branch: MAIN
Changes since 1.49: +3 -4 lines
Diff to previous 1.49 (colored)

Make source prettier

Revision 1.49 / (download) - annotate - [select for diffs], Fri Jul 3 23:14:11 2009 UTC (13 years, 7 months ago) by pgoyette
Branch: MAIN
Changes since 1.48: +4 -4 lines
Diff to previous 1.48 (colored)

Pass the vp arg to udf_check_possible() so we can access its v_mount
member.

XXX No idea if this is the right solution to this problem, but it does
XXX at least allow thebuild to continue.  The original committed should
XXX verify that this does what was intended!

(Hello again, Elad)

Revision 1.48 / (download) - annotate - [select for diffs], Fri Jul 3 21:17:41 2009 UTC (13 years, 7 months ago) by elad
Branch: MAIN
Changes since 1.47: +45 -24 lines
Diff to previous 1.47 (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.47 / (download) - annotate - [select for diffs], Thu Jun 25 17:16:33 2009 UTC (13 years, 7 months ago) by reinoud
Branch: MAIN
Changes since 1.46: +102 -36 lines
Diff to previous 1.46 (colored)

Rewrite of udf_on_rootpath(), and vop_rename() code that calls it, after the
UFS way. The tree walking is now done the same and the code hasn't locked up
on examples that made it lockup before.

Revision 1.46 / (download) - annotate - [select for diffs], Wed Jun 24 17:09:13 2009 UTC (13 years, 7 months ago) by reinoud
Branch: MAIN
Changes since 1.45: +9 -2 lines
Diff to previous 1.45 (colored)

Commit first stage of free-space accounting. It is estimating the underlimit
of free blocks on the device and when free blocks are getting tight it tries
to readjust/recalculate that value by syncing the FS.

Second stage will be resizing the data/metadata partitions.

Revision 1.45 / (download) - annotate - [select for diffs], Tue Jun 23 20:09:07 2009 UTC (13 years, 7 months ago) by reinoud
Branch: MAIN
Changes since 1.44: +76 -7 lines
Diff to previous 1.44 (colored)

Renaming in UDF was already possible but directories could only be renamed in
the same directory.

This patch finally allows a directory to be moved between parent directories.

Revision 1.44 / (download) - annotate - [select for diffs], Tue Jun 23 19:36:39 2009 UTC (13 years, 7 months ago) by elad
Branch: MAIN
Changes since 1.43: +4 -4 lines
Diff to previous 1.43 (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.43 / (download) - annotate - [select for diffs], Thu Jun 18 15:51:44 2009 UTC (13 years, 7 months ago) by reinoud
Branch: MAIN
Changes since 1.42: +3 -2 lines
Diff to previous 1.42 (colored)

Add overlooked `cred' declaration in udf_write() when i committed the catchup
patches.

Revision 1.42 / (download) - annotate - [select for diffs], Thu Jun 18 15:15:10 2009 UTC (13 years, 7 months ago) by reinoud
Branch: MAIN
Changes since 1.41: +3 -4 lines
Diff to previous 1.41 (colored)

Pass-on credentials to size reversal on aborted write due to error. It could
be that in the future this credentials need to be changed to allways-allow
since its an reverting-on-error behaviour.

Revision 1.17.10.3 / (download) - annotate - [select for diffs], Sat May 16 10:41:48 2009 UTC (13 years, 8 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.17.10.2: +6 -17 lines
Diff to previous 1.17.10.2 (colored) to branchpoint 1.17 (colored)

sync with head

Revision 1.34.2.1 / (download) - annotate - [select for diffs], Wed May 13 17:21:55 2009 UTC (13 years, 8 months ago) by jym
Branch: jym-xensuspend
Changes since 1.34: +40 -66 lines
Diff to previous 1.34 (colored)

Sync with HEAD.

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

Revision 1.41 / (download) - annotate - [select for diffs], Thu May 7 19:30:30 2009 UTC (13 years, 9 months ago) by elad
Branch: MAIN
CVS Tags: yamt-nfs-mp-base5, yamt-nfs-mp-base4, jym-xensuspend-base
Changes since 1.40: +6 -17 lines
Diff to previous 1.40 (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.17.10.2 / (download) - annotate - [select for diffs], Mon May 4 08:13:45 2009 UTC (13 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.17.10.1: +170 -134 lines
Diff to previous 1.17.10.1 (colored) to branchpoint 1.17 (colored)

sync with head.

Revision 1.30.2.3 / (download) - annotate - [select for diffs], Tue Apr 28 07:36:58 2009 UTC (13 years, 9 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.30.2.2: +16 -50 lines
Diff to previous 1.30.2.2 (colored) to branchpoint 1.30 (colored) next main 1.31 (colored)

Sync with HEAD.

Revision 1.40 / (download) - annotate - [select for diffs], Wed Apr 22 22:57:09 2009 UTC (13 years, 9 months ago) by elad
Branch: MAIN
CVS Tags: yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base
Changes since 1.39: +4 -4 lines
Diff to previous 1.39 (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.39 / (download) - annotate - [select for diffs], Mon Apr 20 18:06:26 2009 UTC (13 years, 9 months ago) by elad
Branch: MAIN
Changes since 1.38: +12 -43 lines
Diff to previous 1.38 (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.30.4.6 / (download) - annotate - [select for diffs], Tue Mar 24 20:29:53 2009 UTC (13 years, 10 months ago) by snj
Branch: netbsd-5
CVS Tags: netbsd-5-0-RELEASE, netbsd-5-0-RC4, 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.30.4.5: +5 -8 lines
Diff to previous 1.30.4.5 (colored) to branchpoint 1.30 (colored)

Pull up following revision(s) (requested by reinoud in ticket #592):
	sys/fs/udf/udf_vnops.c: revision 1.38
Fix panic due to memory leak on symlink creation. A test copy with 3000+
symlinks could get the machine down.

Revision 1.38 / (download) - annotate - [select for diffs], Fri Mar 20 23:06:52 2009 UTC (13 years, 10 months ago) by reinoud
Branch: MAIN
Changes since 1.37: +5 -8 lines
Diff to previous 1.37 (colored)

Fix panic due to memory leak on symlink creation. A test copy with 3000+
symlinks could get the machine down.

Revision 1.30.4.5 / (download) - annotate - [select for diffs], Wed Mar 18 21:13:01 2009 UTC (13 years, 10 months ago) by snj
Branch: netbsd-5
CVS Tags: netbsd-5-0-RC3
Changes since 1.30.4.4: +5 -3 lines
Diff to previous 1.30.4.4 (colored) to branchpoint 1.30 (colored)

Apply patch (requested by reinoud in ticket #585):
Fix build by bringing in part of 1.35 that was left out.

Revision 1.30.4.4 / (download) - annotate - [select for diffs], Wed Mar 18 05:08:38 2009 UTC (13 years, 10 months ago) by snj
Branch: netbsd-5
Changes since 1.30.4.3: +19 -2 lines
Diff to previous 1.30.4.3 (colored) to branchpoint 1.30 (colored)

Apply patch (requested by reinoud in ticket #569):
Remove dead code and double check if it's allowed to write out
non-sequential there.
--
Sequential writing goes before normal write. Its not likely to ever go
wrong but there could be a race otherwise.
--
Add simplistic UBC async flushing as other FS's seem to do. Its a clutch
and needs to be addressed in UBC properly.
Improve write throttling by doing it on page-size basis. The `standard'
solution would cut up files unnessisary during allocation. It also made
assumptions about ucb wich were propably right but still.

Revision 1.37 / (download) - annotate - [select for diffs], Sat Mar 14 14:46:09 2009 UTC (13 years, 10 months ago) by dsl
Branch: MAIN
Changes since 1.36: +3 -3 lines
Diff to previous 1.36 (colored)

Remove all the __P() from sys (excluding sys/dist)
Diff checked with grep and MK1 eyeball.
i386 and amd64 GENERIC and sys still build.

Revision 1.30.2.2 / (download) - annotate - [select for diffs], Tue Mar 3 18:32:36 2009 UTC (13 years, 11 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.30.2.1: +22 -3 lines
Diff to previous 1.30.2.1 (colored) to branchpoint 1.30 (colored)

Sync with HEAD.

Revision 1.36 / (download) - annotate - [select for diffs], Wed Feb 11 13:08:08 2009 UTC (13 years, 11 months ago) by reinoud
Branch: MAIN
CVS Tags: nick-hppapmap-base2
Changes since 1.35: +13 -7 lines
Diff to previous 1.35 (colored)

Improve write throttling by doing it on page-size basis. The `standard'
solution would cut up files unnessisary during allocation. It also made
assumptions about ucb wich were propably right but still.

Revision 1.35 / (download) - annotate - [select for diffs], Tue Feb 10 21:24:27 2009 UTC (13 years, 11 months ago) by reinoud
Branch: MAIN
Changes since 1.34: +16 -3 lines
Diff to previous 1.34 (colored)

Add simplistic UBC async flushing as other FS's seem to do. Its a clutch and
needs to be addressed in UBC properly.

Revision 1.30.2.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:19:37 2009 UTC (14 years ago) by skrll
Branch: nick-hppapmap
Changes since 1.30: +20 -27 lines
Diff to previous 1.30 (colored)

Sync with HEAD.

Revision 1.17.6.4 / (download) - annotate - [select for diffs], Sat Jan 17 13:29:17 2009 UTC (14 years ago) by mjf
Branch: mjf-devfs2
Changes since 1.17.6.3: +18 -25 lines
Diff to previous 1.17.6.3 (colored) to branchpoint 1.17 (colored) next main 1.18 (colored)

Sync with HEAD.

Revision 1.30.4.3 / (download) - annotate - [select for diffs], Thu Dec 18 01:08:58 2008 UTC (14 years, 1 month ago) by snj
Branch: netbsd-5
CVS Tags: netbsd-5-0-RC2, netbsd-5-0-RC1
Changes since 1.30.4.2: +4 -5 lines
Diff to previous 1.30.4.2 (colored) to branchpoint 1.30 (colored)

Pull up following revision(s) (requested by reinoud in ticket #192):
	sys/fs/udf/udf_vnops.c: revision 1.34
Fix endless loop occuring on empty directories listing on 512 bytes/sector
media like harddiscs. Also provide provide a `safety net' on readdir so it
will signal EOF when its requested an entry outside the directory.

Revision 1.30.4.2 / (download) - annotate - [select for diffs], Thu Dec 18 01:07:49 2008 UTC (14 years, 1 month ago) by snj
Branch: netbsd-5
Changes since 1.30.4.1: +11 -8 lines
Diff to previous 1.30.4.1 (colored) to branchpoint 1.30 (colored)

Pull up following revision(s) (requested by reinoud in ticket #192):
	sys/fs/udf/udf_subr.c: revision 1.77
	sys/fs/udf/udf_vnops.c: revision 1.33
Elaborate SYNC debug messages and rename some debug messages to a more
proper category.

Revision 1.34 / (download) - annotate - [select for diffs], Tue Dec 16 14:28:34 2008 UTC (14 years, 1 month ago) by reinoud
Branch: MAIN
CVS Tags: mjf-devfs2-base
Branch point for: jym-xensuspend
Changes since 1.33: +4 -5 lines
Diff to previous 1.33 (colored)

Fix endless loop occuring on empty directories listing on 512 bytes/sector
media like harddiscs. Also provide provide a `safety net' on readdir so it
will signal EOF when its requested an entry outside the directory.

Revision 1.33 / (download) - annotate - [select for diffs], Tue Dec 16 10:30:19 2008 UTC (14 years, 1 month ago) by reinoud
Branch: MAIN
Changes since 1.32: +11 -8 lines
Diff to previous 1.32 (colored)

Elaborate SYNC debug messages and rename some debug messages to a more
proper category.

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

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

Revision 1.30.4.1 / (download) - annotate - [select for diffs], Sat Dec 6 21:44:05 2008 UTC (14 years, 2 months ago) by snj
Branch: netbsd-5
Changes since 1.30: +4 -4 lines
Diff to previous 1.30 (colored)

Pull up following revision(s) (requested by reinoud in ticket #167):
	sys/fs/udf/udf_subr.c: revision 1.76
	sys/fs/udf/udf_vnops.c: revision 1.32
Split uid/gid remapping code to be independent of eachother.

Revision 1.32 / (download) - annotate - [select for diffs], Mon Dec 1 14:19:01 2008 UTC (14 years, 2 months ago) by reinoud
Branch: MAIN
CVS Tags: haad-nbase2, haad-dm-base2, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Changes since 1.31: +4 -4 lines
Diff to previous 1.31 (colored)

Split uid/gid remapping code to be independent of eachother.

Revision 1.31 / (download) - annotate - [select for diffs], Wed Nov 26 20:17:33 2008 UTC (14 years, 2 months ago) by pooka
Branch: MAIN
Changes since 1.30: +7 -16 lines
Diff to previous 1.30 (colored)

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

Revision 1.23.2.1 / (download) - annotate - [select for diffs], Sun Oct 19 22:17:18 2008 UTC (14 years, 3 months ago) by haad
Branch: haad-dm
Changes since 1.23: +79 -29 lines
Diff to previous 1.23 (colored)

Sync with HEAD.

Revision 1.17.6.3 / (download) - annotate - [select for diffs], Sun Sep 28 10:40:51 2008 UTC (14 years, 4 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.17.6.2: +77 -27 lines
Diff to previous 1.17.6.2 (colored) to branchpoint 1.17 (colored)

Sync with HEAD.

Revision 1.17.12.2 / (download) - annotate - [select for diffs], Thu Sep 18 04:36:56 2008 UTC (14 years, 4 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.17.12.1: +106 -35 lines
Diff to previous 1.17.12.1 (colored) to branchpoint 1.17 (colored) next main 1.18 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.19.2.2 / (download) - annotate - [select for diffs], Fri Jul 18 16:37:48 2008 UTC (14 years, 6 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.19.2.1: +79 -29 lines
Diff to previous 1.19.2.1 (colored) to branchpoint 1.19 (colored) next main 1.20 (colored)

Sync with head.

Revision 1.30 / (download) - annotate - [select for diffs], Thu Jul 17 19:10:22 2008 UTC (14 years, 6 months ago) by reinoud
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, simonb-wapbl-nbase, simonb-wapbl-base, netbsd-5-base, matt-mips64-base2, haad-dm-base1
Branch point for: nick-hppapmap, netbsd-5
Changes since 1.29: +13 -5 lines
Diff to previous 1.29 (colored)

Implement directory hashing to speed up directory traversals. Speed
improvements of at least 4 times in untarring and roughly 100 to 500 times
on file creation in big directories. Lookup of files was O(n*n) and is now
O(1) even for file creation. Free spaces in the directory are kept in a
seperate list for fast file creation.

The postmark benchmark gives:

UDF old:
pm>set transactions 2000
pm>set number 3000
pm>run
Creating files...Done
Performing transactions..........Done
Deleting files...Done
Time:
        1593 seconds total
        681 seconds of transactions (2 per second)

Files:
        3956 created (2 per second)
                Creation alone: 3000 files (4 per second)
                Mixed with transactions: 956 files (1 per second)
        990 read (1 per second)
        1010 appended (1 per second)
        3956 deleted (2 per second)
                Deletion alone: 2912 files (9 per second)
                Mixed with transactions: 1044 files (1 per second)

Data:
        5.26 megabytes read (3.38 kilobytes per second)
        21.93 megabytes written (14.10 kilobytes per second)
pm>



UDF new:
pm>set transactions 2000
pm>set number 3000
pm>run
Creating files...Done
Performing transactions..........Done
Deleting files...Done
Time:
        19 seconds total
        3 seconds of transactions (666 per second)

Files:
        3956 created (208 per second)
                Creation alone: 3000 files (230 per second)
                Mixed with transactions: 956 files (318 per second)
        990 read (330 per second)
        1010 appended (336 per second)
        3956 deleted (208 per second)
                Deletion alone: 2912 files (970 per second)
                Mixed with transactions: 1044 files (348 per second)

Data:
        5.26 megabytes read (283.66 kilobytes per second)
        21.93 megabytes written (1.15 megabytes per second)

Revision 1.29 / (download) - annotate - [select for diffs], Thu Jul 17 11:00:29 2008 UTC (14 years, 6 months ago) by reinoud
Branch: MAIN
Changes since 1.28: +3 -3 lines
Diff to previous 1.28 (colored)

Since the rename logic now locks its source directory too, we ought to
unlock the source directory again on exit. The stub that doesn't allow
cross directory renames for now jumped to the wrong exit point and thus
left a locked directory node that paniced on next locking.

Revision 1.28 / (download) - annotate - [select for diffs], Tue Jul 15 15:49:05 2008 UTC (14 years, 6 months ago) by reinoud
Branch: MAIN
Changes since 1.27: +13 -8 lines
Diff to previous 1.27 (colored)

Keep the directory to read '..' from locked until its dirent is read and
its location is extracted.

Also lock the source directory so its contents can safely be changed...
patch from tmpfs.

Revision 1.27 / (download) - annotate - [select for diffs], Thu Jul 10 17:38:31 2008 UTC (14 years, 6 months ago) by reinoud
Branch: MAIN
Changes since 1.26: +7 -7 lines
Diff to previous 1.26 (colored)

Fix chtimes permission checking. This sanitised version is hopefully DTRT.

Revision 1.26 / (download) - annotate - [select for diffs], Thu Jul 10 15:29:51 2008 UTC (14 years, 6 months ago) by reinoud
Branch: MAIN
Changes since 1.25: +42 -14 lines
Diff to previous 1.25 (colored)

Allow the renaming of directories *within* their current directory. No
cross-directory renaming is allowed yet.

Revision 1.25 / (download) - annotate - [select for diffs], Thu Jul 10 14:16:02 2008 UTC (14 years, 6 months ago) by reinoud
Branch: MAIN
Changes since 1.24: +5 -5 lines
Diff to previous 1.24 (colored)

Clarifying comments

Revision 1.24 / (download) - annotate - [select for diffs], Mon Jul 7 18:45:27 2008 UTC (14 years, 7 months ago) by reinoud
Branch: MAIN
Changes since 1.23: +11 -2 lines
Diff to previous 1.23 (colored)

Support for allocation extents descriptor writing to allow for arbitrary
heavily fragmented files.

Also fixing some (rare) allocation bugs and function name streamlining.

Tested on harddisc, CD-RW and CD-R i.e. all three basic backend classes.

Revision 1.17.6.2 / (download) - annotate - [select for diffs], Sun Jun 29 09:33:13 2008 UTC (14 years, 7 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.17.6.1: +37 -30 lines
Diff to previous 1.17.6.1 (colored) to branchpoint 1.17 (colored)

Sync with HEAD.

Revision 1.19.2.1 / (download) - annotate - [select for diffs], Fri Jun 27 15:11:38 2008 UTC (14 years, 7 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.19: +39 -32 lines
Diff to previous 1.19 (colored)

Sync with head.

Revision 1.23 / (download) - annotate - [select for diffs], Tue Jun 24 15:57:13 2008 UTC (14 years, 7 months ago) by reinoud
Branch: MAIN
Branch point for: haad-dm
Changes since 1.22: +9 -5 lines
Diff to previous 1.22 (colored)

Make readsymlink bug-tolerant to MacOS X symlink construction bug. It puts
the name ".." on a parent path component. To prevent other similar errors,
name length checking is not done but the passed name that shouldn't be
passed is ignored.

Revision 1.22 / (download) - annotate - [select for diffs], Tue Jun 24 15:42:07 2008 UTC (14 years, 7 months ago) by reinoud
Branch: MAIN
Changes since 1.21: +6 -2 lines
Diff to previous 1.21 (colored)

We are not allowed zero length names in softlinks.

Revision 1.21 / (download) - annotate - [select for diffs], Tue Jun 24 15:35:57 2008 UTC (14 years, 7 months ago) by reinoud
Branch: MAIN
Changes since 1.20: +18 -5 lines
Diff to previous 1.20 (colored)

Support the creation of extended attributes for file creation in the
kernel and check and update them when found.

Note that it won't *insert* an extended attribute yet if it hasn't found it
while updating the birthtime.

Revision 1.17.12.1 / (download) - annotate - [select for diffs], Mon Jun 23 04:31:50 2008 UTC (14 years, 7 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.17: +1127 -210 lines
Diff to previous 1.17 (colored)

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

Revision 1.20 / (download) - annotate - [select for diffs], Wed Jun 18 21:23:32 2008 UTC (14 years, 7 months ago) by reinoud
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-1, wrstuden-revivesa-base
Changes since 1.19: +12 -26 lines
Diff to previous 1.19 (colored)

Cleanup file access,modification,attribute and birthtime setting of files
and make the modification time when set never older than the creation time.

Revision 1.17.8.2 / (download) - annotate - [select for diffs], Wed Jun 4 02:05:34 2008 UTC (14 years, 8 months ago) by yamt
Branch: yamt-pf42
Changes since 1.17.8.1: +4 -3 lines
Diff to previous 1.17.8.1 (colored) to branchpoint 1.17 (colored) next main 1.18 (colored)

sync with head

Revision 1.17.6.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:24:06 2008 UTC (14 years, 8 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.17: +1139 -208 lines
Diff to previous 1.17 (colored)

Sync with HEAD.

Revision 1.19 / (download) - annotate - [select for diffs], Mon May 19 20:12:36 2008 UTC (14 years, 8 months ago) by reinoud
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, hpcarm-cleanup-nbase
Branch point for: simonb-wapbl
Changes since 1.18: +4 -3 lines
Diff to previous 1.18 (colored)

Implement wide char support for UDF by properly implementing unicode-16 to
UTF-8 like cd9660 and ntfs already do.

Revision 1.17.8.1 / (download) - annotate - [select for diffs], Sun May 18 12:35:06 2008 UTC (14 years, 8 months ago) by yamt
Branch: yamt-pf42
Changes since 1.17: +1138 -208 lines
Diff to previous 1.17 (colored)

sync with head.

Revision 1.17.10.1 / (download) - annotate - [select for diffs], Fri May 16 02:25:22 2008 UTC (14 years, 8 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.17: +1138 -208 lines
Diff to previous 1.17 (colored)

sync with head.

Revision 1.18 / (download) - annotate - [select for diffs], Wed May 14 16:49:48 2008 UTC (14 years, 8 months ago) by reinoud
Branch: MAIN
CVS Tags: yamt-pf42-base2, yamt-nfs-mp-base2
Changes since 1.17: +1138 -208 lines
Diff to previous 1.17 (colored)

Import writing part of the UDF file system making optical media like CD's
and DVD's behave like floppy discs. Writing is supported upto and including
version 2.01; version 2.50 and 2.60 will follow.

Also extending the UDF implementation to support symbolic links and
hardlinks.

Added are the mmcformat(8) tool to format rewritable CD/DVD discs and
newfs_udf(8).

Limitations:
        all operations can be performed on the file system though the
        sheduling is currently optimised for archiving workloads.

        mv(1)/rename(2) is currently only implemented for non-directories.

Revision 1.10.8.3 / (download) - annotate - [select for diffs], Sun Mar 23 02:04:57 2008 UTC (14 years, 10 months ago) by matt
Branch: matt-armv6
Changes since 1.10.8.2: +3 -7 lines
Diff to previous 1.10.8.2 (colored) to branchpoint 1.10 (colored) next main 1.11 (colored)

sync with HEAD

Revision 1.12.4.3 / (download) - annotate - [select for diffs], Mon Feb 18 21:06:44 2008 UTC (14 years, 11 months ago) by mjf
Branch: mjf-devfs
Changes since 1.12.4.2: +5 -9 lines
Diff to previous 1.12.4.2 (colored) to branchpoint 1.12 (colored) next main 1.13 (colored)

Sync with HEAD.

Revision 1.6.4.9 / (download) - annotate - [select for diffs], Mon Feb 4 09:24:04 2008 UTC (15 years ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.6.4.8: +2 -3 lines
Diff to previous 1.6.4.8 (colored) to branchpoint 1.6 (colored) next main 1.7 (colored)

sync with head.

Revision 1.17 / (download) - annotate - [select for diffs], Fri Jan 25 14:32:14 2008 UTC (15 years 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, wrstuden-revivesa, mjf-devfs2
Changes since 1.16: +2 -3 lines
Diff to previous 1.16 (colored)

Remove VOP_LEASE. Discussed on tech-kern.

Revision 1.6.4.8 / (download) - annotate - [select for diffs], Mon Jan 21 09:45:56 2008 UTC (15 years ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.6.4.7: +5 -8 lines
Diff to previous 1.6.4.7 (colored) to branchpoint 1.6 (colored)

sync with head

Revision 1.13.6.3 / (download) - annotate - [select for diffs], Sat Jan 19 12:15:18 2008 UTC (15 years ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.13.6.2: +1 -4 lines
Diff to previous 1.13.6.2 (colored) to branchpoint 1.13 (colored) next main 1.14 (colored)

Sync with HEAD

Revision 1.16 / (download) - annotate - [select for diffs], Thu Jan 17 10:39:14 2008 UTC (15 years ago) by ad
Branch: MAIN
CVS Tags: bouyer-xeni386-nbase, bouyer-xeni386-base
Changes since 1.15: +3 -6 lines
Diff to previous 1.15 (colored)

Fix dodgy tests of v_usecount.

Revision 1.10.8.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:55:54 2008 UTC (15 years, 1 month ago) by matt
Branch: matt-armv6
Changes since 1.10.8.1: +6 -7 lines
Diff to previous 1.10.8.1 (colored) to branchpoint 1.10 (colored)

sync with HEAD

Revision 1.13.6.2 / (download) - annotate - [select for diffs], Wed Jan 2 21:55:41 2008 UTC (15 years, 1 month ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.13.6.1: +2 -2 lines
Diff to previous 1.13.6.1 (colored) to branchpoint 1.13 (colored)

Sync with HEAD

Revision 1.15 / (download) - annotate - [select for diffs], Wed Jan 2 11:48:47 2008 UTC (15 years, 1 month ago) by ad
Branch: MAIN
CVS Tags: matt-armv6-base
Changes since 1.14: +4 -4 lines
Diff to previous 1.14 (colored)

Merge vmlocking2 to head.

Revision 1.12.4.2 / (download) - annotate - [select for diffs], Thu Dec 27 00:45:51 2007 UTC (15 years, 1 month ago) by mjf
Branch: mjf-devfs
Changes since 1.12.4.1: +2 -2 lines
Diff to previous 1.12.4.1 (colored) to branchpoint 1.12 (colored)

Sync with HEAD.

Revision 1.13.2.2 / (download) - annotate - [select for diffs], Wed Dec 26 21:39:35 2007 UTC (15 years, 1 month ago) by ad
Branch: vmlocking2
Changes since 1.13.2.1: +2 -2 lines
Diff to previous 1.13.2.1 (colored) to branchpoint 1.13 (colored) next main 1.14 (colored)

Sync with head.

Revision 1.13.6.1 / (download) - annotate - [select for diffs], Thu Dec 13 21:56:52 2007 UTC (15 years, 1 month ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored)

Sync with HEAD

Revision 1.13.4.1 / (download) - annotate - [select for diffs], Tue Dec 11 15:44:11 2007 UTC (15 years, 1 month ago) by yamt
Branch: yamt-kmem
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored) next main 1.14 (colored)

sync with head.

Revision 1.14 / (download) - annotate - [select for diffs], Tue Dec 11 12:05:28 2007 UTC (15 years, 1 month ago) by lukem
Branch: MAIN
CVS Tags: yamt-kmem-base3, yamt-kmem-base2, vmlocking2-base3, cube-autoconf-base, cube-autoconf
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored)

use __KERNEL_RCSID() instead of __RCSID()

Revision 1.12.4.1 / (download) - annotate - [select for diffs], Sat Dec 8 18:20:22 2007 UTC (15 years, 2 months ago) by mjf
Branch: mjf-devfs
Changes since 1.12: +4 -5 lines
Diff to previous 1.12 (colored)

Sync with HEAD.

Revision 1.6.4.7 / (download) - annotate - [select for diffs], Fri Dec 7 17:32:14 2007 UTC (15 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.6.4.6: +4 -5 lines
Diff to previous 1.6.4.6 (colored) to branchpoint 1.6 (colored)

sync with head

Revision 1.13.2.1 / (download) - annotate - [select for diffs], Tue Dec 4 13:03:12 2007 UTC (15 years, 2 months ago) by ad
Branch: vmlocking2
Changes since 1.13: +4 -4 lines
Diff to previous 1.13 (colored)

Pull the vmlocking changes into a new branch.

Revision 1.10.6.3 / (download) - annotate - [select for diffs], Tue Nov 27 19:37:57 2007 UTC (15 years, 2 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.10.6.2: +4 -5 lines
Diff to previous 1.10.6.2 (colored) to branchpoint 1.10 (colored) next main 1.11 (colored)

Sync with HEAD. amd64 Xen support needs testing.

Revision 1.13 / (download) - annotate - [select for diffs], Mon Nov 26 19:01:57 2007 UTC (15 years, 2 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-kmem-base, vmlocking2-base2, vmlocking2-base1, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, jmcneill-pm-base
Branch point for: yamt-kmem, vmlocking2, bouyer-xeni386
Changes since 1.12: +4 -5 lines
Diff to previous 1.12 (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.10.8.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:31:23 2007 UTC (15 years, 3 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.10: +19 -17 lines
Diff to previous 1.10 (colored)

sync with HEAD

Revision 1.6.4.6 / (download) - annotate - [select for diffs], Sat Oct 27 11:35:16 2007 UTC (15 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.6.4.5: +19 -17 lines
Diff to previous 1.6.4.5 (colored) to branchpoint 1.6 (colored)

sync with head.

Revision 1.10.6.2 / (download) - annotate - [select for diffs], Fri Oct 26 15:48:24 2007 UTC (15 years, 3 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.10.6.1: +3 -3 lines
Diff to previous 1.10.6.1 (colored) to branchpoint 1.10 (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.10.10.2 / (download) - annotate - [select for diffs], Sun Oct 14 11:48:36 2007 UTC (15 years, 3 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.10.10.1: +3 -3 lines
Diff to previous 1.10.10.1 (colored) to branchpoint 1.10 (colored) next main 1.11 (colored)

sync with head.

Revision 1.9.6.4 / (download) - annotate - [select for diffs], Tue Oct 9 13:44:21 2007 UTC (15 years, 4 months ago) by ad
Branch: vmlocking
Changes since 1.9.6.3: +18 -16 lines
Diff to previous 1.9.6.3 (colored) to branchpoint 1.9 (colored) next main 1.10 (colored)

Sync with head.

Revision 1.12 / (download) - annotate - [select for diffs], Mon Oct 8 17:01:43 2007 UTC (15 years, 4 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.11: +3 -3 lines
Diff to previous 1.11 (colored)

Merge from vmlocking: fix dodgy use of VOP_ISLOCKED().

Revision 1.10.10.1 / (download) - annotate - [select for diffs], Sat Oct 6 15:29:52 2007 UTC (15 years, 4 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.10: +18 -16 lines
Diff to previous 1.10 (colored)

sync with head.

Revision 1.10.6.1 / (download) - annotate - [select for diffs], Tue Oct 2 18:28:56 2007 UTC (15 years, 4 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.10: +18 -16 lines
Diff to previous 1.10 (colored)

Sync with HEAD.

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

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

Revision 1.6.4.5 / (download) - annotate - [select for diffs], Mon Sep 3 14:40:37 2007 UTC (15 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.6.4.4: +3 -3 lines
Diff to previous 1.6.4.4 (colored) to branchpoint 1.6 (colored)

sync with head.

Revision 1.9.6.3 / (download) - annotate - [select for diffs], Wed Aug 22 20:26:56 2007 UTC (15 years, 5 months ago) by ad
Branch: vmlocking
Changes since 1.9.6.2: +3 -3 lines
Diff to previous 1.9.6.2 (colored) to branchpoint 1.9 (colored)

Fix dodgy use of VOP_ISLOCKED().

Revision 1.9.8.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:09:36 2007 UTC (15 years, 6 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored) next main 1.10 (colored)

Sync with head.

Revision 1.9.6.2 / (download) - annotate - [select for diffs], Fri Jun 8 14:15:02 2007 UTC (15 years, 8 months ago) by ad
Branch: vmlocking
Changes since 1.9.6.1: +3 -3 lines
Diff to previous 1.9.6.1 (colored) to branchpoint 1.9 (colored)

Sync with head.

Revision 1.9.2.1 / (download) - annotate - [select for diffs], Mon May 7 10:55:43 2007 UTC (15 years, 9 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored) next main 1.10 (colored)

sync with head.

Revision 1.10 / (download) - annotate - [select for diffs], Sun Apr 29 20:23:36 2007 UTC (15 years, 9 months ago) by msaitoh
Branch: MAIN
CVS Tags: yamt-x86pmap-base, yamt-idlelwp-base8, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: yamt-x86pmap, matt-armv6, jmcneill-pm
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored)

fix typos

Revision 1.9.6.1 / (download) - annotate - [select for diffs], Thu Apr 5 21:57:49 2007 UTC (15 years, 10 months ago) by ad
Branch: vmlocking
Changes since 1.9: +4 -4 lines
Diff to previous 1.9 (colored)

Compile fixes.

Revision 1.6.4.4 / (download) - annotate - [select for diffs], Mon Feb 26 09:11:01 2007 UTC (15 years, 11 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.6.4.3: +3 -3 lines
Diff to previous 1.6.4.3 (colored) to branchpoint 1.6 (colored)

sync with head.

Revision 1.7.2.2 / (download) - annotate - [select for diffs], Sat Feb 17 23:27:46 2007 UTC (15 years, 11 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.7.2.1: +5 -20 lines
Diff to previous 1.7.2.1 (colored) to branchpoint 1.7 (colored) next main 1.8 (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.6.8.2 / (download) - annotate - [select for diffs], Fri Jan 12 01:04:05 2007 UTC (16 years ago) by ad
Branch: newlock2
Changes since 1.6.8.1: +6 -21 lines
Diff to previous 1.6.8.1 (colored) to branchpoint 1.6 (colored) next main 1.7 (colored)

Sync with head.

Revision 1.7.2.1 / (download) - annotate - [select for diffs], Thu Jan 4 19:55:50 2007 UTC (16 years, 1 month ago) by bouyer
Branch: netbsd-4
Changes since 1.7: +3 -3 lines
Diff to previous 1.7 (colored)

Pull up following revision(s) (requested by reinoud in ticket #333):
	sys/fs/udf/udf_subr.c: revision 1.27-1.29
	sys/fs/udf/udf_vnops.c: revision 1.9
	sys/fs/udf/ecma167-udf.h: revision 1.6
Fix compilation issue when specifying different flags or compiling with a
different compiler. Thanks to Jared for noting.
Add UDF_ICB_FILETYPE_REALTIME type as found on UDF 2.50 discs. Also revert
a multiplication order to enforce 64 bit math.
Forgot one place for UDF_ICB_FILETYPE_RANDOMACCESS.

Revision 1.9 / (download) - annotate - [select for diffs], Thu Jan 4 04:15:43 2007 UTC (16 years, 1 month ago) by reinoud
Branch: MAIN
CVS Tags: thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, post-newlock2-merge, newlock2-nbase, newlock2-base, ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp, vmlocking, mjf-ufs-trans
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored)

Add UDF_ICB_FILETYPE_REALTIME type as found on UDF 2.50 discs. Also revert
a multiplication order to enforce 64 bit math.

Revision 1.6.4.3 / (download) - annotate - [select for diffs], Sat Dec 30 20:50:01 2006 UTC (16 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.6.4.2: +6 -21 lines
Diff to previous 1.6.4.2 (colored) to branchpoint 1.6 (colored)

sync with head.

Revision 1.6.12.2 / (download) - annotate - [select for diffs], Sun Dec 10 07:18:43 2006 UTC (16 years, 1 month ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.6.12.1: +5 -20 lines
Diff to previous 1.6.12.1 (colored) to branchpoint 1.6 (colored) next main 1.7 (colored)

sync with head.

Revision 1.8 / (download) - annotate - [select for diffs], Sat Dec 9 16:11:51 2006 UTC (16 years, 2 months ago) by chs
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3
Changes since 1.7: +5 -20 lines
Diff to previous 1.7 (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.6.8.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:39:21 2006 UTC (16 years, 2 months ago) by ad
Branch: newlock2
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (colored)

Sync with head.

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

sync with head

Revision 1.7 / (download) - annotate - [select for diffs], Thu Oct 12 01:32:14 2006 UTC (16 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2, netbsd-4-base
Branch point for: netbsd-4
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (colored)

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

Revision 1.6.10.2 / (download) - annotate - [select for diffs], Sat Sep 9 02:57:06 2006 UTC (16 years, 5 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.6.10.1: +1274 -0 lines
Diff to previous 1.6.10.1 (colored) to branchpoint 1.6 (colored) next main 1.7 (colored)

sync with head

Revision 1.2.6.2 / (download) - annotate - [select for diffs], Mon Jun 26 12:52:56 2006 UTC (16 years, 7 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.2.6.1: +26 -26 lines
Diff to previous 1.2.6.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

sync with head.

Revision 1.6.4.2 / (download) - annotate - [select for diffs], Wed Jun 21 15:09:37 2006 UTC (16 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.6.4.1: +1274 -0 lines
Diff to previous 1.6.4.1 (colored) to branchpoint 1.6 (colored)

sync with head.

Revision 1.5.2.1 / (download) - annotate - [select for diffs], Mon Jun 19 04:07:15 2006 UTC (16 years, 7 months ago) by chap
Branch: chap-midi
Changes since 1.5: +26 -26 lines
Diff to previous 1.5 (colored) next main 1.6 (colored)

Sync with head.

Revision 1.6.10.1, Mon Jun 12 00:20:21 2006 UTC (16 years, 7 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.6: +0 -1274 lines
FILE REMOVED

file udf_vnops.c was added on branch rpaulo-netinet-merge-pcb on 2006-09-09 02:57:06 +0000

Revision 1.6.4.1, Mon Jun 12 00:20:21 2006 UTC (16 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.6: +0 -1274 lines
FILE REMOVED

file udf_vnops.c was added on branch yamt-lazymbuf on 2006-06-21 15:09:37 +0000

Revision 1.6 / (download) - annotate - [select for diffs], Mon Jun 12 00:20:21 2006 UTC (16 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, rpaulo-netinet-merge-pcb-base, gdamore-uart-base, gdamore-uart, chap-midi-nbase, chap-midi-base, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-splraiseipl, yamt-lazymbuf, rpaulo-netinet-merge-pcb, newlock2
Changes since 1.5: +26 -26 lines
Diff to previous 1.5 (colored)

remove ; from };

Revision 1.2.2.1 / (download) - annotate - [select for diffs], Thu Jun 1 22:38:05 2006 UTC (16 years, 8 months ago) by kardel
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.2: +18 -18 lines
Diff to previous 1.2 (colored) next main 1.3 (colored)

Sync with head.

Revision 1.2.10.1 / (download) - annotate - [select for diffs], Wed May 24 15:50:40 2006 UTC (16 years, 8 months ago) by tron
Branch: peter-altq
Changes since 1.2: +17 -17 lines
Diff to previous 1.2 (colored) next main 1.3 (colored)

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

Revision 1.2.6.1 / (download) - annotate - [select for diffs], Wed May 24 10:58:40 2006 UTC (16 years, 8 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.2: +18 -18 lines
Diff to previous 1.2 (colored)

sync with head.

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

integrate kauth.

Revision 1.2.8.2 / (download) - annotate - [select for diffs], Thu May 11 23:30:14 2006 UTC (16 years, 8 months ago) by elad
Branch: elad-kernelauth
Changes since 1.2.8.1: +6 -6 lines
Diff to previous 1.2.8.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

sync with head

Revision 1.4 / (download) - annotate - [select for diffs], Thu May 11 01:12:21 2006 UTC (16 years, 9 months ago) by mrg
Branch: MAIN
CVS Tags: elad-kernelauth-base
Changes since 1.3: +5 -5 lines
Diff to previous 1.3 (colored)

quell GCC 4.1 uninitialised variable warnings.

XXX: we should audit the tree for which old ones are no longer needed
after getting the older compilers out of the tree..

Revision 1.3 / (download) - annotate - [select for diffs], Tue Apr 25 02:19:31 2006 UTC (16 years, 9 months ago) by snj
Branch: MAIN
Changes since 1.2: +3 -3 lines
Diff to previous 1.2 (colored)

s/allready/already/

Revision 1.2.8.1 / (download) - annotate - [select for diffs], Wed Mar 8 01:31:33 2006 UTC (16 years, 11 months ago) by elad
Branch: elad-kernelauth
Changes since 1.2: +14 -14 lines
Diff to previous 1.2 (colored)

Adapt to kernel authorization KPI.

Revision 1.2.4.2 / (download) - annotate - [select for diffs], Sat Feb 18 15:39:18 2006 UTC (16 years, 11 months ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.2.4.1: +1274 -0 lines
Diff to previous 1.2.4.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

sync with head.

Revision 1.2.4.1, Thu Feb 2 15:38:35 2006 UTC (17 years ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.2: +0 -1274 lines
FILE REMOVED

file udf_vnops.c was added on branch yamt-uio_vmspace on 2006-02-18 15:39:18 +0000

Revision 1.2 / (download) - annotate - [select for diffs], Thu Feb 2 15:38:35 2006 UTC (17 years ago) by reinoud
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, peter-altq-base
Branch point for: yamt-uio_vmspace, yamt-pdpolicy, simonb-timecounters, peter-altq, elad-kernelauth
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored)

Fix $NetBSD$ tags. (sorry)

Revision 1.1 / (download) - annotate - [select for diffs], Thu Feb 2 15:19:16 2006 UTC (17 years ago) by reinoud
Branch: MAIN

Initial import of a UDF file system implementation for NetBSD.

The code supports read access to all media types that CD/DVD type drives
can recognize including DVD-RAM and BD- drives as well as harddisc partions
and vnd devices. UDF versions upto the latest 2.60 are to be supported
though due to lack of test media version 2.50 and 2.60 are not implemented
yet though easy to add. Both open and closed media are supported.

Write access is planned and in preparation. To facilitate this some hooks
are present in the code that are not strictly needed in a read-only
implementation but which allow writing to be added more easily.

Implemented and tested media types are CD-ROM, CD-R, CD-RW, CD-MRW,
DVD-ROM, DVD*R, DVD*RW, DVD+MRW but the same code can also read DVD-RAM,
HD-DVD and BluRay discs. Also vnd devices have been tested with several
sector sizes.

Discs created and written by UDFclient, Nero's InCD and Roxio's
DirectCD/Drag2Disc read fine.

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>