The NetBSD Project

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

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.176 / (download) - annotate - [select for diffs], Sat Feb 10 09:21:53 2024 UTC (6 weeks, 6 days ago) by andvar
Branch: MAIN
CVS Tags: HEAD
Changes since 1.175: +10 -10 lines
Diff to previous 1.175 (colored) to selected 1.139.6.1 (colored)

fix various typos in comments and log messages.

Revision 1.175 / (download) - annotate - [select for diffs], Sun Feb 4 20:50:30 2024 UTC (7 weeks, 4 days ago) by andvar
Branch: MAIN
Changes since 1.174: +4 -4 lines
Diff to previous 1.174 (colored) to selected 1.139.6.1 (colored)

s/substract/subtract/ in comments.

Revision 1.174 / (download) - annotate - [select for diffs], Sat Jun 3 20:41:45 2023 UTC (9 months, 3 weeks ago) by andvar
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation
Changes since 1.173: +3 -3 lines
Diff to previous 1.173 (colored) to selected 1.139.6.1 (colored)

fix various typos in comments and messages.

Revision 1.173 / (download) - annotate - [select for diffs], Mon Apr 3 18:03:24 2023 UTC (11 months, 3 weeks ago) by gutteridge
Branch: MAIN
Changes since 1.172: +3 -3 lines
Diff to previous 1.172 (colored) to selected 1.139.6.1 (colored)

Fix typos: s/trough/through/

Revision 1.172 / (download) - annotate - [select for diffs], Mon Oct 31 21:22:06 2022 UTC (16 months, 4 weeks ago) by andvar
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10
Changes since 1.171: +3 -3 lines
Diff to previous 1.171 (colored) to selected 1.139.6.1 (colored)

fix various typos in comments and one output message.

Revision 1.171 / (download) - annotate - [select for diffs], Sat May 28 21:14:57 2022 UTC (22 months ago) by andvar
Branch: MAIN
CVS Tags: bouyer-sunxi-drm-base, bouyer-sunxi-drm
Changes since 1.170: +3 -3 lines
Diff to previous 1.170 (colored) to selected 1.139.6.1 (colored)

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

Revision 1.170 / (download) - annotate - [select for diffs], Sun May 15 20:37:51 2022 UTC (22 months, 2 weeks ago) by andvar
Branch: MAIN
Changes since 1.169: +4 -4 lines
Diff to previous 1.169 (colored) to selected 1.139.6.1 (colored)

s/wich/which in comments.

Revision 1.146.2.3 / (download) - annotate - [select for diffs], Sun Apr 24 16:39:00 2022 UTC (23 months ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-3-RELEASE
Changes since 1.146.2.2: +4 -4 lines
Diff to previous 1.146.2.2 (colored) to branchpoint 1.146 (colored) next main 1.147 (colored) to selected 1.139.6.1 (colored)

Pull up following revision(s) (requested by reinoud in ticket #1438):

	sys/compat/netbsd32/netbsd32.h: revision 1.140
	sys/compat/netbsd32/netbsd32_fs.c: revision 1.95
	sys/fs/udf/udf_subr.c: revision 1.169

Fix endian issue with UDF extended attribute handling

Implement support for mounting UDF in compat32
Fixes PR#56801

Revision 1.169 / (download) - annotate - [select for diffs], Fri Apr 22 21:21:10 2022 UTC (23 months, 1 week ago) by reinoud
Branch: MAIN
Changes since 1.168: +4 -4 lines
Diff to previous 1.168 (colored) to selected 1.139.6.1 (colored)

Fix endian issue with UDF extended attribute handling

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

fix various typos in comments and output/log messages.

Revision 1.146.2.2 / (download) - annotate - [select for diffs], Sun Mar 13 09:48:32 2022 UTC (2 years ago) by martin
Branch: netbsd-9
Changes since 1.146.2.1: +31 -10 lines
Diff to previous 1.146.2.1 (colored) to branchpoint 1.146 (colored) to selected 1.139.6.1 (colored)

Pull up following revision(s), all via patch,
requested by reinoud in ticket #1432:

	sys/fs/udf/udf_vfsops.c: revision 1.83
	sys/fs/udf/udf_allocation.c: revision 1.45
	sys/fs/udf/udf_subr.c: revision 1.160
	sys/fs/udf/udf_subr.c: revision 1.161

While searching the VAT on recordable media, search the last sector too!
This fixes Win10 formatted discs from being mounted incorrectly.

Make sysctl udf.verbose dependent on UDF_DEBUG instead of DEBUG

Fix serious issue with recordable media formatted with Win10. When closing it
after modification the VAT was written out corrupted making the disc
unreadable anymore on remount. Thanks for ig@ for spotting it in the wild!

On freeing a virtual address in the VAT, use the correct value; this might
confuse other implementations who can reject the VAT on this.

Revision 1.146.2.1 / (download) - annotate - [select for diffs], Sun Mar 13 09:44:33 2022 UTC (2 years ago) by martin
Branch: netbsd-9
Changes since 1.146: +15 -5 lines
Diff to previous 1.146 (colored) to selected 1.139.6.1 (colored)

Pull up following revision(s) (requested by reinoud in ticket #1431):

	sys/fs/udf/udf_strat_sequential.c: revision 1.16
	sys/fs/udf/udf_subr.c: revision 1.167

On switching from writing to reading explicitly synchronize the caches. It
isn't strictly needed but some devices in the wild will otherwise bluntly
ignore all reading commands resulting in a kernel and device lockup.

For bug-compatibility with Windows, the last VAT sector must be a multiple of
16/32 from the start of the track.  To allow for scratches, write out at least
a 32 pieces.

Revision 1.167 / (download) - annotate - [select for diffs], Tue Mar 8 18:30:43 2022 UTC (2 years ago) by reinoud
Branch: MAIN
Changes since 1.166: +15 -5 lines
Diff to previous 1.166 (colored) to selected 1.139.6.1 (colored)

For bug-compatibility with Windows, the last VAT sector must be a multiple of
16/32 from the start of the track.  To allow for scratches, write out at least
a 32 pieces.

Revision 1.166 / (download) - annotate - [select for diffs], Sun Feb 6 20:20:19 2022 UTC (2 years, 1 month ago) by andvar
Branch: MAIN
Changes since 1.165: +3 -3 lines
Diff to previous 1.165 (colored) to selected 1.139.6.1 (colored)

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

Revision 1.165 / (download) - annotate - [select for diffs], Tue Jan 25 22:01:35 2022 UTC (2 years, 2 months ago) by andvar
Branch: MAIN
Changes since 1.164: +3 -3 lines
Diff to previous 1.164 (colored) to selected 1.139.6.1 (colored)

fix various typos in comments.

Revision 1.164 / (download) - annotate - [select for diffs], Mon Jan 24 09:42:14 2022 UTC (2 years, 2 months ago) by andvar
Branch: MAIN
Changes since 1.163: +3 -3 lines
Diff to previous 1.163 (colored) to selected 1.139.6.1 (colored)

remove double "with" in comments and usage text. Also fix one typo.

Revision 1.163 / (download) - annotate - [select for diffs], Sat Jan 1 08:34:35 2022 UTC (2 years, 2 months ago) by msaitoh
Branch: MAIN
Changes since 1.162: +3 -3 lines
Diff to previous 1.162 (colored) to selected 1.139.6.1 (colored)

s/implemenation/implementation/ in comment.

Revision 1.162 / (download) - annotate - [select for diffs], Thu Dec 16 22:24:10 2021 UTC (2 years, 3 months ago) by reinoud
Branch: MAIN
Changes since 1.161: +3 -3 lines
Diff to previous 1.161 (colored) to selected 1.139.6.1 (colored)

Fix typo: reader -> header

Revision 1.161 / (download) - annotate - [select for diffs], Thu Dec 16 22:19:08 2021 UTC (2 years, 3 months ago) by reinoud
Branch: MAIN
Changes since 1.160: +30 -9 lines
Diff to previous 1.160 (colored) to selected 1.139.6.1 (colored)

Fix serious issue with recordable media formatted with Win10. When closing it
after modification the VAT was written out corrupted making the disc
unreadable anymore on remount. Thanks for ig@ for spotting it in the wild!

Revision 1.160 / (download) - annotate - [select for diffs], Wed Dec 15 22:02:30 2021 UTC (2 years, 3 months ago) by reinoud
Branch: MAIN
Changes since 1.159: +3 -3 lines
Diff to previous 1.159 (colored) to selected 1.139.6.1 (colored)

While searching the VAT on recordable media, search the last sector too!
This fixes Win10 formatted discs from being mounted incorrectly.

Revision 1.159 / (download) - annotate - [select for diffs], Sun Dec 5 04:21:31 2021 UTC (2 years, 3 months ago) by msaitoh
Branch: MAIN
Changes since 1.158: +3 -3 lines
Diff to previous 1.158 (colored) to selected 1.139.6.1 (colored)

s/alloction/allocation/

Revision 1.158 / (download) - annotate - [select for diffs], Thu Sep 16 22:19:11 2021 UTC (2 years, 6 months ago) by andvar
Branch: MAIN
Changes since 1.157: +3 -3 lines
Diff to previous 1.157 (colored) to selected 1.139.6.1 (colored)

fix typos in word "successful".

Revision 1.157 / (download) - annotate - [select for diffs], Fri Sep 3 21:55:00 2021 UTC (2 years, 6 months ago) by andvar
Branch: MAIN
Changes since 1.156: +4 -4 lines
Diff to previous 1.156 (colored) to selected 1.139.6.1 (colored)

fix typos in comments, mainly s/extention/extension/ and s/sufficent/sufficient/

Revision 1.156 / (download) - annotate - [select for diffs], Sat Aug 21 09:59:46 2021 UTC (2 years, 7 months ago) by andvar
Branch: MAIN
Changes since 1.155: +3 -3 lines
Diff to previous 1.155 (colored) to selected 1.139.6.1 (colored)

s/helt/held+s/eroneously/erroneously/+s/splitted/split/+s/recommented/recommended/

Revision 1.155 / (download) - annotate - [select for diffs], Fri Aug 20 20:25:28 2021 UTC (2 years, 7 months ago) by andvar
Branch: MAIN
Changes since 1.154: +3 -3 lines
Diff to previous 1.154 (colored) to selected 1.139.6.1 (colored)

fix various typos in comments and log messages.

Revision 1.153.2.1 / (download) - annotate - [select for diffs], Sun Aug 1 22:42:37 2021 UTC (2 years, 7 months ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.153: +6 -6 lines
Diff to previous 1.153 (colored) next main 1.154 (colored) to selected 1.139.6.1 (colored)

Sync with HEAD.

Revision 1.154 / (download) - annotate - [select for diffs], Sat Jul 24 21:31:38 2021 UTC (2 years, 8 months 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.153: +6 -6 lines
Diff to previous 1.153 (colored) to selected 1.139.6.1 (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.152.2.1 / (download) - annotate - [select for diffs], Sat Apr 17 17:26:20 2021 UTC (2 years, 11 months ago) by thorpej
Branch: thorpej-cfargs
Changes since 1.152: +6 -5 lines
Diff to previous 1.152 (colored) next main 1.153 (colored) to selected 1.139.6.1 (colored)

Sync with HEAD.

Revision 1.153 / (download) - annotate - [select for diffs], Tue Apr 13 06:25:49 2021 UTC (2 years, 11 months ago) by mrg
Branch: MAIN
CVS Tags: thorpej-cfargs-base, 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.152: +6 -5 lines
Diff to previous 1.152 (colored) to selected 1.139.6.1 (colored)

more GCC 10 fixes.

mDNSResponder: another wrong return local address

dhcp: ignore a seemingly impossible stringop overflow

hpacel: avoid maybe uninitialised error that is wrong.

rsh: avoid impossible malloc(0)

udf: cast pointers through (uintptr_t) to fool invalid boundary checks

Revision 1.150.4.1 / (download) - annotate - [select for diffs], Sat Apr 3 22:28:59 2021 UTC (2 years, 11 months ago) by thorpej
Branch: thorpej-futex
Changes since 1.150: +27 -27 lines
Diff to previous 1.150 (colored) next main 1.151 (colored) to selected 1.139.6.1 (colored)

Sync with HEAD.

Revision 1.152 / (download) - annotate - [select for diffs], Mon Jan 11 22:02:28 2021 UTC (3 years, 2 months ago) by skrll
Branch: MAIN
CVS Tags: thorpej-futex-base
Branch point for: thorpej-cfargs
Changes since 1.151: +26 -26 lines
Diff to previous 1.151 (colored) to selected 1.139.6.1 (colored)

Trailing whitespace

Revision 1.151 / (download) - annotate - [select for diffs], Mon Jan 11 22:01:15 2021 UTC (3 years, 2 months ago) by skrll
Branch: MAIN
Changes since 1.150: +3 -3 lines
Diff to previous 1.150 (colored) to selected 1.139.6.1 (colored)

Fix spelling of preferred in comments.  While here improve grammar in
one of the comments.

Revision 1.141.2.3 / (download) - annotate - [select for diffs], Mon Apr 13 08:05:03 2020 UTC (3 years, 11 months ago) by martin
Branch: phil-wifi
Changes since 1.141.2.2: +1 -0 lines
Diff to previous 1.141.2.2 (colored) to branchpoint 1.141 (colored) next main 1.142 (colored) to selected 1.139.6.1 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.141.2.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:08:50 2020 UTC (3 years, 11 months ago) by martin
Branch: phil-wifi
Changes since 1.141.2.1: +16 -11 lines
Diff to previous 1.141.2.1 (colored) to branchpoint 1.141 (colored) to selected 1.139.6.1 (colored)

Merge changes from current as of 20200406

Revision 1.150 / (download) - annotate - [select for diffs], Mon Apr 6 14:31:06 2020 UTC (3 years, 11 months ago) by hannken
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh
Branch point for: thorpej-futex
Changes since 1.149: +3 -3 lines
Diff to previous 1.149 (colored) to selected 1.139.6.1 (colored)

udf_get_node(): fix typo and honor "lktype" argument.

Revision 1.147.2.2 / (download) - annotate - [select for diffs], Sat Feb 29 20:21:02 2020 UTC (4 years ago) by ad
Branch: ad-namecache
Changes since 1.147.2.1: +3 -3 lines
Diff to previous 1.147.2.1 (colored) to branchpoint 1.147 (colored) next main 1.148 (colored) to selected 1.139.6.1 (colored)

Sync with head.

Revision 1.149 / (download) - annotate - [select for diffs], Thu Feb 27 22:12:54 2020 UTC (4 years, 1 month ago) by ad
Branch: MAIN
CVS Tags: is-mlppp-base, is-mlppp, ad-namecache-base3
Changes since 1.148: +3 -3 lines
Diff to previous 1.148 (colored) to selected 1.139.6.1 (colored)

Tighten up the locking around vp->v_iflag a little more after the recent
split of vmobjlock & v_interlock.

Revision 1.147.2.1 / (download) - annotate - [select for diffs], Fri Jan 17 21:47:34 2020 UTC (4 years, 2 months ago) by ad
Branch: ad-namecache
Changes since 1.147: +14 -9 lines
Diff to previous 1.147 (colored) to selected 1.139.6.1 (colored)

Sync with head.

Revision 1.148 / (download) - annotate - [select for diffs], Fri Jan 17 20:08:08 2020 UTC (4 years, 2 months ago) by ad
Branch: MAIN
CVS Tags: ad-namecache-base2, ad-namecache-base1
Changes since 1.147: +14 -9 lines
Diff to previous 1.147 (colored) to selected 1.139.6.1 (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.147 / (download) - annotate - [select for diffs], Wed Sep 18 17:59:15 2019 UTC (4 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: phil-wifi-20191119, ad-namecache-base
Branch point for: ad-namecache
Changes since 1.146: +3 -2 lines
Diff to previous 1.146 (colored) to selected 1.139.6.1 (colored)

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

Revision 1.141.2.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:09:02 2019 UTC (4 years, 9 months ago) by christos
Branch: phil-wifi
Changes since 1.141: +54 -20 lines
Diff to previous 1.141 (colored) to selected 1.139.6.1 (colored)

Sync with HEAD

Revision 1.146 / (download) - annotate - [select for diffs], Mon Jun 3 06:04:20 2019 UTC (4 years, 9 months ago) by msaitoh
Branch: MAIN
CVS Tags: phil-wifi-20190609, netbsd-9-base, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1
Branch point for: netbsd-9
Changes since 1.145: +3 -3 lines
Diff to previous 1.145 (colored) to selected 1.139.6.1 (colored)

 Fix typo in comment (s/seperate/separate/).

Revision 1.139.12.5 / (download) - annotate - [select for diffs], Fri Jan 18 08:50:57 2019 UTC (5 years, 2 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.139.12.4: +4 -4 lines
Diff to previous 1.139.12.4 (colored) to branchpoint 1.139 (colored) next main 1.140 (colored) to selected 1.139.6.1 (colored)

Synch with HEAD

Revision 1.145 / (download) - annotate - [select for diffs], Tue Jan 1 10:06:54 2019 UTC (5 years, 2 months ago) by hannken
Branch: MAIN
CVS Tags: pgoyette-compat-20190127, pgoyette-compat-20190118, isaki-audio2-base, isaki-audio2
Changes since 1.144: +4 -4 lines
Diff to previous 1.144 (colored) to selected 1.139.6.1 (colored)

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

Welcome to 8.99.30

Revision 1.139.12.4 / (download) - annotate - [select for diffs], Sat Oct 20 06:58:45 2018 UTC (5 years, 5 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.139.12.3: +5 -6 lines
Diff to previous 1.139.12.3 (colored) to branchpoint 1.139 (colored) to selected 1.139.6.1 (colored)

Sync with head

Revision 1.144 / (download) - annotate - [select for diffs], Sun Oct 14 17:37:40 2018 UTC (5 years, 5 months ago) by jdolecek
Branch: MAIN
CVS Tags: pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020
Changes since 1.143: +5 -6 lines
Diff to previous 1.143 (colored) to selected 1.139.6.1 (colored)

remove M_CANFAIL flag for malloc(9) - it was completely ignored, so had
actually no effect

Revision 1.139.12.3 / (download) - annotate - [select for diffs], Thu Sep 6 06:56:41 2018 UTC (5 years, 6 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.139.12.2: +3 -3 lines
Diff to previous 1.139.12.2 (colored) to branchpoint 1.139 (colored) to selected 1.139.6.1 (colored)

Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)

Revision 1.143 / (download) - annotate - [select for diffs], Thu Aug 9 20:30:26 2018 UTC (5 years, 7 months ago) by reinoud
Branch: MAIN
CVS Tags: pgoyette-compat-0930, pgoyette-compat-0906
Changes since 1.142: +3 -3 lines
Diff to previous 1.142 (colored) to selected 1.139.6.1 (colored)

Fix length calculation

Revision 1.139.12.2 / (download) - annotate - [select for diffs], Sat Jul 28 04:38:08 2018 UTC (5 years, 8 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.139.12.1: +47 -12 lines
Diff to previous 1.139.12.1 (colored) to branchpoint 1.139 (colored) to selected 1.139.6.1 (colored)

Sync with HEAD

Revision 1.139.6.1 / (download) - annotate - [selected], Fri Jul 27 10:49:48 2018 UTC (5 years, 8 months ago) by martin
Branch: netbsd-8
CVS Tags: netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1
Changes since 1.139: +47 -12 lines
Diff to previous 1.139 (colored) next main 1.140 (colored)

Pull up following revision(s) (requested by reinoud in ticket #942):

	sys/fs/udf/udf_subr.c: revision 1.142

Enhance logical volume integrity descriptor handling and provide
bug-compatibility for Linux mkudffs 1.3 images.

Revision 1.125.2.2 / (download) - annotate - [select for diffs], Fri Jul 27 10:46:45 2018 UTC (5 years, 8 months ago) by martin
Branch: netbsd-7
CVS Tags: netbsd-7-2-RELEASE
Changes since 1.125.2.1: +47 -12 lines
Diff to previous 1.125.2.1 (colored) to branchpoint 1.125 (colored) next main 1.126 (colored) to selected 1.139.6.1 (colored)

Pull up following revision(s) (requested by reinoud in ticket #1622):

	sys/fs/udf/udf_subr.c: revision 1.142

Enhance logical volume integrity descriptor handling and provide
bug-compatibility for Linux mkudffs 1.3 images.

Revision 1.142 / (download) - annotate - [select for diffs], Wed Jul 25 11:09:22 2018 UTC (5 years, 8 months ago) by reinoud
Branch: MAIN
CVS Tags: pgoyette-compat-0728
Changes since 1.141: +47 -12 lines
Diff to previous 1.141 (colored) to selected 1.139.6.1 (colored)

Enhance logical volume integrity descriptor handling and provide
bug-compatibility for Linux mkudffs 1.3 images.

Revision 1.139.12.1 / (download) - annotate - [select for diffs], Mon Jun 25 07:26:04 2018 UTC (5 years, 9 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.139: +4 -3 lines
Diff to previous 1.139 (colored) to selected 1.139.6.1 (colored)

Sync with HEAD

Revision 1.141 / (download) - annotate - [select for diffs], Wed Jun 6 01:49:09 2018 UTC (5 years, 9 months ago) by maya
Branch: MAIN
CVS Tags: phil-wifi-base, pgoyette-compat-0625
Branch point for: phil-wifi
Changes since 1.140: +3 -3 lines
Diff to previous 1.140 (colored) to selected 1.139.6.1 (colored)

Remove duplicate ;

Revision 1.140 / (download) - annotate - [select for diffs], Mon May 28 21:04:38 2018 UTC (5 years, 10 months ago) by chs
Branch: MAIN
Changes since 1.139: +3 -2 lines
Diff to previous 1.139 (colored) to selected 1.139.6.1 (colored)

add a genfs method to allow a file system to limit the range of pages
that are given to a single GOP_WRITE() call.  needed by ZFS.

Revision 1.119.2.2 / (download) - annotate - [select for diffs], Sun Dec 3 11:38:43 2017 UTC (6 years, 3 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.119.2.1: +349 -344 lines
Diff to previous 1.119.2.1 (colored) to branchpoint 1.119 (colored) next main 1.120 (colored) to selected 1.139.6.1 (colored)

update from HEAD

Revision 1.127.2.7 / (download) - annotate - [select for diffs], Mon Aug 28 17:53:06 2017 UTC (6 years, 7 months ago) by skrll
Branch: nick-nhusb
Changes since 1.127.2.6: +7 -3 lines
Diff to previous 1.127.2.6 (colored) to branchpoint 1.127 (colored) next main 1.128 (colored) to selected 1.139.6.1 (colored)

Sync with HEAD

Revision 1.138.2.1 / (download) - annotate - [select for diffs], Wed Apr 26 02:53:26 2017 UTC (6 years, 11 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.138: +7 -3 lines
Diff to previous 1.138 (colored) next main 1.139 (colored) to selected 1.139.6.1 (colored)

Sync with HEAD

Revision 1.138.4.1 / (download) - annotate - [select for diffs], Fri Apr 21 16:54:02 2017 UTC (6 years, 11 months ago) by bouyer
Branch: bouyer-socketcan
Changes since 1.138: +7 -3 lines
Diff to previous 1.138 (colored) next main 1.139 (colored) to selected 1.139.6.1 (colored)

Sync with HEAD

Revision 1.139 / (download) - annotate - [select for diffs], Sat Apr 1 19:35:56 2017 UTC (6 years, 11 months ago) by riastradh
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, pgoyette-compat-base, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, netbsd-8-base, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, matt-nb8-mediatek-base, matt-nb8-mediatek, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1
Branch point for: pgoyette-compat, netbsd-8
Changes since 1.138: +7 -3 lines
Diff to previous 1.138 (colored) to selected 1.139.6.1 (colored)

KASSERT(mutex_owned(vp->v_interlock)) in vnode iterator selector.

Revision 1.127.2.6 / (download) - annotate - [select for diffs], Sun May 29 08:44:37 2016 UTC (7 years, 10 months ago) by skrll
Branch: nick-nhusb
Changes since 1.127.2.5: +93 -55 lines
Diff to previous 1.127.2.5 (colored) to branchpoint 1.127 (colored) to selected 1.139.6.1 (colored)

Sync with HEAD

Revision 1.138 / (download) - annotate - [select for diffs], Tue May 24 09:55:57 2016 UTC (7 years, 10 months ago) by reinoud
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, localcount-20160914, bouyer-socketcan-base
Branch point for: pgoyette-localcount, bouyer-socketcan
Changes since 1.137: +14 -22 lines
Diff to previous 1.137 (colored) to selected 1.139.6.1 (colored)

Cleanup VAT writout. To prevent issues with the sequential writing strategy
trying to write on blocks that are lost due to the synchronisation, don't just
bluntly do synchronize device caches, but split out on strategies.

Revision 1.137 / (download) - annotate - [select for diffs], Tue May 10 15:23:39 2016 UTC (7 years, 10 months ago) by reinoud
Branch: MAIN
Changes since 1.136: +84 -38 lines
Diff to previous 1.136 (colored) to selected 1.139.6.1 (colored)

Rework VAT searching on recordable media. It is now a lot more resilliant to
errors and it allows for VAT searching on crashed writeouts.

While here, make sure the node pointer is always initialised in
udf_get_node().

Revision 1.127.2.5 / (download) - annotate - [select for diffs], Sat Mar 19 11:30:31 2016 UTC (8 years ago) by skrll
Branch: nick-nhusb
Changes since 1.127.2.4: +40 -27 lines
Diff to previous 1.127.2.4 (colored) to branchpoint 1.127 (colored) to selected 1.139.6.1 (colored)

Sync with HEAD

Revision 1.136 / (download) - annotate - [select for diffs], Wed Jan 27 00:06:49 2016 UTC (8 years, 2 months ago) by reinoud
Branch: MAIN
CVS Tags: nick-nhusb-base-20160422, nick-nhusb-base-20160319
Changes since 1.135: +40 -27 lines
Diff to previous 1.135 (colored) to selected 1.139.6.1 (colored)

Fix filename creation and deleting with illegal file names. UDF has a
machanism for it but it allowed to create a file with a name it considered
illegal that then couldn't be deleted with the same name.

Fixes PR kern/50608. When confirmed, it can be closed.

Revision 1.127.2.4 / (download) - annotate - [select for diffs], Sun Dec 27 12:10:04 2015 UTC (8 years, 3 months ago) by skrll
Branch: nick-nhusb
Changes since 1.127.2.3: +12 -7 lines
Diff to previous 1.127.2.3 (colored) to branchpoint 1.127 (colored) to selected 1.139.6.1 (colored)

Sync with HEAD (as of 26th Dec)

Revision 1.135 / (download) - annotate - [select for diffs], Sat Dec 19 03:16:09 2015 UTC (8 years, 3 months ago) by dholland
Branch: MAIN
CVS Tags: nick-nhusb-base-20151226
Changes since 1.134: +11 -6 lines
Diff to previous 1.134 (colored) to selected 1.139.6.1 (colored)

Improve misleading variable name. Related to PR 50571.

XXX: also there should be real bounds-check logic in here.
XXX: if the on-disk data structure contains rubbish this code will
XXX: leak or trample arbitrary kernel memory.

Revision 1.134 / (download) - annotate - [select for diffs], Sat Dec 19 01:51:42 2015 UTC (8 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.133: +3 -3 lines
Diff to previous 1.133 (colored) to selected 1.139.6.1 (colored)

add missing ,

Revision 1.133 / (download) - annotate - [select for diffs], Sat Dec 19 01:18:00 2015 UTC (8 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.132: +3 -3 lines
Diff to previous 1.132 (colored) to selected 1.139.6.1 (colored)

PR/50571: David Binderman: src/sys/fs/udf/udf_subr.c:6465: obvious
performance tidyup

Revision 1.127.2.3 / (download) - annotate - [select for diffs], Tue Sep 22 12:06:06 2015 UTC (8 years, 6 months ago) by skrll
Branch: nick-nhusb
Changes since 1.127.2.2: +60 -83 lines
Diff to previous 1.127.2.2 (colored) to branchpoint 1.127 (colored) to selected 1.139.6.1 (colored)

Sync with HEAD

Revision 1.132 / (download) - annotate - [select for diffs], Mon Aug 24 08:31:56 2015 UTC (8 years, 7 months ago) by hannken
Branch: MAIN
CVS Tags: nick-nhusb-base-20150921
Changes since 1.131: +59 -81 lines
Diff to previous 1.131 (colored) to selected 1.139.6.1 (colored)

Use vfs_vnode_iterator for udf_do_sync.

- Build rb_tree to get an ordered list of nodes, sync them and
  clean the tree.

- Stop abusing mntvnode_lock to serialize udf_do_sync, use new
  mutex ump->sync_lock instead.

Revision 1.131 / (download) - annotate - [select for diffs], Mon Aug 24 08:30:17 2015 UTC (8 years, 7 months ago) by hannken
Branch: MAIN
Changes since 1.130: +3 -4 lines
Diff to previous 1.130 (colored) to selected 1.139.6.1 (colored)

Remove dirtynodes_cv, it is only used for timed waits without any signals.

Replace the cv_timedwait with kpause.

Revision 1.127.2.2 / (download) - annotate - [select for diffs], Sat Jun 6 14:40:21 2015 UTC (8 years, 9 months ago) by skrll
Branch: nick-nhusb
Changes since 1.127.2.1: +34 -26 lines
Diff to previous 1.127.2.1 (colored) to branchpoint 1.127 (colored) to selected 1.139.6.1 (colored)

Sync with HEAD

Revision 1.130 / (download) - annotate - [select for diffs], Mon Apr 20 13:44:16 2015 UTC (8 years, 11 months ago) by riastradh
Branch: MAIN
CVS Tags: nick-nhusb-base-20150606
Changes since 1.129: +11 -3 lines
Diff to previous 1.129 (colored) to selected 1.139.6.1 (colored)

Make vget always return vnode unlocked.

Convert callers who want locks to use vn_lock afterward.

Add extra argument so the compiler will report stragglers.

Revision 1.127.2.1 / (download) - annotate - [select for diffs], Mon Apr 6 15:18:19 2015 UTC (8 years, 11 months ago) by skrll
Branch: nick-nhusb
Changes since 1.127: +141 -187 lines
Diff to previous 1.127 (colored) to selected 1.139.6.1 (colored)

Sync with HEAD

Revision 1.129 / (download) - annotate - [select for diffs], Mon Apr 6 08:39:23 2015 UTC (8 years, 11 months ago) by hannken
Branch: MAIN
CVS Tags: nick-nhusb-base-20150406
Changes since 1.128: +141 -188 lines
Diff to previous 1.128 (colored) to selected 1.139.6.1 (colored)

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

Revision 1.125.2.1 / (download) - annotate - [select for diffs], Mon Feb 16 21:25:35 2015 UTC (9 years, 1 month ago) by martin
Branch: netbsd-7
CVS Tags: netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0
Changes since 1.125: +4 -3 lines
Diff to previous 1.125 (colored) to selected 1.139.6.1 (colored)

Pull up following revision(s) (requested by maxv in ticket #520):
	sys/ufs/chfs/ebh.c: revision 1.6
	sys/dev/sdmmc/sdmmc_mem.c: revision 1.33
	sys/dev/ic/aic7xxx.c: revision 1.132
	sys/fs/nfs/common/krpc_subr.c: revision 1.2
	sys/modules/lua/lua.c: revision 1.16
	sys/fs/udf/udf_subr.c: revision 1.128
	sys/ufs/chfs/chfs_scan.c: revision 1.6
	sys/dev/ic/an.c: revision 1.62

Fix six memory leaks and two inconsistencies.

Revision 1.128 / (download) - annotate - [select for diffs], Sat Feb 7 04:18:03 2015 UTC (9 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.127: +4 -3 lines
Diff to previous 1.127 (colored) to selected 1.139.6.1 (colored)

fix udf_node leak. Reported by:
http://www.m00nbsd.net/ae123a9bae03f7dde5c6d654412daf5a.html#Report-4

Revision 1.127 / (download) - annotate - [select for diffs], Wed Sep 17 21:18:43 2014 UTC (9 years, 6 months ago) by reinoud
Branch: MAIN
CVS Tags: nick-nhusb-base
Branch point for: nick-nhusb
Changes since 1.126: +5 -4 lines
Diff to previous 1.126 (colored) to selected 1.139.6.1 (colored)

Fix bug introduced in last patch

Revision 1.126 / (download) - annotate - [select for diffs], Wed Sep 17 19:47:05 2014 UTC (9 years, 6 months ago) by reinoud
Branch: MAIN
Changes since 1.125: +8 -3 lines
Diff to previous 1.125 (colored) to selected 1.139.6.1 (colored)

As pointed out by wiz@ prevent a possible attack or corruption that results in
an endless loop of indirect descriptors being processed.

The number of indirect descriptors followed is now maximized.
While here, also fix a use-after-free bug!

Revision 1.119.2.1 / (download) - annotate - [select for diffs], Wed Aug 20 00:04:28 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.119: +30 -62 lines
Diff to previous 1.119 (colored) to selected 1.139.6.1 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.124.2.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:55:54 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.124: +4 -4 lines
Diff to previous 1.124 (colored) next main 1.125 (colored) to selected 1.139.6.1 (colored)

Rebase.

Revision 1.125 / (download) - annotate - [select for diffs], Tue Jul 29 15:36:43 2014 UTC (9 years, 8 months ago) by reinoud
Branch: MAIN
CVS Tags: tls-maxphys-base, tls-earlyentropy-base, netbsd-7-base
Branch point for: netbsd-7
Changes since 1.124: +4 -4 lines
Diff to previous 1.124 (colored) to selected 1.139.6.1 (colored)

Fix debug printout of udf_write_metadata_partition_spacetable(), it referred
to an old variable.

Revision 1.117.2.3 / (download) - annotate - [select for diffs], Thu May 22 11:41:02 2014 UTC (9 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.117.2.2: +28 -60 lines
Diff to previous 1.117.2.2 (colored) to branchpoint 1.117 (colored) next main 1.118 (colored) to selected 1.139.6.1 (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.119.4.2 / (download) - annotate - [select for diffs], Sun May 18 17:46:06 2014 UTC (9 years, 10 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.119.4.1: +22 -54 lines
Diff to previous 1.119.4.1 (colored) to branchpoint 1.119 (colored) next main 1.120 (colored) to selected 1.139.6.1 (colored)

sync with head

Revision 1.124 / (download) - annotate - [select for diffs], Sun Mar 23 09:34:42 2014 UTC (10 years 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.123: +6 -2 lines
Diff to previous 1.123 (colored) to selected 1.139.6.1 (colored)

fix unused

Revision 1.123 / (download) - annotate - [select for diffs], Thu Jan 23 10:13:56 2014 UTC (10 years, 2 months ago) by hannken
Branch: MAIN
CVS Tags: riastradh-drm2-base3
Changes since 1.122: +4 -12 lines
Diff to previous 1.122 (colored) to selected 1.139.6.1 (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.122 / (download) - annotate - [select for diffs], Thu Nov 21 23:42:09 2013 UTC (10 years, 4 months ago) by riz
Branch: MAIN
Changes since 1.121: +3 -4 lines
Diff to previous 1.121 (colored) to selected 1.139.6.1 (colored)

Don't create a variable just to assert() on it - assert on the
thing the variable got assigned.

Revision 1.121 / (download) - annotate - [select for diffs], Fri Oct 18 19:56:55 2013 UTC (10 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.120: +15 -42 lines
Diff to previous 1.120 (colored) to selected 1.139.6.1 (colored)

fix unused variable warnings

Revision 1.119.4.1 / (download) - annotate - [select for diffs], Wed Aug 28 23:59:35 2013 UTC (10 years, 7 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.119: +8 -8 lines
Diff to previous 1.119 (colored) to selected 1.139.6.1 (colored)

sync with head

Revision 1.120 / (download) - annotate - [select for diffs], Sun Jul 7 19:49:44 2013 UTC (10 years, 8 months ago) by reinoud
Branch: MAIN
CVS Tags: riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2
Changes since 1.119: +8 -8 lines
Diff to previous 1.119 (colored) to selected 1.139.6.1 (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.118.4.1 / (download) - annotate - [select for diffs], Sat Jun 2 11:09:32 2012 UTC (11 years, 9 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.118: +5 -7 lines
Diff to previous 1.118 (colored) next main 1.119 (colored) to selected 1.139.6.1 (colored)

sync to latest -current.

Revision 1.117.2.2 / (download) - annotate - [select for diffs], Wed May 23 10:08:10 2012 UTC (11 years, 10 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.117.2.1: +5 -7 lines
Diff to previous 1.117.2.1 (colored) to branchpoint 1.117 (colored) to selected 1.139.6.1 (colored)

sync with head.

Revision 1.118.6.1 / (download) - annotate - [select for diffs], Mon May 7 03:01:14 2012 UTC (11 years, 10 months ago) by riz
Branch: netbsd-6
CVS Tags: netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus
Changes since 1.118: +5 -7 lines
Diff to previous 1.118 (colored) next main 1.119 (colored) to selected 1.139.6.1 (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.119 / (download) - annotate - [select for diffs], Sun Apr 29 22:53:59 2012 UTC (11 years, 11 months ago) by chs
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, khorben-n900, jmcneill-usbmp-base10, agc-symver-base, agc-symver
Branch point for: tls-maxphys, rmind-smpnet
Changes since 1.118: +5 -7 lines
Diff to previous 1.118 (colored) to selected 1.139.6.1 (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.117.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:08:20 2012 UTC (11 years, 11 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.117: +8 -7 lines
Diff to previous 1.117 (colored) to selected 1.139.6.1 (colored)

sync with head

Revision 1.118 / (download) - annotate - [select for diffs], Sun Nov 13 23:08:47 2011 UTC (12 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base4, netbsd-6-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, 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.117: +8 -7 lines
Diff to previous 1.117 (colored) to selected 1.139.6.1 (colored)

use getdisksize()

Revision 1.117 / (download) - annotate - [select for diffs], Tue Sep 27 01:13:16 2011 UTC (12 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base
Branch point for: yamt-pagecache
Changes since 1.116: +5 -5 lines
Diff to previous 1.116 (colored) to selected 1.139.6.1 (colored)

- rename UDF_MAX_NAMELEN -> UDF_MAXNAMLEN
- use NAME_MAX instead of MAXNAMLEN

Revision 1.116 / (download) - annotate - [select for diffs], Tue Aug 16 14:29:16 2011 UTC (12 years, 7 months ago) by mbalmer
Branch: MAIN
Changes since 1.115: +3 -3 lines
Diff to previous 1.115 (colored) to selected 1.139.6.1 (colored)

Fix some typos.

Revision 1.114.2.1 / (download) - annotate - [select for diffs], Thu Jun 23 14:20:17 2011 UTC (12 years, 9 months ago) by cherry
Branch: cherry-xenmp
Changes since 1.114: +10 -10 lines
Diff to previous 1.114 (colored) next main 1.115 (colored) to selected 1.139.6.1 (colored)

Catchup with rmind-uvmplock merge.

Revision 1.115 / (download) - annotate - [select for diffs], Sun Jun 12 03:35:55 2011 UTC (12 years, 9 months ago) by rmind
Branch: MAIN
Changes since 1.114: +10 -10 lines
Diff to previous 1.114 (colored) to selected 1.139.6.1 (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.110.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:09:25 2011 UTC (12 years, 9 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.110: +53 -29 lines
Diff to previous 1.110 (colored) next main 1.111 (colored) to selected 1.139.6.1 (colored)

Sync with HEAD.

Revision 1.104.2.5 / (download) - annotate - [select for diffs], Tue May 31 03:05:00 2011 UTC (12 years, 10 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.104.2.4: +10 -8 lines
Diff to previous 1.104.2.4 (colored) to branchpoint 1.104 (colored) next main 1.105 (colored) to selected 1.139.6.1 (colored)

sync with head

Revision 1.104.2.4 / (download) - annotate - [select for diffs], Thu May 19 03:43:02 2011 UTC (12 years, 10 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.104.2.3: +6 -6 lines
Diff to previous 1.104.2.3 (colored) to branchpoint 1.104 (colored) to selected 1.139.6.1 (colored)

Implement sharing of vnode_t::v_interlock amongst vnodes:
- Lock is shared amongst UVM objects using uvm_obj_setlock() or getnewvnode().
- Adjust vnode cache to handle unsharing, add VI_LOCKSHARE flag for that.
- Use sharing in tmpfs and layerfs for underlying object.
- Simplify locking in ubc_fault().
- Sprinkle some asserts.

Discussed with ad@.

Revision 1.114 / (download) - annotate - [select for diffs], Tue Apr 26 11:32:39 2011 UTC (12 years, 11 months ago) by hannken
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase, rmind-uvmplock-base, cherry-xenmp-base
Branch point for: cherry-xenmp
Changes since 1.113: +10 -8 lines
Diff to previous 1.113 (colored) to selected 1.139.6.1 (colored)

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

Welcome to 5.99.51.

Revision 1.104.2.3 / (download) - annotate - [select for diffs], Sat Mar 5 20:55:10 2011 UTC (13 years ago) by rmind
Branch: rmind-uvmplock
Changes since 1.104.2.2: +82 -50 lines
Diff to previous 1.104.2.2 (colored) to branchpoint 1.104 (colored) to selected 1.139.6.1 (colored)

sync with head

Revision 1.110.4.1 / (download) - annotate - [select for diffs], Tue Feb 8 16:19:58 2011 UTC (13 years, 1 month ago) by bouyer
Branch: bouyer-quota2
Changes since 1.110: +45 -23 lines
Diff to previous 1.110 (colored) next main 1.111 (colored) to selected 1.139.6.1 (colored)

Sync with HEAD

Revision 1.113 / (download) - annotate - [select for diffs], Sat Jan 22 18:02:18 2011 UTC (13 years, 2 months ago) by reinoud
Branch: MAIN
CVS Tags: bouyer-quota2-nbase, bouyer-quota2-base
Changes since 1.112: +5 -4 lines
Diff to previous 1.112 (colored) to selected 1.139.6.1 (colored)

A not rewritable disc can be pseudo-overwritable. A pseudo-overwritable disc
can overwrite its logical volume integrity sequence so no need to make it
append-only for this class of discs.

Revision 1.112 / (download) - annotate - [select for diffs], Sat Jan 22 14:51:43 2011 UTC (13 years, 2 months ago) by reinoud
Branch: MAIN
Changes since 1.111: +3 -3 lines
Diff to previous 1.111 (colored) to selected 1.139.6.1 (colored)

Lookup the physical partition backing up the logical one when searching for the
metadata partition overlap for BD-R.

Fixes a kernel panic on mounting a BD-R formatted with UDF 2.60

Revision 1.111 / (download) - annotate - [select for diffs], Fri Jan 21 20:36:53 2011 UTC (13 years, 2 months ago) by reinoud
Branch: MAIN
Changes since 1.110: +41 -20 lines
Diff to previous 1.110 (colored) to selected 1.139.6.1 (colored)

Split out the raw to indexed partitioning code protecting against roque
implementations that use `ramdom' numbers for the physical partitions breaking
lots of implementations. Known curlpit is MicroSoft Windows 7.

Not only the partition mappings need to be protected against this but also the metadata partition files.

Revision 1.110 / (download) - annotate - [select for diffs], Thu Jan 13 13:13:31 2011 UTC (13 years, 2 months ago) by reinoud
Branch: MAIN
CVS Tags: jruoho-x86intr-base
Branch point for: jruoho-x86intr, bouyer-quota2
Changes since 1.109: +15 -5 lines
Diff to previous 1.109 (colored) to selected 1.139.6.1 (colored)

Fix the case in where a file with a latin1 file name was created. It was then
erronously entered as thelatin1 file name in the dirhash whereas the matching
routing assumes both UTF-8. This would result in a file being created but not
stat-able since the dirhash couldn't find the entry unless it was remounted.

Revision 1.109 / (download) - annotate - [select for diffs], Wed Dec 22 12:38:42 2010 UTC (13 years, 3 months ago) by reinoud
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231
Changes since 1.108: +7 -7 lines
Diff to previous 1.108 (colored) to selected 1.139.6.1 (colored)

Running with DEBUG again revealed locking errors previously undetected. The
VAT writeout was done locked while marked locked as were the readin and
writeout of the metadata partition space table.

While here, also protect the (vp) argument of the UDF_SET_SYSTEMFILE() macro.

Tested on UDF 1.50 sequential, UDF 2.01 RW and UDF 2.50 metadata RW meda.

Revision 1.101.2.3 / (download) - annotate - [select for diffs], Fri Oct 22 07:22:24 2010 UTC (13 years, 5 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.101.2.2: +17 -17 lines
Diff to previous 1.101.2.2 (colored) to branchpoint 1.101 (colored) next main 1.102 (colored) to selected 1.139.6.1 (colored)

Sync with HEAD (-D20101022).

Revision 1.44.10.8 / (download) - annotate - [select for diffs], Sat Oct 9 03:32:30 2010 UTC (13 years, 5 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.44.10.7: +19 -19 lines
Diff to previous 1.44.10.7 (colored) to branchpoint 1.44 (colored) next main 1.45 (colored) to selected 1.139.6.1 (colored)

sync with head

Revision 1.108 / (download) - annotate - [select for diffs], Fri Sep 24 22:51:50 2010 UTC (13 years, 6 months ago) by rmind
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, uebayasi-xip-base4, uebayasi-xip-base3
Changes since 1.107: +19 -19 lines
Diff to previous 1.107 (colored) to selected 1.139.6.1 (colored)

Fixes/improvements to RB-tree implementation:
1. Fix inverted node order, so that negative value from comparison operator
   would represent lower (left) node, and positive - higher (right) node.
2. Add an argument (i.e. "context"), passed to comparison operators.
3. Change rb_tree_insert_node() to return a node - either inserted one or
   already existing one.
4. Amend the interface to manipulate the actual object, instead of the
   rb_node (in a similar way as Patricia-tree interface does).
5. Update all RB-tree users accordingly.

XXX: Perhaps rename rb.h to rbtree.h, since cleaning-up..

1-3 address the PR/43488 by Jeremy Huddleston.

Passes RB-tree regression tests.
Reviewed by: matt@, christos@

Revision 1.101.2.2 / (download) - annotate - [select for diffs], Tue Aug 17 06:47:22 2010 UTC (13 years, 7 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.101.2.1: +5 -5 lines
Diff to previous 1.101.2.1 (colored) to branchpoint 1.101 (colored) to selected 1.139.6.1 (colored)

Sync with HEAD.

Revision 1.44.10.7 / (download) - annotate - [select for diffs], Wed Aug 11 22:54:36 2010 UTC (13 years, 7 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.44.10.6: +7 -7 lines
Diff to previous 1.44.10.6 (colored) to branchpoint 1.44 (colored) to selected 1.139.6.1 (colored)

sync with head.

Revision 1.107 / (download) - annotate - [select for diffs], Wed Jul 21 17:52:11 2010 UTC (13 years, 8 months ago) by hannken
Branch: MAIN
CVS Tags: yamt-nfs-mp-base10, uebayasi-xip-base2
Changes since 1.106: +4 -4 lines
Diff to previous 1.106 (colored) to selected 1.139.6.1 (colored)

Make holding v_interlock mandatory for callers of vget().

Announced some time ago on tech-kern.

Revision 1.104.2.2 / (download) - annotate - [select for diffs], Sat Jul 3 01:19:51 2010 UTC (13 years, 8 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.104.2.1: +5 -5 lines
Diff to previous 1.104.2.1 (colored) to branchpoint 1.104 (colored) to selected 1.139.6.1 (colored)

sync with head

Revision 1.106 / (download) - annotate - [select for diffs], Thu Jul 1 13:00:55 2010 UTC (13 years, 9 months ago) by hannken
Branch: MAIN
Changes since 1.105: +5 -5 lines
Diff to previous 1.105 (colored) to selected 1.139.6.1 (colored)

Remove vlockmgr().  Generic vnode lock operations now use a rwlock located
in the vnode.  All LK_* flags move from sys/lock.h to sys/vnode.h.  Calls
to vlockmgr() in file systems get replaced with VOP_LOCK() or VOP_UNLOCK().

Welcome to 5.99.34.

Discussed on tech-kern.

Revision 1.105 / (download) - annotate - [select for diffs], Sun Jun 6 08:01:31 2010 UTC (13 years, 9 months ago) by hannken
Branch: MAIN
Changes since 1.104: +5 -5 lines
Diff to previous 1.104 (colored) to selected 1.139.6.1 (colored)

Change layered file systems to always pass the locking VOP's down to the
leaf file system.  Remove now unused member v_vnlock from struct vnode.
Welcome to 5.99.30

Discussed on tech-kern.

Revision 1.101.2.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:44:07 2010 UTC (13 years, 11 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.101: +30 -2 lines
Diff to previous 1.101 (colored) to selected 1.139.6.1 (colored)

Sync with HEAD.

Revision 1.73.4.9.4.1 / (download) - annotate - [select for diffs], Wed Apr 21 00:28:14 2010 UTC (13 years, 11 months ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-k15
Changes since 1.73.4.9: +320 -163 lines
Diff to previous 1.73.4.9 (colored) next main 1.73.4.10 (colored) to selected 1.139.6.1 (colored)

sync to netbsd-5

Revision 1.104.2.1 / (download) - annotate - [select for diffs], Tue Mar 16 15:38:08 2010 UTC (14 years ago) by rmind
Branch: rmind-uvmplock
Changes since 1.104: +6 -6 lines
Diff to previous 1.104 (colored) to selected 1.139.6.1 (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.44.10.6 / (download) - annotate - [select for diffs], Thu Mar 11 15:04:15 2010 UTC (14 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.44.10.5: +36 -8 lines
Diff to previous 1.44.10.5 (colored) to branchpoint 1.44 (colored) to selected 1.139.6.1 (colored)

sync with head

Revision 1.104 / (download) - annotate - [select for diffs], Thu Feb 25 16:15:57 2010 UTC (14 years, 1 month ago) by reinoud
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, uebayasi-xip-base1
Branch point for: rmind-uvmplock
Changes since 1.103: +25 -2 lines
Diff to previous 1.103 (colored) to selected 1.139.6.1 (colored)

First part of shrinking/growing metadata partition support:

- extending the metadata partition

Still to follow:
- sparsify metadata partition
- growing the metadata partition
- unsparsifying metadata partition

Revision 1.103 / (download) - annotate - [select for diffs], Wed Feb 24 19:20:13 2010 UTC (14 years, 1 month ago) by reinoud
Branch: MAIN
Changes since 1.102: +5 -4 lines
Diff to previous 1.102 (colored) to selected 1.139.6.1 (colored)

Rename metadata partition parameters to be less generic and add the flags.

Revision 1.102 / (download) - annotate - [select for diffs], Wed Feb 24 19:14:12 2010 UTC (14 years, 1 month ago) by reinoud
Branch: MAIN
Changes since 1.101: +6 -2 lines
Diff to previous 1.101 (colored) to selected 1.139.6.1 (colored)

Extract UDF metadata partition parameters as already done for VAT and sparable
partitions.

Revision 1.101 / (download) - annotate - [select for diffs], Tue Jan 5 13:30:11 2010 UTC (14 years, 2 months ago) by mbalmer
Branch: MAIN
CVS Tags: uebayasi-xip-base
Branch point for: uebayasi-xip
Changes since 1.100: +4 -4 lines
Diff to previous 1.100 (colored) to selected 1.139.6.1 (colored)

Remove extra semicolons.

Revision 1.100 / (download) - annotate - [select for diffs], Wed Dec 23 09:17:41 2009 UTC (14 years, 3 months ago) by mbalmer
Branch: MAIN
Changes since 1.99: +6 -6 lines
Diff to previous 1.99 (colored) to selected 1.139.6.1 (colored)

Fix typo in comments, no code change.

Revision 1.44.10.5 / (download) - annotate - [select for diffs], Wed Aug 19 18:48:14 2009 UTC (14 years, 7 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.44.10.4: +4 -2 lines
Diff to previous 1.44.10.4 (colored) to branchpoint 1.44 (colored) to selected 1.139.6.1 (colored)

sync with head.

Revision 1.99 / (download) - annotate - [select for diffs], Mon Jul 27 13:13:33 2009 UTC (14 years, 8 months ago) by reinoud
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, matt-premerge-20091211, jym-xensuspend-nbase
Changes since 1.98: +4 -2 lines
Diff to previous 1.98 (colored) to selected 1.139.6.1 (colored)

Issue extra synchronise caches before closing tracks or sessions. It shouldn't
be needed as the caches should already be synchronised, but better be safe.

Revision 1.85.2.2 / (download) - annotate - [select for diffs], Thu Jul 23 23:32:33 2009 UTC (14 years, 8 months ago) by jym
Branch: jym-xensuspend
Changes since 1.85.2.1: +314 -152 lines
Diff to previous 1.85.2.1 (colored) next main 1.86 (colored) to selected 1.139.6.1 (colored)

Sync with HEAD.

Revision 1.44.10.4 / (download) - annotate - [select for diffs], Sat Jul 18 14:53:22 2009 UTC (14 years, 8 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.44.10.3: +304 -141 lines
Diff to previous 1.44.10.3 (colored) to branchpoint 1.44 (colored) to selected 1.139.6.1 (colored)

sync with head.

Revision 1.73.4.12 / (download) - annotate - [select for diffs], Thu Jul 9 19:44:34 2009 UTC (14 years, 8 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.73.4.11: +310 -152 lines
Diff to previous 1.73.4.11 (colored) to branchpoint 1.73 (colored) next main 1.74 (colored) to selected 1.139.6.1 (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.98 / (download) - annotate - [select for diffs], Tue Jul 7 10:23:36 2009 UTC (14 years, 8 months ago) by reinoud
Branch: MAIN
CVS Tags: yamt-nfs-mp-base6, jymxensuspend-base
Changes since 1.97: +74 -89 lines
Diff to previous 1.97 (colored) to selected 1.139.6.1 (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.97 / (download) - annotate - [select for diffs], Mon Jul 6 17:06:57 2009 UTC (14 years, 8 months ago) by reinoud
Branch: MAIN
Changes since 1.96: +3 -3 lines
Diff to previous 1.96 (colored) to selected 1.139.6.1 (colored)

Make source prettier

Revision 1.96 / (download) - annotate - [select for diffs], Thu Jun 25 17:16:33 2009 UTC (14 years, 9 months ago) by reinoud
Branch: MAIN
Changes since 1.95: +11 -4 lines
Diff to previous 1.95 (colored) to selected 1.139.6.1 (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.95 / (download) - annotate - [select for diffs], Wed Jun 24 17:09:13 2009 UTC (14 years, 9 months ago) by reinoud
Branch: MAIN
Changes since 1.94: +110 -48 lines
Diff to previous 1.94 (colored) to selected 1.139.6.1 (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.94 / (download) - annotate - [select for diffs], Tue Jun 23 20:09:07 2009 UTC (14 years, 9 months ago) by reinoud
Branch: MAIN
Changes since 1.93: +119 -2 lines
Diff to previous 1.93 (colored) to selected 1.139.6.1 (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.10.3 / (download) - annotate - [select for diffs], Sat Jun 20 07:20:30 2009 UTC (14 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.44.10.2: +12 -13 lines
Diff to previous 1.44.10.2 (colored) to branchpoint 1.44 (colored) to selected 1.139.6.1 (colored)

sync with head

Revision 1.93 / (download) - annotate - [select for diffs], Thu Jun 18 15:03:34 2009 UTC (14 years, 9 months ago) by reinoud
Branch: MAIN
Changes since 1.92: +3 -3 lines
Diff to previous 1.92 (colored) to selected 1.139.6.1 (colored)

Enhance comment on node locking when writing out a node's descriptors.

Revision 1.92 / (download) - annotate - [select for diffs], Thu Jun 18 15:01:34 2009 UTC (14 years, 9 months ago) by reinoud
Branch: MAIN
Changes since 1.91: +2 -10 lines
Diff to previous 1.91 (colored) to selected 1.139.6.1 (colored)

Remove unneeded wait for SYNC being finished on node disposal of deleted node;
this could interfere and lockup.

Revision 1.73.4.11 / (download) - annotate - [select for diffs], Sat Jun 6 22:04:40 2009 UTC (14 years, 9 months ago) by bouyer
Branch: netbsd-5
Changes since 1.73.4.10: +5 -5 lines
Diff to previous 1.73.4.10 (colored) to branchpoint 1.73 (colored) to selected 1.139.6.1 (colored)

Pull up following revision(s) (requested by reinoud in ticket #770):
	sys/fs/udf/udf_subr.c: revision 1.88, 1.89
	sys/fs/udf/udf_bswap.h: revision 1.6, 1.7
	sys/fs/udf/udf_allocation.c: revision 1.22, 1.23
	sbin/newfs_udf/udf_create.c: revision 1.16
Fix *serious* bug in bswapping definitions for big endian machines.
ANSI-fy. No idea why they weren't so in the first place.
Fix newfs_udf to create a valid disc images on bigendian machines.
A descriptor's CRC lenth is 16 bit so use udf_rw16() on tag.desc_crc_len.
Forgot to use the udf_rw16() on the descriptor crc lengths of FID's!
Also fix a few dubiously formatted checks.
On creation of a new node, don't forget to set the length of the allocated
space in the right endian!
Account for the logical blocks recorded by the extent in the right endian!

Revision 1.73.4.10 / (download) - annotate - [select for diffs], Mon Jun 1 17:11:35 2009 UTC (14 years, 10 months ago) by liamjfoy
Branch: netbsd-5
Changes since 1.73.4.9: +7 -8 lines
Diff to previous 1.73.4.9 (colored) to branchpoint 1.73 (colored) to selected 1.139.6.1 (colored)

Pull up following revision(s) (requested by reinoud in ticket #772):
	sys/fs/udf/udf_strat_rmw.c: revision 1.19
	sys/fs/udf/udf_strat_sequential.c: revision 1.10
	sys/fs/udf/udf_strat_direct.c: revision 1.10
	sys/fs/udf/udf_subr.c: revision 1.90
	sys/fs/udf/udf_subr.c: revision 1.91
Descriptor version is 16 bit and not 8 so use udf_rw16() to access them.
UniqueID was written in the logical volume integrity without byteswapping for
bigendian machines.

Retire IN_CALLBACK_ULK flagging since its not used anymore and the old
assertions on it would trigger without cause.

Revision 1.91 / (download) - annotate - [select for diffs], Wed May 20 15:30:26 2009 UTC (14 years, 10 months ago) by reinoud
Branch: MAIN
CVS Tags: yamt-nfs-mp-base5
Changes since 1.90: +4 -5 lines
Diff to previous 1.90 (colored) to selected 1.139.6.1 (colored)

Retire IN_CALLBACK_ULK flagging since its not used anymore and the old
assertions on it would trigger without cause.

Revision 1.90 / (download) - annotate - [select for diffs], Wed May 20 13:25:50 2009 UTC (14 years, 10 months ago) by reinoud
Branch: MAIN
Changes since 1.89: +5 -5 lines
Diff to previous 1.89 (colored) to selected 1.139.6.1 (colored)

Descriptor version is 16 bit and not 8 so use udf_rw16() to access them.
UniqueID was written in the logical volume integrity without byteswapping for
bigendian machines.

Revision 1.89 / (download) - annotate - [select for diffs], Tue May 19 16:06:56 2009 UTC (14 years, 10 months ago) by reinoud
Branch: MAIN
Changes since 1.88: +3 -3 lines
Diff to previous 1.88 (colored) to selected 1.139.6.1 (colored)

On creation of a new node, don't forget to set the length of the allocated
space in the right endian!

Revision 1.88 / (download) - annotate - [select for diffs], Tue May 19 15:08:42 2009 UTC (14 years, 10 months ago) by reinoud
Branch: MAIN
Changes since 1.87: +6 -6 lines
Diff to previous 1.87 (colored) to selected 1.139.6.1 (colored)

Forgot to use the udf_rw16() on the descriptor crc lengths of FID's!
Also fix a few dubiously formatted checks.

Revision 1.85.2.1 / (download) - annotate - [select for diffs], Wed May 13 17:21:55 2009 UTC (14 years, 10 months ago) by jym
Branch: jym-xensuspend
Changes since 1.85: +5 -7 lines
Diff to previous 1.85 (colored) to selected 1.139.6.1 (colored)

Sync with HEAD.

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

Revision 1.44.10.2 / (download) - annotate - [select for diffs], Mon May 4 08:13:45 2009 UTC (14 years, 10 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.44.10.1: +1282 -458 lines
Diff to previous 1.44.10.1 (colored) to branchpoint 1.44 (colored) to selected 1.139.6.1 (colored)

sync with head.

Revision 1.73.2.3 / (download) - annotate - [select for diffs], Tue Apr 28 07:36:58 2009 UTC (14 years, 11 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.73.2.2: +5 -5 lines
Diff to previous 1.73.2.2 (colored) to branchpoint 1.73 (colored) next main 1.74 (colored) to selected 1.139.6.1 (colored)

Sync with HEAD.

Revision 1.87 / (download) - annotate - [select for diffs], Wed Mar 18 16:00:21 2009 UTC (15 years ago) by cegger
Branch: MAIN
CVS Tags: yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base, jym-xensuspend-base
Changes since 1.86: +5 -5 lines
Diff to previous 1.86 (colored) to selected 1.139.6.1 (colored)

bzero -> memset

Revision 1.73.2.2 / (download) - annotate - [select for diffs], Tue Mar 3 18:32:35 2009 UTC (15 years ago) by skrll
Branch: nick-hppapmap
Changes since 1.73.2.1: +346 -31 lines
Diff to previous 1.73.2.1 (colored) to branchpoint 1.73 (colored) to selected 1.139.6.1 (colored)

Sync with HEAD.

Revision 1.86 / (download) - annotate - [select for diffs], Sun Feb 22 15:26:51 2009 UTC (15 years, 1 month ago) by yamt
Branch: MAIN
CVS Tags: nick-hppapmap-base2
Changes since 1.85: +2 -4 lines
Diff to previous 1.85 (colored) to selected 1.139.6.1 (colored)

udf_write_filebuf: remove an write-only variable

Revision 1.73.4.9 / (download) - annotate - [select for diffs], Thu Feb 19 03:39:56 2009 UTC (15 years, 1 month ago) by snj
Branch: netbsd-5
CVS Tags: netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, 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.73.4.8: +4 -3 lines
Diff to previous 1.73.4.8 (colored) to branchpoint 1.73 (colored) to selected 1.139.6.1 (colored)

Apply patch (requested by plunky in ticket #447):
Use bitmask_snprintf instead of snprintb.

Revision 1.73.4.8 / (download) - annotate - [select for diffs], Wed Feb 18 00:51:27 2009 UTC (15 years, 1 month ago) by snj
Branch: netbsd-5
Changes since 1.73.4.7: +345 -28 lines
Diff to previous 1.73.4.7 (colored) to branchpoint 1.73 (colored) to selected 1.139.6.1 (colored)

Pull up following revision(s) (requested by reinoud in ticket #447):
	sys/fs/udf/udf.h: revision 1.30
	sys/fs/udf/udf_readwrite.c: revision 1.10
	sys/fs/udf/udf_strat_direct.c: revision 1.8
	sys/fs/udf/udf_strat_rmw.c: revision 1.18
	sys/fs/udf/udf_strat_sequential.c: revision 1.8
	sys/fs/udf/udf_subr.c: revision 1.85
	sys/fs/udf/udf_subr.h: revision 1.13
Implement session closure on sequential media when requested on mount. It will
allow CD-ROM/DVD-ROM/DB-ROM drives to read the media while still allowing them
to be appended later. It can also be seen as a way to make mountable
snapshots.

Revision 1.85 / (download) - annotate - [select for diffs], Sun Feb 8 19:14:52 2009 UTC (15 years, 1 month ago) by reinoud
Branch: MAIN
Branch point for: jym-xensuspend
Changes since 1.84: +345 -28 lines
Diff to previous 1.84 (colored) to selected 1.139.6.1 (colored)

Implement session closure on sequential media when requested on mount. It will
allow CD-ROM/DVD-ROM/DB-ROM drives to read the media while still allowing them
to be appended later. It can also be seen as a way to make mountable
snapshots.

Revision 1.84 / (download) - annotate - [select for diffs], Thu Feb 5 19:39:08 2009 UTC (15 years, 1 month ago) by pooka
Branch: MAIN
Changes since 1.83: +3 -3 lines
Diff to previous 1.83 (colored) to selected 1.139.6.1 (colored)

Specify BROKEN DIRECTORY ENTRY printf comes from udf
(can happen e.g. with medium error)

Revision 1.73.2.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:19:37 2009 UTC (15 years, 2 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.73: +53 -26 lines
Diff to previous 1.73 (colored) to selected 1.139.6.1 (colored)

Sync with HEAD.

Revision 1.44.6.5 / (download) - annotate - [select for diffs], Sat Jan 17 13:29:17 2009 UTC (15 years, 2 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.44.6.4: +51 -24 lines
Diff to previous 1.44.6.4 (colored) to branchpoint 1.44 (colored) next main 1.45 (colored) to selected 1.139.6.1 (colored)

Sync with HEAD.

Revision 1.73.4.7 / (download) - annotate - [select for diffs], Mon Dec 22 03:07:31 2008 UTC (15 years, 3 months ago) by snj
Branch: netbsd-5
CVS Tags: netbsd-5-0-RC2, netbsd-5-0-RC1
Changes since 1.73.4.6: +24 -2 lines
Diff to previous 1.73.4.6 (colored) to branchpoint 1.73 (colored) to selected 1.139.6.1 (colored)

Pull up following revision(s) (requested by reinoud in ticket #194):
	sys/fs/udf/udf_subr.c: revision 1.82
Implement auto-track repair on tracks marked damaged when searching for
writable tracks on session opening. Note that this an optionally implemented
feature and thus no error will be generated if it fails; the drive will most
likely autorepair it.

Revision 1.73.4.6 / (download) - annotate - [select for diffs], Mon Dec 22 03:05:00 2008 UTC (15 years, 3 months ago) by snj
Branch: netbsd-5
Changes since 1.73.4.5: +7 -4 lines
Diff to previous 1.73.4.5 (colored) to branchpoint 1.73 (colored) to selected 1.139.6.1 (colored)

Pull up following revision(s) (requested by reinoud in ticket #194):
	sys/fs/udf/udf_subr.c: revision 1.81
Fix critital panic when mounting a CD-R/DVD*R disc. The check for VV_ROOT was
not done correctly and could panic when requested to load a VAT descriptor
since the fileset was not yet fetched.

Revision 1.83 / (download) - annotate - [select for diffs], Fri Dec 19 18:49:39 2008 UTC (15 years, 3 months ago) by cegger
Branch: MAIN
CVS Tags: mjf-devfs2-base
Changes since 1.82: +4 -6 lines
Diff to previous 1.82 (colored) to selected 1.139.6.1 (colored)

use M_ZERO on malloc() and remove subsequent bzero().

Revision 1.82 / (download) - annotate - [select for diffs], Thu Dec 18 15:41:44 2008 UTC (15 years, 3 months ago) by reinoud
Branch: MAIN
Changes since 1.81: +24 -2 lines
Diff to previous 1.81 (colored) to selected 1.139.6.1 (colored)

Implement auto-track repair on tracks marked damaged when searching for
writable tracks on session opening. Note that this an optionally implemented
feature and thus no error will be generated if it fails; the drive will most
likely autorepair it.

Revision 1.81 / (download) - annotate - [select for diffs], Thu Dec 18 13:03:49 2008 UTC (15 years, 3 months ago) by reinoud
Branch: MAIN
Changes since 1.80: +7 -4 lines
Diff to previous 1.80 (colored) to selected 1.139.6.1 (colored)

Fix critital panic when mounting a CD-R/DVD*R disc. The check for VV_ROOT was
not done correctly and could panic when requested to load a VAT descriptor
since the fileset was not yet fetched.

Revision 1.73.4.5 / (download) - annotate - [select for diffs], Thu Dec 18 01:10:51 2008 UTC (15 years, 3 months ago) by snj
Branch: netbsd-5
Changes since 1.73.4.4: +5 -2 lines
Diff to previous 1.73.4.4 (colored) to branchpoint 1.73 (colored) to selected 1.139.6.1 (colored)

Pull up following revision(s) (requested by reinoud in ticket #192):
	sys/fs/udf/udf_subr.c: revision 1.79
	sys/fs/udf/udf_vfsops.c: revision 1.54
Check for a node being root on node creation so when the root node is disposed
of when working deep into the directory tree it can reliably be reget and
marked correctly as the FS root.
Fixed pwd(1) lock panic and possible endless loop in other tools.

Revision 1.73.4.4 / (download) - annotate - [select for diffs], Thu Dec 18 01:07:49 2008 UTC (15 years, 3 months ago) by snj
Branch: netbsd-5
Changes since 1.73.4.3: +4 -4 lines
Diff to previous 1.73.4.3 (colored) to branchpoint 1.73 (colored) to selected 1.139.6.1 (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.80 / (download) - annotate - [select for diffs], Tue Dec 16 22:35:36 2008 UTC (15 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.79: +9 -10 lines
Diff to previous 1.79 (colored) to selected 1.139.6.1 (colored)

replace bitmask_snprintf(9) with snprintb(3)

Revision 1.79 / (download) - annotate - [select for diffs], Tue Dec 16 16:27:05 2008 UTC (15 years, 3 months ago) by reinoud
Branch: MAIN
Changes since 1.78: +5 -2 lines
Diff to previous 1.78 (colored) to selected 1.139.6.1 (colored)

Check for a node being root on node creation so when the root node is disposed
of when working deep into the directory tree it can reliably be reget and
marked correctly as the FS root.

Fixed pwd(1) lock panic and possible endless loop in other tools.

Revision 1.78 / (download) - annotate - [select for diffs], Tue Dec 16 16:18:25 2008 UTC (15 years, 3 months ago) by pooka
Branch: MAIN
Changes since 1.77: +2 -3 lines
Diff to previous 1.77 (colored) to selected 1.139.6.1 (colored)

The great QUOTA purge of '08: get rid of those #ifdef QUOTA and
#include "opt_quota.h" which do exactly nothing.  Speeds up kernel
compilation by 1.375*10^-20001 seconds.  But leave the most moxious
comment in msdosfs_vfsops untouched.

Revision 1.77 / (download) - annotate - [select for diffs], Tue Dec 16 10:30:19 2008 UTC (15 years, 3 months ago) by reinoud
Branch: MAIN
Changes since 1.76: +4 -4 lines
Diff to previous 1.76 (colored) to selected 1.139.6.1 (colored)

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

Revision 1.54.2.2 / (download) - annotate - [select for diffs], Sat Dec 13 01:14:59 2008 UTC (15 years, 3 months ago) by haad
Branch: haad-dm
Changes since 1.54.2.1: +14 -11 lines
Diff to previous 1.54.2.1 (colored) next main 1.55 (colored) to selected 1.139.6.1 (colored)

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

Revision 1.73.4.3 / (download) - annotate - [select for diffs], Sat Dec 6 21:44:05 2008 UTC (15 years, 3 months ago) by snj
Branch: netbsd-5
Changes since 1.73.4.2: +7 -6 lines
Diff to previous 1.73.4.2 (colored) to branchpoint 1.73 (colored) to selected 1.139.6.1 (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.73.4.2 / (download) - annotate - [select for diffs], Sat Dec 6 21:41:34 2008 UTC (15 years, 3 months ago) by snj
Branch: netbsd-5
Changes since 1.73.4.1: +8 -2 lines
Diff to previous 1.73.4.1 (colored) to branchpoint 1.73 (colored) to selected 1.139.6.1 (colored)

Pull up following revision(s) (requested by reinoud in ticket #167):
	sys/fs/udf/udf_strat_direct.c: revision 1.6
	sys/fs/udf/udf_subr.c: revision 1.75
Allow for the exclusive selection of `direct' for rdonly mounts; its disabled
for now since its a lot slower than `rmw' access.
For archs that have trouble with `rmw' for whatever reason can so use it as a
scapegoat to allways mount savely rdonly though slower.

Revision 1.73.4.1 / (download) - annotate - [select for diffs], Sat Dec 6 21:36:48 2008 UTC (15 years, 3 months ago) by snj
Branch: netbsd-5
Changes since 1.73: +3 -7 lines
Diff to previous 1.73 (colored) to selected 1.139.6.1 (colored)

Pull up following revision(s) (requested by reinoud in ticket #167):
	sys/fs/udf/udf_subr.c: revision 1.74
Remove old comment and remove unused calculated variable

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

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

Revision 1.75 / (download) - annotate - [select for diffs], Fri Nov 28 15:29:47 2008 UTC (15 years, 4 months ago) by reinoud
Branch: MAIN
Changes since 1.74: +8 -2 lines
Diff to previous 1.74 (colored) to selected 1.139.6.1 (colored)

Allow for the exclusive selection of `direct' for rdonly mounts; its disabled
for now since its a lot slower than `rmw' access.

For archs that have trouble with `rmw' for whatever reason can so use it as a
scapegoat to allways mount savely rdonly though slower.

Revision 1.74 / (download) - annotate - [select for diffs], Fri Nov 28 14:33:36 2008 UTC (15 years, 4 months ago) by reinoud
Branch: MAIN
Changes since 1.73: +3 -7 lines
Diff to previous 1.73 (colored) to selected 1.139.6.1 (colored)

Remove old comment and remove unused calculated variable

Revision 1.54.2.1 / (download) - annotate - [select for diffs], Sun Oct 19 22:17:18 2008 UTC (15 years, 5 months ago) by haad
Branch: haad-dm
Changes since 1.54: +546 -264 lines
Diff to previous 1.54 (colored) to selected 1.139.6.1 (colored)

Sync with HEAD.

Revision 1.44.12.3 / (download) - annotate - [select for diffs], Fri Oct 10 22:34:13 2008 UTC (15 years, 5 months ago) by skrll
Branch: wrstuden-revivesa
Changes since 1.44.12.2: +41 -391 lines
Diff to previous 1.44.12.2 (colored) to branchpoint 1.44 (colored) next main 1.45 (colored) to selected 1.139.6.1 (colored)

Sync with HEAD.

Revision 1.44.6.4 / (download) - annotate - [select for diffs], Sun Oct 5 20:11:31 2008 UTC (15 years, 5 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.44.6.3: +39 -389 lines
Diff to previous 1.44.6.3 (colored) to branchpoint 1.44 (colored) to selected 1.139.6.1 (colored)

Sync with HEAD.

Revision 1.44.6.3 / (download) - annotate - [select for diffs], Sun Sep 28 10:40:51 2008 UTC (15 years, 6 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.44.6.2: +892 -260 lines
Diff to previous 1.44.6.2 (colored) to branchpoint 1.44 (colored) to selected 1.139.6.1 (colored)

Sync with HEAD.

Revision 1.73 / (download) - annotate - [select for diffs], Sat Sep 27 13:05:34 2008 UTC (15 years, 6 months ago) by reinoud
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-4, netbsd-5-base, matt-mips64-base2, haad-dm-base1
Branch point for: nick-hppapmap, netbsd-5
Changes since 1.72: +41 -391 lines
Diff to previous 1.72 (colored) to selected 1.139.6.1 (colored)

Switch UDF over to the vfs_dirhash.c dirhash code.

Revision 1.44.12.2 / (download) - annotate - [select for diffs], Thu Sep 18 04:36:56 2008 UTC (15 years, 6 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.44.12.1: +1222 -421 lines
Diff to previous 1.44.12.1 (colored) to branchpoint 1.44 (colored) to selected 1.139.6.1 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.72 / (download) - annotate - [select for diffs], Fri Aug 29 15:04:18 2008 UTC (15 years, 7 months ago) by reinoud
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-3, wrstuden-revivesa-base-2
Changes since 1.71: +2 -6 lines
Diff to previous 1.71 (colored) to selected 1.139.6.1 (colored)

Remove all remaining traces of UDF_READWRITE since it has been removed as
option.

Revision 1.71 / (download) - annotate - [select for diffs], Wed Aug 6 13:41:12 2008 UTC (15 years, 7 months ago) by reinoud
Branch: MAIN
Changes since 1.70: +70 -56 lines
Diff to previous 1.70 (colored) to selected 1.139.6.1 (colored)

Rewrite allocation scheme's determination and implementation replacing the
old somewhat naive selection scheme that didn't allow different allocation
settings for nodes, directory information (FIDs) and data.

Also fix some curious side-effects of atime updates on RMW devices.

Revision 1.49.2.5 / (download) - annotate - [select for diffs], Thu Jul 31 04:51:02 2008 UTC (15 years, 8 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.49.2.4: +167 -18 lines
Diff to previous 1.49.2.4 (colored) to branchpoint 1.49 (colored) next main 1.50 (colored) to selected 1.139.6.1 (colored)

Sync with head.

Revision 1.70 / (download) - annotate - [select for diffs], Mon Jul 28 19:41:13 2008 UTC (15 years, 8 months ago) by reinoud
Branch: MAIN
CVS Tags: simonb-wapbl-nbase, simonb-wapbl-base
Changes since 1.69: +167 -18 lines
Diff to previous 1.69 (colored) to selected 1.139.6.1 (colored)

Streamline allocation to prepare it for metadata partition. Also add
preliminary Metadata partition write support but its disabled still since
its not finished yet and not functioning correctly. All other formats are
checked and should work fine.

Revision 1.49.2.4 / (download) - annotate - [select for diffs], Mon Jul 28 14:37:35 2008 UTC (15 years, 8 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.49.2.3: +168 -57 lines
Diff to previous 1.49.2.3 (colored) to branchpoint 1.49 (colored) to selected 1.139.6.1 (colored)

Sync with head.

Revision 1.69 / (download) - annotate - [select for diffs], Sun Jul 27 11:38:23 2008 UTC (15 years, 8 months ago) by reinoud
Branch: MAIN
Changes since 1.68: +8 -8 lines
Diff to previous 1.68 (colored) to selected 1.139.6.1 (colored)

Delay physical partition spacebitmaps from volume-descriptor-checking until
the other supporting structures are read in.

Revision 1.68 / (download) - annotate - [select for diffs], Sat Jul 26 20:49:33 2008 UTC (15 years, 8 months ago) by reinoud
Branch: MAIN
Changes since 1.67: +7 -6 lines
Diff to previous 1.67 (colored) to selected 1.139.6.1 (colored)

Clarify the current spacemap read/write code is reading/writing physical
partition space maps. This in preperation of Metadata spacetable
reading/writeout work.

Revision 1.67 / (download) - annotate - [select for diffs], Tue Jul 22 21:39:08 2008 UTC (15 years, 8 months ago) by reinoud
Branch: MAIN
Changes since 1.66: +5 -2 lines
Diff to previous 1.66 (colored) to selected 1.139.6.1 (colored)

No use walking empty hashtables when purging.

Revision 1.66 / (download) - annotate - [select for diffs], Tue Jul 22 19:06:55 2008 UTC (15 years, 8 months ago) by reinoud
Branch: MAIN
Changes since 1.65: +153 -46 lines
Diff to previous 1.65 (colored) to selected 1.139.6.1 (colored)

Limit the UDF dirhash to a configurable amount of memory. The performance
penalty even with a limited dirhash of 128kb is acceptable but it should be
set by machine memory size though.

Revision 1.49.2.3 / (download) - annotate - [select for diffs], Tue Jul 22 05:44:02 2008 UTC (15 years, 8 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.49.2.2: +14 -3 lines
Diff to previous 1.49.2.2 (colored) to branchpoint 1.49 (colored) to selected 1.139.6.1 (colored)

Sync with head.

Revision 1.65 / (download) - annotate - [select for diffs], Sat Jul 19 16:14:09 2008 UTC (15 years, 8 months ago) by reinoud
Branch: MAIN
Changes since 1.64: +7 -7 lines
Diff to previous 1.64 (colored) to selected 1.139.6.1 (colored)

Use ecma-167 constants instead of homegrown to prevent double mapping.

Revision 1.64 / (download) - annotate - [select for diffs], Sat Jul 19 16:00:35 2008 UTC (15 years, 8 months ago) by reinoud
Branch: MAIN
Changes since 1.63: +13 -2 lines
Diff to previous 1.63 (colored) to selected 1.139.6.1 (colored)

Choose which time of allocation descriptors to use on new nodes based on
the number of partition mappings.

Revision 1.49.2.2 / (download) - annotate - [select for diffs], Fri Jul 18 16:37:48 2008 UTC (15 years, 8 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.49.2.1: +550 -199 lines
Diff to previous 1.49.2.1 (colored) to branchpoint 1.49 (colored) to selected 1.139.6.1 (colored)

Sync with head.

Revision 1.63 / (download) - annotate - [select for diffs], Fri Jul 18 15:55:32 2008 UTC (15 years, 8 months ago) by reinoud
Branch: MAIN
Changes since 1.62: +3 -3 lines
Diff to previous 1.62 (colored) to selected 1.139.6.1 (colored)

fix comment

Revision 1.62 / (download) - annotate - [select for diffs], Fri Jul 18 14:18:51 2008 UTC (15 years, 8 months ago) by reinoud
Branch: MAIN
Changes since 1.61: +4 -9 lines
Diff to previous 1.61 (colored) to selected 1.139.6.1 (colored)

On dirhash lookup, don't retrieve info you already have.

Revision 1.61 / (download) - annotate - [select for diffs], Fri Jul 18 13:39:41 2008 UTC (15 years, 8 months ago) by reinoud
Branch: MAIN
Changes since 1.60: +6 -6 lines
Diff to previous 1.60 (colored) to selected 1.139.6.1 (colored)

Remove double check

Revision 1.60 / (download) - annotate - [select for diffs], Fri Jul 18 13:34:05 2008 UTC (15 years, 8 months ago) by reinoud
Branch: MAIN
Changes since 1.59: +6 -3 lines
Diff to previous 1.59 (colored) to selected 1.139.6.1 (colored)

First retrieve length and hash values *before* advancing to the next entry.
On hashline collision it would check a random one next.

Revision 1.59 / (download) - annotate - [select for diffs], Thu Jul 17 19:10:22 2008 UTC (15 years, 8 months ago) by reinoud
Branch: MAIN
Changes since 1.58: +515 -189 lines
Diff to previous 1.58 (colored) to selected 1.139.6.1 (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.58 / (download) - annotate - [select for diffs], Thu Jul 17 15:37:59 2008 UTC (15 years, 8 months ago) by reinoud
Branch: MAIN
Changes since 1.57: +7 -7 lines
Diff to previous 1.57 (colored) to selected 1.139.6.1 (colored)

Dont round up nanosecond count; if its nearing wrap one could get a count
of >1 second resulting in invalid time stamps on disc.

Revision 1.57 / (download) - annotate - [select for diffs], Fri Jul 11 15:16:53 2008 UTC (15 years, 8 months ago) by reinoud
Branch: MAIN
Changes since 1.56: +3 -3 lines
Diff to previous 1.56 (colored) to selected 1.139.6.1 (colored)

Fix spelling in comment

Revision 1.56 / (download) - annotate - [select for diffs], Thu Jul 10 16:41:00 2008 UTC (15 years, 8 months ago) by reinoud
Branch: MAIN
Changes since 1.55: +9 -3 lines
Diff to previous 1.55 (colored) to selected 1.139.6.1 (colored)

On node creation, follow tmpfs and UFS by generating the uid/gid pair. This
fixes the lack of file ownership preservation on file/directory creation.

See PR kern/39124

Revision 1.55 / (download) - annotate - [select for diffs], Mon Jul 7 18:45:27 2008 UTC (15 years, 8 months ago) by reinoud
Branch: MAIN
Changes since 1.54: +27 -6 lines
Diff to previous 1.54 (colored) to selected 1.139.6.1 (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.44.6.2 / (download) - annotate - [select for diffs], Sun Jun 29 09:33:13 2008 UTC (15 years, 9 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.44.6.1: +352 -167 lines
Diff to previous 1.44.6.1 (colored) to branchpoint 1.44 (colored) to selected 1.139.6.1 (colored)

Sync with HEAD.

Revision 1.49.2.1 / (download) - annotate - [select for diffs], Fri Jun 27 15:11:38 2008 UTC (15 years, 9 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.49: +354 -169 lines
Diff to previous 1.49 (colored) to selected 1.139.6.1 (colored)

Sync with head.

Revision 1.54 / (download) - annotate - [select for diffs], Wed Jun 25 16:06:29 2008 UTC (15 years, 9 months ago) by reinoud
Branch: MAIN
Branch point for: haad-dm
Changes since 1.53: +3 -3 lines
Diff to previous 1.53 (colored) to selected 1.139.6.1 (colored)

Disable read/write mounting for metadatapartition since attempts to delete
files now corrupt the image due to the lack of allocation scheme support.

Revision 1.53 / (download) - annotate - [select for diffs], Wed Jun 25 15:59:24 2008 UTC (15 years, 9 months ago) by reinoud
Branch: MAIN
Changes since 1.52: +4 -4 lines
Diff to previous 1.52 (colored) to selected 1.139.6.1 (colored)

Allow metadata partitioned discs to be mounted read-write even though its
allocation scheme is not implemented yet. Creating new files or deleting
anything is thus not possible.

Revision 1.52 / (download) - annotate - [select for diffs], Wed Jun 25 10:03:14 2008 UTC (15 years, 9 months ago) by reinoud
Branch: MAIN
Changes since 1.51: +24 -8 lines
Diff to previous 1.51 (colored) to selected 1.139.6.1 (colored)

Fix allocation extensions descriptor reading and do free them on node
destruction!

Revision 1.51 / (download) - annotate - [select for diffs], Tue Jun 24 15:35:57 2008 UTC (15 years, 9 months ago) by reinoud
Branch: MAIN
Changes since 1.50: +306 -153 lines
Diff to previous 1.50 (colored) to selected 1.139.6.1 (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.44.12.1 / (download) - annotate - [select for diffs], Mon Jun 23 04:31:50 2008 UTC (15 years, 9 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.44: +4764 -1938 lines
Diff to previous 1.44 (colored) to selected 1.139.6.1 (colored)

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

Revision 1.50 / (download) - annotate - [select for diffs], Wed Jun 18 21:23:32 2008 UTC (15 years, 9 months ago) by reinoud
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-1, wrstuden-revivesa-base
Changes since 1.49: +28 -12 lines
Diff to previous 1.49 (colored) to selected 1.139.6.1 (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.44.8.2 / (download) - annotate - [select for diffs], Wed Jun 4 02:05:34 2008 UTC (15 years, 9 months ago) by yamt
Branch: yamt-pf42
Changes since 1.44.8.1: +27 -13 lines
Diff to previous 1.44.8.1 (colored) to branchpoint 1.44 (colored) next main 1.45 (colored) to selected 1.139.6.1 (colored)

sync with head

Revision 1.23.2.4.2.2 / (download) - annotate - [select for diffs], Tue Jun 3 20:47:41 2008 UTC (15 years, 9 months ago) by skrll
Branch: wrstuden-fixsa
Changes since 1.23.2.4.2.1: +12 -13 lines
Diff to previous 1.23.2.4.2.1 (colored) to branchpoint 1.23.2.4 (colored) next main 1.23.2.5 (colored) to selected 1.139.6.1 (colored)

Sync with netbsd-4.

Revision 1.44.6.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:24:06 2008 UTC (15 years, 9 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.44: +4772 -1962 lines
Diff to previous 1.44 (colored) to selected 1.139.6.1 (colored)

Sync with HEAD.

Revision 1.49 / (download) - annotate - [select for diffs], Mon May 19 23:48:04 2008 UTC (15 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, hpcarm-cleanup-nbase
Branch point for: simonb-wapbl
Changes since 1.48: +5 -3 lines
Diff to previous 1.48 (colored) to selected 1.139.6.1 (colored)

fix argument type.

Revision 1.48 / (download) - annotate - [select for diffs], Mon May 19 20:12:36 2008 UTC (15 years, 10 months ago) by reinoud
Branch: MAIN
Changes since 1.47: +25 -13 lines
Diff to previous 1.47 (colored) to selected 1.139.6.1 (colored)

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

Revision 1.44.8.1 / (download) - annotate - [select for diffs], Sun May 18 12:35:06 2008 UTC (15 years, 10 months ago) by yamt
Branch: yamt-pf42
Changes since 1.44: +4730 -1934 lines
Diff to previous 1.44 (colored) to selected 1.139.6.1 (colored)

sync with head.

Revision 1.47 / (download) - annotate - [select for diffs], Sat May 17 08:07:21 2008 UTC (15 years, 10 months ago) by reinoud
Branch: MAIN
CVS Tags: yamt-pf42-base2
Changes since 1.46: +3 -4 lines
Diff to previous 1.46 (colored) to selected 1.139.6.1 (colored)

Cleaner gcc initialisation detection failure notice.

Revision 1.46 / (download) - annotate - [select for diffs], Sat May 17 07:46:35 2008 UTC (15 years, 10 months ago) by reinoud
Branch: MAIN
Changes since 1.45: +4 -2 lines
Diff to previous 1.45 (colored) to selected 1.139.6.1 (colored)

Fix `uninitialised variable' warning issued by the sh3 compiler. gcc can't
detect that the `last_node' variable will be set before used since it can't
parse the semantics of `TAILQ_EMPTY()' that is used as a guard first.

Thanks for H?rvard for finding and reporting it :)

Revision 1.44.10.1 / (download) - annotate - [select for diffs], Fri May 16 02:25:21 2008 UTC (15 years, 10 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.44: +4729 -1934 lines
Diff to previous 1.44 (colored) to selected 1.139.6.1 (colored)

sync with head.

Revision 1.45 / (download) - annotate - [select for diffs], Wed May 14 16:49:48 2008 UTC (15 years, 10 months ago) by reinoud
Branch: MAIN
CVS Tags: yamt-nfs-mp-base2
Changes since 1.44: +4750 -1955 lines
Diff to previous 1.44 (colored) to selected 1.139.6.1 (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.40.2.3 / (download) - annotate - [select for diffs], Mon Feb 18 21:06:44 2008 UTC (16 years, 1 month ago) by mjf
Branch: mjf-devfs
Changes since 1.40.2.2: +24 -19 lines
Diff to previous 1.40.2.2 (colored) to branchpoint 1.40 (colored) next main 1.41 (colored) to selected 1.139.6.1 (colored)

Sync with HEAD.

Revision 1.23.2.6 / (download) - annotate - [select for diffs], Fri Feb 1 14:42:55 2008 UTC (16 years, 2 months ago) by riz
Branch: netbsd-4
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base
Changes since 1.23.2.5: +10 -11 lines
Diff to previous 1.23.2.5 (colored) to branchpoint 1.23 (colored) next main 1.24 (colored) to selected 1.139.6.1 (colored)

Pull up following revision(s) (requested by reinoud in ticket #1004):
	sys/dev/scsipi/cd.c: revision 1.270
	sys/sys/cdio.h: revision 1.29
	sys/fs/udf/udf_subr.c: revision 1.42
Pullup fixes from UDF write development project. This patch fixes a
conceptional bug in mmc_discinfo, improves DVD+R feature detection and
prevents corruption of mmc_trackinfo readout on some devices that return
short trackinfo structures.
Pullup fixes from UDF RW support project. This commit fixes the
mmc_discinfo conceptional bug and also vastly improves VAT searching.

Revision 1.10.2.9 / (download) - annotate - [select for diffs], Mon Jan 21 09:45:56 2008 UTC (16 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.10.2.8: +24 -19 lines
Diff to previous 1.10.2.8 (colored) to branchpoint 1.10 (colored) next main 1.11 (colored) to selected 1.139.6.1 (colored)

sync with head

Revision 1.36.6.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:55:53 2008 UTC (16 years, 2 months ago) by matt
Branch: matt-armv6
Changes since 1.36.6.1: +37 -34 lines
Diff to previous 1.36.6.1 (colored) to branchpoint 1.36 (colored) next main 1.37 (colored) to selected 1.139.6.1 (colored)

sync with HEAD

Revision 1.23.2.4.2.1 / (download) - annotate - [select for diffs], Sun Jan 6 05:01:13 2008 UTC (16 years, 2 months ago) by wrstuden
Branch: wrstuden-fixsa
Changes since 1.23.2.4: +3 -2 lines
Diff to previous 1.23.2.4 (colored) to selected 1.139.6.1 (colored)

Catch up to netbsd-4.0 release.

Revision 1.42.6.2 / (download) - annotate - [select for diffs], Wed Jan 2 21:55:41 2008 UTC (16 years, 2 months ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.42.6.1: +22 -17 lines
Diff to previous 1.42.6.1 (colored) to branchpoint 1.42 (colored) next main 1.43 (colored) to selected 1.139.6.1 (colored)

Sync with HEAD

Revision 1.44 / (download) - annotate - [select for diffs], Wed Jan 2 11:48:47 2008 UTC (16 years, 2 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base, bouyer-xeni386-nbase, bouyer-xeni386-base, ad-socklock-base1
Branch point for: yamt-pf42, yamt-nfs-mp, wrstuden-revivesa, mjf-devfs2
Changes since 1.43: +24 -19 lines
Diff to previous 1.43 (colored) to selected 1.139.6.1 (colored)

Merge vmlocking2 to head.

Revision 1.40.2.2 / (download) - annotate - [select for diffs], Thu Dec 27 00:45:50 2007 UTC (16 years, 3 months ago) by mjf
Branch: mjf-devfs
Changes since 1.40.2.1: +2 -2 lines
Diff to previous 1.40.2.1 (colored) to branchpoint 1.40 (colored) to selected 1.139.6.1 (colored)

Sync with HEAD.

Revision 1.42.2.2 / (download) - annotate - [select for diffs], Wed Dec 26 21:39:35 2007 UTC (16 years, 3 months ago) by ad
Branch: vmlocking2
Changes since 1.42.2.1: +2 -2 lines
Diff to previous 1.42.2.1 (colored) to branchpoint 1.42 (colored) next main 1.43 (colored) to selected 1.139.6.1 (colored)

Sync with head.

Revision 1.42.6.1 / (download) - annotate - [select for diffs], Thu Dec 13 21:56:51 2007 UTC (16 years, 3 months ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.42: +2 -2 lines
Diff to previous 1.42 (colored) to selected 1.139.6.1 (colored)

Sync with HEAD

Revision 1.42.4.1 / (download) - annotate - [select for diffs], Tue Dec 11 15:44:10 2007 UTC (16 years, 3 months ago) by yamt
Branch: yamt-kmem
Changes since 1.42: +2 -2 lines
Diff to previous 1.42 (colored) next main 1.43 (colored) to selected 1.139.6.1 (colored)

sync with head.

Revision 1.43 / (download) - annotate - [select for diffs], Tue Dec 11 12:05:27 2007 UTC (16 years, 3 months ago) by lukem
Branch: MAIN
CVS Tags: yamt-kmem-base3, yamt-kmem-base2, vmlocking2-base3, cube-autoconf-base, cube-autoconf
Changes since 1.42: +2 -2 lines
Diff to previous 1.42 (colored) to selected 1.139.6.1 (colored)

use __KERNEL_RCSID() instead of __RCSID()

Revision 1.40.2.1 / (download) - annotate - [select for diffs], Sat Dec 8 18:20:22 2007 UTC (16 years, 3 months ago) by mjf
Branch: mjf-devfs
Changes since 1.40: +15 -17 lines
Diff to previous 1.40 (colored) to selected 1.139.6.1 (colored)

Sync with HEAD.

Revision 1.10.2.8 / (download) - annotate - [select for diffs], Fri Dec 7 17:32:12 2007 UTC (16 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.10.2.7: +15 -17 lines
Diff to previous 1.10.2.7 (colored) to branchpoint 1.10 (colored) to selected 1.139.6.1 (colored)

sync with head

Revision 1.42.2.1 / (download) - annotate - [select for diffs], Tue Dec 4 13:03:11 2007 UTC (16 years, 3 months ago) by ad
Branch: vmlocking2
Changes since 1.42: +24 -19 lines
Diff to previous 1.42 (colored) to selected 1.139.6.1 (colored)

Pull the vmlocking changes into a new branch.

Revision 1.36.4.5 / (download) - annotate - [select for diffs], Mon Dec 3 16:14:45 2007 UTC (16 years, 3 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.36.4.4: +12 -13 lines
Diff to previous 1.36.4.4 (colored) to branchpoint 1.36 (colored) next main 1.37 (colored) to selected 1.139.6.1 (colored)

Sync with HEAD.

Revision 1.36.4.4 / (download) - annotate - [select for diffs], Tue Nov 27 19:37:56 2007 UTC (16 years, 4 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.36.4.3: +5 -6 lines
Diff to previous 1.36.4.3 (colored) to branchpoint 1.36 (colored) to selected 1.139.6.1 (colored)

Sync with HEAD. amd64 Xen support needs testing.

Revision 1.42 / (download) - annotate - [select for diffs], Tue Nov 27 18:10:42 2007 UTC (16 years, 4 months ago) by reinoud
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.41: +12 -13 lines
Diff to previous 1.41 (colored) to selected 1.139.6.1 (colored)

Pullup fixes from UDF RW support project. This commit fixes the
mmc_discinfo conceptional bug and also vastly improves VAT searching.

Revision 1.41 / (download) - annotate - [select for diffs], Mon Nov 26 19:01:56 2007 UTC (16 years, 4 months ago) by pooka
Branch: MAIN
Changes since 1.40: +5 -6 lines
Diff to previous 1.40 (colored) to selected 1.139.6.1 (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.2.7 / (download) - annotate - [select for diffs], Thu Nov 15 11:44:37 2007 UTC (16 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.10.2.6: +3 -2 lines
Diff to previous 1.10.2.6 (colored) to branchpoint 1.10 (colored) to selected 1.139.6.1 (colored)

sync with head.

Revision 1.39.2.1 / (download) - annotate - [select for diffs], Tue Nov 13 16:01:51 2007 UTC (16 years, 4 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.39: +3 -2 lines
Diff to previous 1.39 (colored) next main 1.40 (colored) to selected 1.139.6.1 (colored)

Sync with HEAD

Revision 1.36.6.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:31:23 2007 UTC (16 years, 4 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.36: +33 -32 lines
Diff to previous 1.36 (colored) to selected 1.139.6.1 (colored)

sync with HEAD

Revision 1.23.2.5 / (download) - annotate - [select for diffs], Sun Nov 4 01:19:50 2007 UTC (16 years, 4 months ago) by xtraeme
Branch: netbsd-4
CVS Tags: wrstuden-fixsa-base-1, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-1-RELEASE, netbsd-4-0, matt-nb4-arm-base, matt-nb4-arm
Changes since 1.23.2.4: +1 -0 lines
Diff to previous 1.23.2.4 (colored) to branchpoint 1.23 (colored) to selected 1.139.6.1 (colored)

Pull up following revision(s) (requested by reinoud in ticket #966):
	sys/fs/udf/udf_subr.c: revision 1.40

Fix panic when the VAT couldn't be found. It would refer an stale
udf_node->vnode.

Revision 1.36.4.3 / (download) - annotate - [select for diffs], Wed Oct 31 23:14:09 2007 UTC (16 years, 5 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.36.4.2: +3 -2 lines
Diff to previous 1.36.4.2 (colored) to branchpoint 1.36 (colored) to selected 1.139.6.1 (colored)

Sync with HEAD.

Revision 1.40 / (download) - annotate - [select for diffs], Wed Oct 31 15:42:13 2007 UTC (16 years, 5 months ago) by reinoud
Branch: MAIN
CVS Tags: jmcneill-base, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: mjf-devfs
Changes since 1.39: +3 -2 lines
Diff to previous 1.39 (colored) to selected 1.139.6.1 (colored)

Fix panic when the VAT couldn't be found. It would refer an stale
udf_node->vnode.

Revision 1.10.2.6 / (download) - annotate - [select for diffs], Sat Oct 27 11:35:16 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.10.2.5: +32 -32 lines
Diff to previous 1.10.2.5 (colored) to branchpoint 1.10 (colored) to selected 1.139.6.1 (colored)

sync with head.

Revision 1.36.4.2 / (download) - annotate - [select for diffs], Fri Oct 26 15:48:24 2007 UTC (16 years, 5 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.36.4.1: +21 -24 lines
Diff to previous 1.36.4.1 (colored) to branchpoint 1.36 (colored) to selected 1.139.6.1 (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.36.8.2 / (download) - annotate - [select for diffs], Sun Oct 14 11:48:35 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.36.8.1: +21 -24 lines
Diff to previous 1.36.8.1 (colored) to branchpoint 1.36 (colored) next main 1.37 (colored) to selected 1.139.6.1 (colored)

sync with head.

Revision 1.39 / (download) - annotate - [select for diffs], Wed Oct 10 20:42:25 2007 UTC (16 years, 5 months ago) by ad
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, vmlocking-base
Branch point for: bouyer-xenamd64
Changes since 1.38: +17 -18 lines
Diff to previous 1.38 (colored) to selected 1.139.6.1 (colored)

Merge from vmlocking:

- Split vnode::v_flag into three fields, depending on field locking.
- simple_lock -> kmutex in a few places.
- Fix some simple locking problems.

Revision 1.32.4.8 / (download) - annotate - [select for diffs], Tue Oct 9 15:22:17 2007 UTC (16 years, 5 months ago) by ad
Branch: vmlocking
Changes since 1.32.4.7: +11 -8 lines
Diff to previous 1.32.4.7 (colored) to branchpoint 1.32 (colored) next main 1.33 (colored) to selected 1.139.6.1 (colored)

Sync with head.

Revision 1.38 / (download) - annotate - [select for diffs], Mon Oct 8 18:04:05 2007 UTC (16 years, 5 months ago) by ad
Branch: MAIN
Changes since 1.37: +6 -8 lines
Diff to previous 1.37 (colored) to selected 1.139.6.1 (colored)

Merge brelse() changes from the vmlocking branch.

Revision 1.36.8.1 / (download) - annotate - [select for diffs], Sat Oct 6 15:29:51 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.36: +13 -10 lines
Diff to previous 1.36 (colored) to selected 1.139.6.1 (colored)

sync with head.

Revision 1.36.4.1 / (download) - annotate - [select for diffs], Tue Oct 2 18:28:56 2007 UTC (16 years, 6 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.36: +13 -10 lines
Diff to previous 1.36 (colored) to selected 1.139.6.1 (colored)

Sync with HEAD.

Revision 1.37 / (download) - annotate - [select for diffs], Mon Sep 24 00:42:15 2007 UTC (16 years, 6 months ago) by rumble
Branch: MAIN
CVS Tags: yamt-x86pmap-base2
Changes since 1.36: +13 -10 lines
Diff to previous 1.36 (colored) to selected 1.139.6.1 (colored)

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

Revision 1.10.2.5 / (download) - annotate - [select for diffs], Mon Sep 3 14:40:36 2007 UTC (16 years, 6 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.10.2.4: +43 -17 lines
Diff to previous 1.10.2.4 (colored) to branchpoint 1.10 (colored) to selected 1.139.6.1 (colored)

sync with head.

Revision 1.32.4.7 / (download) - annotate - [select for diffs], Fri Aug 24 23:28:39 2007 UTC (16 years, 7 months ago) by ad
Branch: vmlocking
Changes since 1.32.4.6: +23 -22 lines
Diff to previous 1.32.4.6 (colored) to branchpoint 1.32 (colored) to selected 1.139.6.1 (colored)

Sync with buffer cache locking changes. See buf.h/vfs_bio.c for details.
Some minor portions are incomplete and needs to be verified as a whole.

Revision 1.32.4.6 / (download) - annotate - [select for diffs], Mon Aug 20 21:26:12 2007 UTC (16 years, 7 months ago) by ad
Branch: vmlocking
Changes since 1.32.4.5: +3 -3 lines
Diff to previous 1.32.4.5 (colored) to branchpoint 1.32 (colored) to selected 1.139.6.1 (colored)

Sync with HEAD.

Revision 1.32.4.5 / (download) - annotate - [select for diffs], Sun Aug 19 19:24:52 2007 UTC (16 years, 7 months ago) by ad
Branch: vmlocking
Changes since 1.32.4.4: +10 -5 lines
Diff to previous 1.32.4.4 (colored) to branchpoint 1.32 (colored) to selected 1.139.6.1 (colored)

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

Revision 1.34.2.1 / (download) - annotate - [select for diffs], Wed Aug 15 13:49:03 2007 UTC (16 years, 7 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.34: +3 -6 lines
Diff to previous 1.34 (colored) next main 1.35 (colored) to selected 1.139.6.1 (colored)

Sync with HEAD.

Revision 1.36.10.2 / (download) - annotate - [select for diffs], Sun Jul 29 13:31:12 2007 UTC (16 years, 8 months ago) by ad
Branch: matt-mips64
Changes since 1.36.10.1: +2997 -0 lines
Diff to previous 1.36.10.1 (colored) to branchpoint 1.36 (colored) next main 1.37 (colored) to selected 1.139.6.1 (colored)

It's not a good idea for device drivers to modify b_flags, as they don't
need to understand the locking around that field. Instead of setting
B_ERROR, set b_error instead. b_error is 'owned' by whoever completes
the I/O request.

Revision 1.36.10.1, Sun Jul 29 13:31:11 2007 UTC (16 years, 8 months ago) by ad
Branch: matt-mips64
Changes since 1.36: +0 -2997 lines
FILE REMOVED

file udf_subr.c was added on branch matt-mips64 on 2007-07-29 13:31:12 +0000

Revision 1.36 / (download) - annotate - [select for diffs], Sun Jul 29 13:31:11 2007 UTC (16 years, 8 months ago) by ad
Branch: MAIN
CVS Tags: yamt-x86pmap-base, nick-csl-alignment-base5, matt-mips64-base, hpcarm-cleanup
Branch point for: yamt-x86pmap, matt-mips64, matt-armv6, jmcneill-pm
Changes since 1.35: +2 -5 lines
Diff to previous 1.35 (colored) to selected 1.139.6.1 (colored)

It's not a good idea for device drivers to modify b_flags, as they don't
need to understand the locking around that field. Instead of setting
B_ERROR, set b_error instead. b_error is 'owned' by whoever completes
the I/O request.

Revision 1.35 / (download) - annotate - [select for diffs], Mon Jul 23 11:27:46 2007 UTC (16 years, 8 months ago) by pooka
Branch: MAIN
Changes since 1.34: +3 -3 lines
Diff to previous 1.34 (colored) to selected 1.139.6.1 (colored)

Initialize size and/or writesize when creating a vnode.

Revision 1.32.6.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:09:35 2007 UTC (16 years, 8 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.32: +42 -13 lines
Diff to previous 1.32 (colored) next main 1.33 (colored) to selected 1.139.6.1 (colored)

Sync with head.

Revision 1.32.4.4 / (download) - annotate - [select for diffs], Sun Jun 17 21:31:15 2007 UTC (16 years, 9 months ago) by ad
Branch: vmlocking
Changes since 1.32.4.3: +10 -7 lines
Diff to previous 1.32.4.3 (colored) to branchpoint 1.32 (colored) to selected 1.139.6.1 (colored)

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

Revision 1.32.4.3 / (download) - annotate - [select for diffs], Sat Jun 9 23:58:03 2007 UTC (16 years, 9 months ago) by ad
Branch: vmlocking
Changes since 1.32.4.2: +9 -19 lines
Diff to previous 1.32.4.2 (colored) to branchpoint 1.32 (colored) to selected 1.139.6.1 (colored)

Sync with head.

Revision 1.32.4.2 / (download) - annotate - [select for diffs], Fri Jun 8 14:15:02 2007 UTC (16 years, 9 months ago) by ad
Branch: vmlocking
Changes since 1.32.4.1: +42 -13 lines
Diff to previous 1.32.4.1 (colored) to branchpoint 1.32 (colored) to selected 1.139.6.1 (colored)

Sync with head.

Revision 1.31.2.3 / (download) - annotate - [select for diffs], Mon May 7 10:55:43 2007 UTC (16 years, 10 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.31.2.2: +3 -3 lines
Diff to previous 1.31.2.2 (colored) to branchpoint 1.31 (colored) next main 1.32 (colored) to selected 1.139.6.1 (colored)

sync with head.

Revision 1.34 / (download) - annotate - [select for diffs], Sun Apr 29 20:23:36 2007 UTC (16 years, 11 months ago) by msaitoh
Branch: MAIN
CVS Tags: yamt-idlelwp-base8, nick-csl-alignment-base, mjf-ufs-trans-base
Branch point for: nick-csl-alignment
Changes since 1.33: +3 -3 lines
Diff to previous 1.33 (colored) to selected 1.139.6.1 (colored)

fix typos

Revision 1.31.2.2 / (download) - annotate - [select for diffs], Sun Apr 15 16:03:47 2007 UTC (16 years, 11 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.31.2.1: +41 -12 lines
Diff to previous 1.31.2.1 (colored) to branchpoint 1.31 (colored) to selected 1.139.6.1 (colored)

sync with head.

Revision 1.23.2.4 / (download) - annotate - [select for diffs], Thu Apr 12 19:37:36 2007 UTC (16 years, 11 months ago) by bouyer
Branch: netbsd-4
CVS Tags: netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1
Branch point for: wrstuden-fixsa
Changes since 1.23.2.3: +39 -10 lines
Diff to previous 1.23.2.3 (colored) to branchpoint 1.23 (colored) to selected 1.139.6.1 (colored)

Pull up following revision(s) (requested by reinoud in ticket #567):
	sys/fs/udf/udf_subr.c: revision 1.33
Some rogue implementations use random physical partion numbers just to
break other implementations so lookup the physical number instead of
indexing it. Choosing random numbers here is legal according to the specs,
but not a logical choice and most likely done as a wierd kind of copy
protection.
Rogue implementation found to use this
	*Microsoft CDIMAGE UDF

Revision 1.33 / (download) - annotate - [select for diffs], Thu Apr 12 01:56:36 2007 UTC (16 years, 11 months ago) by reinoud
Branch: MAIN
CVS Tags: thorpej-atomic-base, thorpej-atomic
Changes since 1.32: +41 -12 lines
Diff to previous 1.32 (colored) to selected 1.139.6.1 (colored)

Some rogue implementations use random physical partion numbers just to
break other implementations so lookup the physical number instead of
indexing it. Choosing random numbers here is legal according to the specs,
but not a logical choice and most likely done as a wierd kind of copy
protection.

Rogue implementation found to use this
	*Microsoft CDIMAGE UDF

Revision 1.32.4.1 / (download) - annotate - [select for diffs], Thu Apr 5 21:57:49 2007 UTC (16 years, 11 months ago) by ad
Branch: vmlocking
Changes since 1.32: +18 -18 lines
Diff to previous 1.32 (colored) to selected 1.139.6.1 (colored)

Compile fixes.

Revision 1.31.2.1 / (download) - annotate - [select for diffs], Tue Feb 27 16:54:15 2007 UTC (17 years, 1 month ago) by yamt
Branch: yamt-idlelwp
Changes since 1.31: +5 -2 lines
Diff to previous 1.31 (colored) to selected 1.139.6.1 (colored)

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

Revision 1.10.2.4 / (download) - annotate - [select for diffs], Mon Feb 26 09:11:01 2007 UTC (17 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.10.2.3: +174 -72 lines
Diff to previous 1.10.2.3 (colored) to branchpoint 1.10 (colored) to selected 1.139.6.1 (colored)

sync with head.

Revision 1.32 / (download) - annotate - [select for diffs], Tue Feb 20 16:21:04 2007 UTC (17 years, 1 month ago) by ad
Branch: MAIN
CVS Tags: reinoud-bufcleanup, ad-audiomp-base, ad-audiomp
Branch point for: vmlocking, mjf-ufs-trans
Changes since 1.31: +5 -2 lines
Diff to previous 1.31 (colored) to selected 1.139.6.1 (colored)

Call genfs_node_destroy() where appropriate.

Revision 1.15.2.3 / (download) - annotate - [select for diffs], Thu Feb 1 08:48:35 2007 UTC (17 years, 2 months ago) by ad
Branch: newlock2
Changes since 1.15.2.2: +25 -61 lines
Diff to previous 1.15.2.2 (colored) to branchpoint 1.15 (colored) next main 1.16 (colored) to selected 1.139.6.1 (colored)

Sync with head.

Revision 1.23.2.3 / (download) - annotate - [select for diffs], Sun Jan 21 16:39:59 2007 UTC (17 years, 2 months ago) by bouyer
Branch: netbsd-4
Changes since 1.23.2.2: +25 -61 lines
Diff to previous 1.23.2.2 (colored) to branchpoint 1.23 (colored) to selected 1.139.6.1 (colored)

Pull up following revision(s) (requested by reinoud in ticket #376):
	sys/fs/udf/udf_subr.c: revisions 1.30 - 1.31
	sys/fs/udf/udf_subr.c: revision 1.31
Use the generic clock_ymdhms_to_secs() instead of home-brewn version to
translate UDF timestamps to timespec.
Fix important directory lookup bug that could result in an endless loop. It
fixes the case where a directory lookup is done in a directory has never
been visted/listed; the search optimalisation that searches the directory
from where it left behind the last time would never reach the initial
offset of zero since it would always have at least processed one entry.

Revision 1.31 / (download) - annotate - [select for diffs], Wed Jan 17 13:02:44 2007 UTC (17 years, 2 months ago) by reinoud
Branch: MAIN
CVS Tags: post-newlock2-merge, newlock2-nbase, newlock2-base
Branch point for: yamt-idlelwp
Changes since 1.30: +12 -3 lines
Diff to previous 1.30 (colored) to selected 1.139.6.1 (colored)

Fix important directory lookup bug that could result in an endless loop. It
fixes the case where a directory lookup is done in a directory has never
been visted/listed; the search optimalisation that searches the directory
from where it left behind the last time would never reach the initial
offset of zero since it would always have at least processed one entry.

Revision 1.30 / (download) - annotate - [select for diffs], Wed Jan 17 12:49:01 2007 UTC (17 years, 2 months ago) by reinoud
Branch: MAIN
Changes since 1.29: +15 -60 lines
Diff to previous 1.29 (colored) to selected 1.139.6.1 (colored)

Use the generic clock_ymdhms_to_secs() instead of home-brewn version to
translate UDF timestamps to timespec.

Revision 1.15.2.2 / (download) - annotate - [select for diffs], Fri Jan 12 01:04:05 2007 UTC (17 years, 2 months ago) by ad
Branch: newlock2
Changes since 1.15.2.1: +152 -17 lines
Diff to previous 1.15.2.1 (colored) to branchpoint 1.15 (colored) to selected 1.139.6.1 (colored)

Sync with head.

Revision 1.23.2.2 / (download) - annotate - [select for diffs], Thu Jan 4 19:55:50 2007 UTC (17 years, 2 months ago) by bouyer
Branch: netbsd-4
Changes since 1.23.2.1: +7 -4 lines
Diff to previous 1.23.2.1 (colored) to branchpoint 1.23 (colored) to selected 1.139.6.1 (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.23.2.1 / (download) - annotate - [select for diffs], Thu Jan 4 19:51:47 2007 UTC (17 years, 2 months ago) by bouyer
Branch: netbsd-4
Changes since 1.23: +145 -13 lines
Diff to previous 1.23 (colored) to selected 1.139.6.1 (colored)

Pull up following revision(s) (requested by reinoud in ticket #332):
	sys/fs/udf/udf_subr.c: revision 1.26
	sys/fs/udf/udf.h: revision 1.9
	sys/fs/udf/udf_vfsops.c: revision 1.19
Implement read-only access to UDF 2.50 and UDF 2.60 discs that use metadata
partition mappings. This brings the NetBSD implementation to read all discs
upto date and will read all discs currently defined by OSTA.

Revision 1.29 / (download) - annotate - [select for diffs], Thu Jan 4 04:18:00 2007 UTC (17 years, 2 months ago) by reinoud
Branch: MAIN
Changes since 1.28: +3 -2 lines
Diff to previous 1.28 (colored) to selected 1.139.6.1 (colored)

Forgot one place for UDF_ICB_FILETYPE_RANDOMACCESS.

Revision 1.28 / (download) - annotate - [select for diffs], Thu Jan 4 04:15:43 2007 UTC (17 years, 2 months ago) by reinoud
Branch: MAIN
Changes since 1.27: +4 -2 lines
Diff to previous 1.27 (colored) to selected 1.139.6.1 (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.27 / (download) - annotate - [select for diffs], Thu Jan 4 02:42:19 2007 UTC (17 years, 2 months ago) by reinoud
Branch: MAIN
Changes since 1.26: +4 -4 lines
Diff to previous 1.26 (colored) to selected 1.139.6.1 (colored)

Fix compilation issue when specifying different flags or compiling with a
different compiler. Thanks to Jared for noting.

Revision 1.26 / (download) - annotate - [select for diffs], Thu Jan 4 02:02:40 2007 UTC (17 years, 2 months ago) by reinoud
Branch: MAIN
Changes since 1.25: +145 -13 lines
Diff to previous 1.25 (colored) to selected 1.139.6.1 (colored)

Implement read-only access to UDF 2.50 and UDF 2.60 discs that use metadata
partition mappings. This brings the NetBSD implementation to read all discs
upto date and will read all discs currently defined by OSTA.

Revision 1.10.2.3 / (download) - annotate - [select for diffs], Sat Dec 30 20:50:01 2006 UTC (17 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.10.2.2: +58 -37 lines
Diff to previous 1.10.2.2 (colored) to branchpoint 1.10 (colored) to selected 1.139.6.1 (colored)

sync with head.

Revision 1.25 / (download) - annotate - [select for diffs], Mon Dec 25 18:39:48 2006 UTC (17 years, 3 months ago) by wiz
Branch: MAIN
Changes since 1.24: +4 -4 lines
Diff to previous 1.24 (colored) to selected 1.139.6.1 (colored)

Spell "separate" correctly. From Zafer Aydogan.

Revision 1.24 / (download) - annotate - [select for diffs], Mon Dec 25 18:36:05 2006 UTC (17 years, 3 months ago) by wiz
Branch: MAIN
Changes since 1.23: +4 -4 lines
Diff to previous 1.23 (colored) to selected 1.139.6.1 (colored)

Spell "schedule" correctly. From Zafer Aydogan.

Revision 1.15.6.2 / (download) - annotate - [select for diffs], Sun Dec 10 07:18:43 2006 UTC (17 years, 3 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.15.6.1: +9 -9 lines
Diff to previous 1.15.6.1 (colored) to branchpoint 1.15 (colored) next main 1.16 (colored) to selected 1.139.6.1 (colored)

sync with head.

Revision 1.15.2.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:39:21 2006 UTC (17 years, 4 months ago) by ad
Branch: newlock2
Changes since 1.15: +37 -20 lines
Diff to previous 1.15 (colored) to selected 1.139.6.1 (colored)

Sync with head.

Revision 1.23 / (download) - annotate - [select for diffs], Thu Nov 16 01:33:37 2006 UTC (17 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, netbsd-4-base
Branch point for: netbsd-4
Changes since 1.22: +9 -9 lines
Diff to previous 1.22 (colored) to selected 1.139.6.1 (colored)

__unused removal on arguments; approved by core.

Revision 1.15.6.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:07:09 2006 UTC (17 years, 5 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.15: +41 -24 lines
Diff to previous 1.15 (colored) to selected 1.139.6.1 (colored)

sync with head

Revision 1.22 / (download) - annotate - [select for diffs], Thu Oct 12 01:32:14 2006 UTC (17 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2
Changes since 1.21: +10 -9 lines
Diff to previous 1.21 (colored) to selected 1.139.6.1 (colored)

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

Revision 1.21 / (download) - annotate - [select for diffs], Wed Oct 4 13:03:17 2006 UTC (17 years, 5 months ago) by reinoud
Branch: MAIN
Changes since 1.20: +5 -5 lines
Diff to previous 1.20 (colored) to selected 1.139.6.1 (colored)

Fix panic on unmounting VAT file systems. The VAT table was allocated and
freed on the wrong malloc type.

Revision 1.20 / (download) - annotate - [select for diffs], Tue Oct 3 15:54:03 2006 UTC (17 years, 5 months ago) by reinoud
Branch: MAIN
Changes since 1.19: +8 -4 lines
Diff to previous 1.19 (colored) to selected 1.139.6.1 (colored)

Fix memory leaks on mounting and dismounting UDF volumes.

Revision 1.19 / (download) - annotate - [select for diffs], Thu Sep 28 19:57:26 2006 UTC (17 years, 6 months ago) by reinoud
Branch: MAIN
Changes since 1.18: +11 -12 lines
Diff to previous 1.18 (colored) to selected 1.139.6.1 (colored)

Fix lookup bug that could result in not finding the last entry. The check
for the cycling was too early. Also fix potential endless loop when the
last entry was deleted.

Revision 1.11.2.6 / (download) - annotate - [select for diffs], Mon Sep 25 02:38:48 2006 UTC (17 years, 6 months ago) by riz
Branch: abandoned-netbsd-4
Changes since 1.11.2.5: +14 -4 lines
Diff to previous 1.11.2.5 (colored) to branchpoint 1.11 (colored) next main 1.12 (colored) to selected 1.139.6.1 (colored)

Pull up following revision(s) (requested by reinoud in ticket #185):
	sys/fs/udf/udf_subr.c: revision 1.18
	sys/fs/udf/udf.h: revision 1.7
Make VOP_LOOKUP's O(1) instead of O(n log(n)) giving a speedup of 7500% on
a 1400 file directory.

Revision 1.11.2.5 / (download) - annotate - [select for diffs], Mon Sep 25 00:13:53 2006 UTC (17 years, 6 months ago) by riz
Branch: abandoned-netbsd-4
Changes since 1.11.2.4: +4 -3 lines
Diff to previous 1.11.2.4 (colored) to branchpoint 1.11 (colored) to selected 1.139.6.1 (colored)

Pull up following revision(s) (requested by reinoud in ticket #184):
	sys/fs/udf/udf_subr.c: revision 1.17
Fix serious file-corruption issue on sparable partitions.

Revision 1.11.2.4 / (download) - annotate - [select for diffs], Mon Sep 25 00:00:40 2006 UTC (17 years, 6 months ago) by riz
Branch: abandoned-netbsd-4
Changes since 1.11.2.3: +3 -1 lines
Diff to previous 1.11.2.3 (colored) to branchpoint 1.11 (colored) to selected 1.139.6.1 (colored)

Pull up following revision(s) (requested by reinoud in ticket #181):
	sys/fs/udf/udf_subr.c: revision 1.16
Fix panic when the sparable table didn't read in correctly.

Revision 1.18 / (download) - annotate - [select for diffs], Tue Sep 19 23:59:16 2006 UTC (17 years, 6 months ago) by reinoud
Branch: MAIN
Changes since 1.17: +14 -4 lines
Diff to previous 1.17 (colored) to selected 1.139.6.1 (colored)

Make VOP_LOOKUP's O(1) instead of O(n log(n)) giving a speedup of 7500% on
a 1400 file directory.

Revision 1.17 / (download) - annotate - [select for diffs], Tue Sep 19 22:00:38 2006 UTC (17 years, 6 months ago) by reinoud
Branch: MAIN
Changes since 1.16: +4 -3 lines
Diff to previous 1.16 (colored) to selected 1.139.6.1 (colored)

Fix serious file-corruption issue on sparable partitions.

Revision 1.16 / (download) - annotate - [select for diffs], Tue Sep 19 15:34:23 2006 UTC (17 years, 6 months ago) by reinoud
Branch: MAIN
Changes since 1.15: +5 -3 lines
Diff to previous 1.15 (colored) to selected 1.139.6.1 (colored)

Fix panic when the sparable table didn't read in correctly.

Revision 1.5.2.5 / (download) - annotate - [select for diffs], Thu Sep 14 12:31:48 2006 UTC (17 years, 6 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.5.2.4: +3 -3 lines
Diff to previous 1.5.2.4 (colored) to branchpoint 1.5 (colored) next main 1.6 (colored) to selected 1.139.6.1 (colored)

sync with head.

Revision 1.15.4.2 / (download) - annotate - [select for diffs], Sat Sep 9 02:57:06 2006 UTC (17 years, 6 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.15.4.1: +2852 -0 lines
Diff to previous 1.15.4.1 (colored) to branchpoint 1.15 (colored) next main 1.16 (colored) to selected 1.139.6.1 (colored)

sync with head

Revision 1.11.2.3 / (download) - annotate - [select for diffs], Fri Sep 8 18:50:37 2006 UTC (17 years, 6 months ago) by rpaulo
Branch: abandoned-netbsd-4
Changes since 1.11.2.2: +1 -1 lines
Diff to previous 1.11.2.2 (colored) to branchpoint 1.11 (colored) to selected 1.139.6.1 (colored)

Pull up following revision(s) (requested by reinoud in ticket #125):
	sys/fs/udf/udf_subr.c: revision 1.15
	sys/fs/udf/udf_vfsops.c: revision 1.13
	sys/fs/udf/ecma167-udf.h: revision 1.4
Add shortcut for struct long_ad 's Unique ID hint that covers the lower 32
bits of the targeted files 64 bits Unique ID for recovery purposes.
Fix locking scheme in udf_mount() to follow more the other filingsystems.
For yet unknown reasons passing the LOCKLEAF flag to namei() did return a
locked vnode as was meant but would panic when a raw device was passed.
Fix copying too much space from a small buffer. The chances of it actually
happening are small but corrupt media could trigger it.

Revision 1.15.4.1, Tue Sep 5 22:30:52 2006 UTC (17 years, 6 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.15: +0 -2852 lines
FILE REMOVED

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

Revision 1.15 / (download) - annotate - [select for diffs], Tue Sep 5 22:30:52 2006 UTC (17 years, 6 months ago) by reinoud
Branch: MAIN
CVS Tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, rpaulo-netinet-merge-pcb-base
Branch point for: yamt-splraiseipl, rpaulo-netinet-merge-pcb, newlock2
Changes since 1.14: +3 -3 lines
Diff to previous 1.14 (colored) to selected 1.139.6.1 (colored)

Fix copying too much space from a small buffer. The chances of it actually
happening are small but corrupt media could trigger it.

Revision 1.5.2.4 / (download) - annotate - [select for diffs], Sun Sep 3 15:25:13 2006 UTC (17 years, 6 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.5.2.3: +16 -12 lines
Diff to previous 1.5.2.3 (colored) to branchpoint 1.5 (colored) to selected 1.139.6.1 (colored)

sync with head.

Revision 1.11.2.2 / (download) - annotate - [select for diffs], Sun Aug 27 01:15:35 2006 UTC (17 years, 7 months ago) by riz
Branch: abandoned-netbsd-4
Changes since 1.11.2.1: +8 -7 lines
Diff to previous 1.11.2.1 (colored) to branchpoint 1.11 (colored) to selected 1.139.6.1 (colored)

Pull up following revision(s) (requested by reinoud in ticket #50):
	sys/fs/udf/udf_subr.c: revision 1.14
	sys/fs/udf/udf.h: revision 1.6
	sys/fs/udf/udf_vfsops.c: revision 1.11
Fix pool allocation/freeing problem for once and for all correctly. Since
it was initialised quite late due to its reliance on disc data the mount
process could have stopped before initialising and thus could panic again
only now for uninitialising an not initialised pool! *sigh*

Revision 1.11.2.1 / (download) - annotate - [select for diffs], Thu Aug 24 12:44:26 2006 UTC (17 years, 7 months ago) by tron
Branch: abandoned-netbsd-4
Changes since 1.11: +9 -6 lines
Diff to previous 1.11 (colored) to selected 1.139.6.1 (colored)

Pull up following revision(s) (requested by reinoud in ticket #46):
	sys/fs/udf/udf_subr.c: revision 1.13
	sys/fs/udf/udf.h: revision 1.5
Make a better guess on VAT locations so discs that are semi-standard
formatted can be recognised. This also fixes the bug that prevented UDF to
mount an empty CD-R/DVD*R disc.

Revision 1.14 / (download) - annotate - [select for diffs], Tue Aug 22 16:52:41 2006 UTC (17 years, 7 months ago) by reinoud
Branch: MAIN
CVS Tags: yamt-pdpolicy-base8
Changes since 1.13: +10 -9 lines
Diff to previous 1.13 (colored) to selected 1.139.6.1 (colored)

Fix pool allocation/freeing problem for once and for all correctly. Since
it was initialised quite late due to its reliance on disc data the mount
process could have stopped before initialising and thus could panic again
only now for uninitialising an not initialised pool! *sigh*

Revision 1.13 / (download) - annotate - [select for diffs], Mon Aug 21 23:52:19 2006 UTC (17 years, 7 months ago) by reinoud
Branch: MAIN
Changes since 1.12: +9 -6 lines
Diff to previous 1.12 (colored) to selected 1.139.6.1 (colored)

Make a better guess on VAT locations so discs that are semi-standard
formatted can be recognised. This also fixes the bug that prevented UDF to
mount an empty CD-R/DVD*R disc.

Revision 1.12 / (download) - annotate - [select for diffs], Fri Aug 11 23:15:30 2006 UTC (17 years, 7 months ago) by reinoud
Branch: MAIN
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored) to selected 1.139.6.1 (colored)

Fix comment; it stated a mimimum of 128 translations duh! a maximum it is!

Revision 1.5.2.3 / (download) - annotate - [select for diffs], Fri Aug 11 15:45:34 2006 UTC (17 years, 7 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.5.2.2: +4 -4 lines
Diff to previous 1.5.2.2 (colored) to branchpoint 1.5 (colored) to selected 1.139.6.1 (colored)

sync with head

Revision 1.9.2.1 / (download) - annotate - [select for diffs], Thu Jul 13 17:49:50 2006 UTC (17 years, 8 months ago) by gdamore
Branch: gdamore-uart
Changes since 1.9: +12 -7 lines
Diff to previous 1.9 (colored) next main 1.10 (colored) to selected 1.139.6.1 (colored)

Merge from HEAD.

Revision 1.11 / (download) - annotate - [select for diffs], Sun Jul 9 13:58:47 2006 UTC (17 years, 8 months ago) by reinoud
Branch: MAIN
CVS Tags: yamt-pdpolicy-base7, abandoned-netbsd-4-base
Branch point for: abandoned-netbsd-4
Changes since 1.10: +4 -4 lines
Diff to previous 1.10 (colored) to selected 1.139.6.1 (colored)

Fixing a bad case of walking/writing out of allocated space.... the
allocated space was 2048 bytes, but when adding 1024 to the variable
`unix_name' to split the allocated space in half it effectively starts just
OUTSIDE the allocated space. This ought to fix memory corruption bugs when
using UDF.

This is a routine to revisit one day.

Revision 1.5.2.2 / (download) - annotate - [select for diffs], Mon Jun 26 12:52:56 2006 UTC (17 years, 9 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.5.2.1: +150 -140 lines
Diff to previous 1.5.2.1 (colored) to branchpoint 1.5 (colored) to selected 1.139.6.1 (colored)

sync with head.

Revision 1.10.2.2 / (download) - annotate - [select for diffs], Wed Jun 21 15:09:36 2006 UTC (17 years, 9 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.10.2.1: +2848 -0 lines
Diff to previous 1.10.2.1 (colored) to branchpoint 1.10 (colored) to selected 1.139.6.1 (colored)

sync with head.

Revision 1.10.2.1, Tue Jun 20 03:22:12 2006 UTC (17 years, 9 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.10: +0 -2848 lines
FILE REMOVED

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

Revision 1.10 / (download) - annotate - [select for diffs], Tue Jun 20 03:22:12 2006 UTC (17 years, 9 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pdpolicy-base6
Branch point for: yamt-lazymbuf
Changes since 1.9: +10 -5 lines
Diff to previous 1.9 (colored) to selected 1.139.6.1 (colored)

Don't allocate too much stuff on the stack.

Revision 1.8.2.1 / (download) - annotate - [select for diffs], Mon Jun 19 04:07:15 2006 UTC (17 years, 9 months ago) by chap
Branch: chap-midi
Changes since 1.8: +142 -137 lines
Diff to previous 1.8 (colored) next main 1.9 (colored) to selected 1.139.6.1 (colored)

Sync with head.

Revision 1.9 / (download) - annotate - [select for diffs], Mon Jun 12 00:18:06 2006 UTC (17 years, 9 months ago) by christos
Branch: MAIN
CVS Tags: gdamore-uart-base, chap-midi-nbase, chap-midi-base
Branch point for: gdamore-uart
Changes since 1.8: +142 -137 lines
Diff to previous 1.8 (colored) to selected 1.139.6.1 (colored)

stack polics: Don't allocate 4K on the stack.
remove ; from };

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

Sync with head.

Revision 1.5.6.1 / (download) - annotate - [select for diffs], Wed May 24 15:50:40 2006 UTC (17 years, 10 months ago) by tron
Branch: peter-altq
Changes since 1.5: +5 -4 lines
Diff to previous 1.5 (colored) next main 1.6 (colored) to selected 1.139.6.1 (colored)

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

Revision 1.5.2.1 / (download) - annotate - [select for diffs], Wed May 24 10:58:40 2006 UTC (17 years, 10 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.5: +5 -4 lines
Diff to previous 1.5 (colored) to selected 1.139.6.1 (colored)

sync with head.

Revision 1.8 / (download) - annotate - [select for diffs], Mon May 15 00:05:16 2006 UTC (17 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pdpolicy-base5, simonb-timecounters-base
Branch point for: chap-midi
Changes since 1.7: +3 -2 lines
Diff to previous 1.7 (colored) to selected 1.139.6.1 (colored)

kauth fallout

Revision 1.7 / (download) - annotate - [select for diffs], Sun May 14 21:31:52 2006 UTC (17 years, 10 months ago) by elad
Branch: MAIN
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (colored) to selected 1.139.6.1 (colored)

integrate kauth.

Revision 1.5.4.2 / (download) - annotate - [select for diffs], Thu May 11 23:30:14 2006 UTC (17 years, 10 months ago) by elad
Branch: elad-kernelauth
Changes since 1.5.4.1: +3 -3 lines
Diff to previous 1.5.4.1 (colored) to branchpoint 1.5 (colored) next main 1.6 (colored) to selected 1.139.6.1 (colored)

sync with head

Revision 1.6 / (download) - annotate - [select for diffs], Tue Apr 25 02:19:31 2006 UTC (17 years, 11 months ago) by snj
Branch: MAIN
CVS Tags: elad-kernelauth-base
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored) to selected 1.139.6.1 (colored)

s/allready/already/

Revision 1.2.2.1 / (download) - annotate - [select for diffs], Sat Apr 22 11:39:58 2006 UTC (17 years, 11 months ago) by simonb
Branch: simonb-timecounters
Changes since 1.2: +10 -7 lines
Diff to previous 1.2 (colored) to selected 1.139.6.1 (colored)

Sync with head.

Revision 1.5.4.1 / (download) - annotate - [select for diffs], Wed Mar 8 01:31:33 2006 UTC (18 years ago) by elad
Branch: elad-kernelauth
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored) to selected 1.139.6.1 (colored)

Adapt to kernel authorization KPI.

Revision 1.5 / (download) - annotate - [select for diffs], Wed Mar 1 12:38:21 2006 UTC (18 years, 1 month ago) by yamt
Branch: MAIN
CVS Tags: yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, peter-altq-base
Branch point for: yamt-pdpolicy, peter-altq, elad-kernelauth
Changes since 1.4: +3 -3 lines
Diff to previous 1.4 (colored) to selected 1.139.6.1 (colored)

merge yamt-uio_vmspace branch.

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

Revision 1.4.2.3 / (download) - annotate - [select for diffs], Wed Mar 1 09:34:56 2006 UTC (18 years, 1 month ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.4.2.2: +3 -3 lines
Diff to previous 1.4.2.2 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored) to selected 1.139.6.1 (colored)

adapt udf.

Revision 1.4.2.2 / (download) - annotate - [select for diffs], Sat Feb 18 15:39:18 2006 UTC (18 years, 1 month ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.4.2.1: +2837 -0 lines
Diff to previous 1.4.2.1 (colored) to branchpoint 1.4 (colored) to selected 1.139.6.1 (colored)

sync with head.

Revision 1.4.2.1, Sat Feb 4 23:21:43 2006 UTC (18 years, 1 month ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.4: +0 -2837 lines
FILE REMOVED

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

Revision 1.4 / (download) - annotate - [select for diffs], Sat Feb 4 23:21:43 2006 UTC (18 years, 1 month ago) by reinoud
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5
Branch point for: yamt-uio_vmspace
Changes since 1.3: +3 -3 lines
Diff to previous 1.3 (colored) to selected 1.139.6.1 (colored)

VND and harddiscs have their own defect free space management.

Revision 1.3 / (download) - annotate - [select for diffs], Sat Feb 4 21:29:11 2006 UTC (18 years, 1 month ago) by reinoud
Branch: MAIN
Changes since 1.2: +8 -5 lines
Diff to previous 1.2 (colored) to selected 1.139.6.1 (colored)

Change a comment into a TODO and fix up case where we could return an
illegal allready-freed memory space.

Revision 1.2 / (download) - annotate - [select for diffs], Thu Feb 2 15:38:35 2006 UTC (18 years, 1 month ago) by reinoud
Branch: MAIN
Branch point for: simonb-timecounters
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored) to selected 1.139.6.1 (colored)

Fix $NetBSD$ tags. (sorry)

Revision 1.1 / (download) - annotate - [select for diffs], Thu Feb 2 15:19:16 2006 UTC (18 years, 1 month ago) by reinoud
Branch: MAIN
Diff to selected 1.139.6.1 (colored)

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>