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


Keyword substitution: kv
Default branch: MAIN


Revision 1.176: download - view: text, markup, annotated - select for diffs
Sat Feb 10 09:21:53 2024 UTC (10 months ago) by andvar
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, HEAD
Diff to: previous 1.175: preferred, colored
Changes since revision 1.175: +10 -10 lines
fix various typos in comments and log messages.

Revision 1.175: download - view: text, markup, annotated - select for diffs
Sun Feb 4 20:50:30 2024 UTC (10 months ago) by andvar
Branches: MAIN
Diff to: previous 1.174: preferred, colored
Changes since revision 1.174: +4 -4 lines
s/substract/subtract/ in comments.

Revision 1.174: download - view: text, markup, annotated - select for diffs
Sat Jun 3 20:41:45 2023 UTC (18 months, 1 week ago) by andvar
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation
Diff to: previous 1.173: preferred, colored
Changes since revision 1.173: +3 -3 lines
fix various typos in comments and messages.

Revision 1.173: download - view: text, markup, annotated - select for diffs
Mon Apr 3 18:03:24 2023 UTC (20 months, 1 week ago) by gutteridge
Branches: MAIN
Diff to: previous 1.172: preferred, colored
Changes since revision 1.172: +3 -3 lines
Fix typos: s/trough/through/

Revision 1.172: download - view: text, markup, annotated - select for diffs
Mon Oct 31 21:22:06 2022 UTC (2 years, 1 month ago) by andvar
Branches: 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
Diff to: previous 1.171: preferred, colored
Changes since revision 1.171: +3 -3 lines
fix various typos in comments and one output message.

Revision 1.171: download - view: text, markup, annotated - select for diffs
Sat May 28 21:14:57 2022 UTC (2 years, 6 months ago) by andvar
Branches: MAIN
CVS tags: bouyer-sunxi-drm-base, bouyer-sunxi-drm
Diff to: previous 1.170: preferred, colored
Changes since revision 1.170: +3 -3 lines
fix various typos in comments, mainly origional->original,
extened->extended, incomming->incoming.

Revision 1.170: download - view: text, markup, annotated - select for diffs
Sun May 15 20:37:51 2022 UTC (2 years, 6 months ago) by andvar
Branches: MAIN
Diff to: previous 1.169: preferred, colored
Changes since revision 1.169: +4 -4 lines
s/wich/which in comments.

Revision 1.146.2.3: download - view: text, markup, annotated - select for diffs
Sun Apr 24 16:39:00 2022 UTC (2 years, 7 months ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-4-RELEASE, netbsd-9-3-RELEASE
Diff to: previous 1.146.2.2: preferred, colored; branchpoint 1.146: preferred, colored; next MAIN 1.147: preferred, colored
Changes since revision 1.146.2.2: +4 -4 lines
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 - view: text, markup, annotated - select for diffs
Fri Apr 22 21:21:10 2022 UTC (2 years, 7 months ago) by reinoud
Branches: MAIN
Diff to: previous 1.168: preferred, colored
Changes since revision 1.168: +4 -4 lines
Fix endian issue with UDF extended attribute handling

Revision 1.168: download - view: text, markup, annotated - select for diffs
Sun Apr 10 09:50:46 2022 UTC (2 years, 8 months ago) by andvar
Branches: MAIN
Diff to: previous 1.167: preferred, colored
Changes since revision 1.167: +3 -3 lines
fix various typos in comments and output/log messages.

Revision 1.146.2.2: download - view: text, markup, annotated - select for diffs
Sun Mar 13 09:48:32 2022 UTC (2 years, 9 months ago) by martin
Branches: netbsd-9
Diff to: previous 1.146.2.1: preferred, colored; branchpoint 1.146: preferred, colored
Changes since revision 1.146.2.1: +31 -10 lines
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 - view: text, markup, annotated - select for diffs
Sun Mar 13 09:44:33 2022 UTC (2 years, 9 months ago) by martin
Branches: netbsd-9
Diff to: previous 1.146: preferred, colored
Changes since revision 1.146: +15 -5 lines
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 - view: text, markup, annotated - select for diffs
Tue Mar 8 18:30:43 2022 UTC (2 years, 9 months ago) by reinoud
Branches: MAIN
Diff to: previous 1.166: preferred, colored
Changes since revision 1.166: +15 -5 lines
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 - view: text, markup, annotated - select for diffs
Sun Feb 6 20:20:19 2022 UTC (2 years, 10 months ago) by andvar
Branches: MAIN
Diff to: previous 1.165: preferred, colored
Changes since revision 1.165: +3 -3 lines
fix various typos in comments, log messages and documentation.
mainly s/aparently/apparently/ and s/implmented/implemented/.

Revision 1.165: download - view: text, markup, annotated - select for diffs
Tue Jan 25 22:01:35 2022 UTC (2 years, 10 months ago) by andvar
Branches: MAIN
Diff to: previous 1.164: preferred, colored
Changes since revision 1.164: +3 -3 lines
fix various typos in comments.

Revision 1.164: download - view: text, markup, annotated - select for diffs
Mon Jan 24 09:42:14 2022 UTC (2 years, 10 months ago) by andvar
Branches: MAIN
Diff to: previous 1.163: preferred, colored
Changes since revision 1.163: +3 -3 lines
remove double "with" in comments and usage text. Also fix one typo.

Revision 1.163: download - view: text, markup, annotated - select for diffs
Sat Jan 1 08:34:35 2022 UTC (2 years, 11 months ago) by msaitoh
Branches: MAIN
Diff to: previous 1.162: preferred, colored
Changes since revision 1.162: +3 -3 lines
s/implemenation/implementation/ in comment.

Revision 1.162: download - view: text, markup, annotated - select for diffs
Thu Dec 16 22:24:10 2021 UTC (2 years, 11 months ago) by reinoud
Branches: MAIN
Diff to: previous 1.161: preferred, colored
Changes since revision 1.161: +3 -3 lines
Fix typo: reader -> header

Revision 1.161: download - view: text, markup, annotated - select for diffs
Thu Dec 16 22:19:08 2021 UTC (2 years, 11 months ago) by reinoud
Branches: MAIN
Diff to: previous 1.160: preferred, colored
Changes since revision 1.160: +30 -9 lines
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 - view: text, markup, annotated - select for diffs
Wed Dec 15 22:02:30 2021 UTC (2 years, 11 months ago) by reinoud
Branches: MAIN
Diff to: previous 1.159: preferred, colored
Changes since revision 1.159: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Sun Dec 5 04:21:31 2021 UTC (3 years ago) by msaitoh
Branches: MAIN
Diff to: previous 1.158: preferred, colored
Changes since revision 1.158: +3 -3 lines
s/alloction/allocation/

Revision 1.158: download - view: text, markup, annotated - select for diffs
Thu Sep 16 22:19:11 2021 UTC (3 years, 2 months ago) by andvar
Branches: MAIN
Diff to: previous 1.157: preferred, colored
Changes since revision 1.157: +3 -3 lines
fix typos in word "successful".

Revision 1.157: download - view: text, markup, annotated - select for diffs
Fri Sep 3 21:55:00 2021 UTC (3 years, 3 months ago) by andvar
Branches: MAIN
Diff to: previous 1.156: preferred, colored
Changes since revision 1.156: +4 -4 lines
fix typos in comments, mainly s/extention/extension/ and s/sufficent/sufficient/

Revision 1.156: download - view: text, markup, annotated - select for diffs
Sat Aug 21 09:59:46 2021 UTC (3 years, 3 months ago) by andvar
Branches: MAIN
Diff to: previous 1.155: preferred, colored
Changes since revision 1.155: +3 -3 lines
s/helt/held+s/eroneously/erroneously/+s/splitted/split/+s/recommented/recommended/

Revision 1.155: download - view: text, markup, annotated - select for diffs
Fri Aug 20 20:25:28 2021 UTC (3 years, 3 months ago) by andvar
Branches: MAIN
Diff to: previous 1.154: preferred, colored
Changes since revision 1.154: +3 -3 lines
fix various typos in comments and log messages.

Revision 1.153.2.1: download - view: text, markup, annotated - select for diffs
Sun Aug 1 22:42:37 2021 UTC (3 years, 4 months ago) by thorpej
Branches: thorpej-i2c-spi-conf
Diff to: previous 1.153: preferred, colored; next MAIN 1.154: preferred, colored
Changes since revision 1.153: +6 -6 lines
Sync with HEAD.

Revision 1.154: download - view: text, markup, annotated - select for diffs
Sat Jul 24 21:31:38 2021 UTC (3 years, 4 months ago) by andvar
Branches: 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
Diff to: previous 1.153: preferred, colored
Changes since revision 1.153: +6 -6 lines
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 - view: text, markup, annotated - select for diffs
Sat Apr 17 17:26:20 2021 UTC (3 years, 7 months ago) by thorpej
Branches: thorpej-cfargs
Diff to: previous 1.152: preferred, colored; next MAIN 1.153: preferred, colored
Changes since revision 1.152: +6 -5 lines
Sync with HEAD.

Revision 1.153: download - view: text, markup, annotated - select for diffs
Tue Apr 13 06:25:49 2021 UTC (3 years, 8 months ago) by mrg
Branches: 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
Diff to: previous 1.152: preferred, colored
Changes since revision 1.152: +6 -5 lines
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 - view: text, markup, annotated - select for diffs
Sat Apr 3 22:28:59 2021 UTC (3 years, 8 months ago) by thorpej
Branches: thorpej-futex
Diff to: previous 1.150: preferred, colored; next MAIN 1.151: preferred, colored
Changes since revision 1.150: +27 -27 lines
Sync with HEAD.

Revision 1.152: download - view: text, markup, annotated - select for diffs
Mon Jan 11 22:02:28 2021 UTC (3 years, 11 months ago) by skrll
Branches: MAIN
CVS tags: thorpej-futex-base
Branch point for: thorpej-cfargs
Diff to: previous 1.151: preferred, colored
Changes since revision 1.151: +26 -26 lines
Trailing whitespace

Revision 1.151: download - view: text, markup, annotated - select for diffs
Mon Jan 11 22:01:15 2021 UTC (3 years, 11 months ago) by skrll
Branches: MAIN
Diff to: previous 1.150: preferred, colored
Changes since revision 1.150: +3 -3 lines
Fix spelling of preferred in comments.  While here improve grammar in
one of the comments.

Revision 1.141.2.3: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:05:03 2020 UTC (4 years, 8 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.141.2.2: preferred, colored; branchpoint 1.141: preferred, colored; next MAIN 1.142: preferred, colored
Changes since revision 1.141.2.2: +1 -0 lines
Mostly merge changes from HEAD upto 20200411

Revision 1.141.2.2: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:08:50 2020 UTC (4 years, 8 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.141.2.1: preferred, colored; branchpoint 1.141: preferred, colored
Changes since revision 1.141.2.1: +16 -11 lines
Merge changes from current as of 20200406

Revision 1.150: download - view: text, markup, annotated - select for diffs
Mon Apr 6 14:31:06 2020 UTC (4 years, 8 months ago) by hannken
Branches: 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
Diff to: previous 1.149: preferred, colored
Changes since revision 1.149: +3 -3 lines
udf_get_node(): fix typo and honor "lktype" argument.

Revision 1.147.2.2: download - view: text, markup, annotated - select for diffs
Sat Feb 29 20:21:02 2020 UTC (4 years, 9 months ago) by ad
Branches: ad-namecache
Diff to: previous 1.147.2.1: preferred, colored; branchpoint 1.147: preferred, colored; next MAIN 1.148: preferred, colored
Changes since revision 1.147.2.1: +3 -3 lines
Sync with head.

Revision 1.149: download - view: text, markup, annotated - select for diffs
Thu Feb 27 22:12:54 2020 UTC (4 years, 9 months ago) by ad
Branches: MAIN
CVS tags: is-mlppp-base, is-mlppp, ad-namecache-base3
Diff to: previous 1.148: preferred, colored
Changes since revision 1.148: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Fri Jan 17 21:47:34 2020 UTC (4 years, 10 months ago) by ad
Branches: ad-namecache
Diff to: previous 1.147: preferred, colored
Changes since revision 1.147: +14 -9 lines
Sync with head.

Revision 1.148: download - view: text, markup, annotated - select for diffs
Fri Jan 17 20:08:08 2020 UTC (4 years, 10 months ago) by ad
Branches: MAIN
CVS tags: ad-namecache-base2, ad-namecache-base1
Diff to: previous 1.147: preferred, colored
Changes since revision 1.147: +14 -9 lines
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 - view: text, markup, annotated - select for diffs
Wed Sep 18 17:59:15 2019 UTC (5 years, 2 months ago) by christos
Branches: MAIN
CVS tags: phil-wifi-20191119, ad-namecache-base
Branch point for: ad-namecache
Diff to: previous 1.146: preferred, colored
Changes since revision 1.146: +3 -2 lines
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 - view: text, markup, annotated - select for diffs
Mon Jun 10 22:09:02 2019 UTC (5 years, 6 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.141: preferred, colored
Changes since revision 1.141: +54 -20 lines
Sync with HEAD

Revision 1.146: download - view: text, markup, annotated - select for diffs
Mon Jun 3 06:04:20 2019 UTC (5 years, 6 months ago) by msaitoh
Branches: 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
Diff to: previous 1.145: preferred, colored
Changes since revision 1.145: +3 -3 lines
 Fix typo in comment (s/seperate/separate/).

Revision 1.139.12.5: download - view: text, markup, annotated - select for diffs
Fri Jan 18 08:50:57 2019 UTC (5 years, 10 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.139.12.4: preferred, colored; branchpoint 1.139: preferred, colored; next MAIN 1.140: preferred, colored
Changes since revision 1.139.12.4: +4 -4 lines
Synch with HEAD

Revision 1.145: download - view: text, markup, annotated - select for diffs
Tue Jan 1 10:06:54 2019 UTC (5 years, 11 months ago) by hannken
Branches: MAIN
CVS tags: pgoyette-compat-20190127, pgoyette-compat-20190118, isaki-audio2-base, isaki-audio2
Diff to: previous 1.144: preferred, colored
Changes since revision 1.144: +4 -4 lines
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 - view: text, markup, annotated - select for diffs
Sat Oct 20 06:58:45 2018 UTC (6 years, 1 month ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.139.12.3: preferred, colored; branchpoint 1.139: preferred, colored
Changes since revision 1.139.12.3: +5 -6 lines
Sync with head

Revision 1.144: download - view: text, markup, annotated - select for diffs
Sun Oct 14 17:37:40 2018 UTC (6 years, 1 month ago) by jdolecek
Branches: MAIN
CVS tags: pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020
Diff to: previous 1.143: preferred, colored
Changes since revision 1.143: +5 -6 lines
remove M_CANFAIL flag for malloc(9) - it was completely ignored, so had
actually no effect

Revision 1.139.12.3: download - view: text, markup, annotated - select for diffs
Thu Sep 6 06:56:41 2018 UTC (6 years, 3 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.139.12.2: preferred, colored; branchpoint 1.139: preferred, colored
Changes since revision 1.139.12.2: +3 -3 lines
Sync with HEAD

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

Revision 1.143: download - view: text, markup, annotated - select for diffs
Thu Aug 9 20:30:26 2018 UTC (6 years, 4 months ago) by reinoud
Branches: MAIN
CVS tags: pgoyette-compat-0930, pgoyette-compat-0906
Diff to: previous 1.142: preferred, colored
Changes since revision 1.142: +3 -3 lines
Fix length calculation

Revision 1.139.12.2: download - view: text, markup, annotated - select for diffs
Sat Jul 28 04:38:08 2018 UTC (6 years, 4 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.139.12.1: preferred, colored; branchpoint 1.139: preferred, colored
Changes since revision 1.139.12.1: +47 -12 lines
Sync with HEAD

Revision 1.139.6.1: download - view: text, markup, annotated - select for diffs
Fri Jul 27 10:49:48 2018 UTC (6 years, 4 months ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1
Diff to: previous 1.139: preferred, colored; next MAIN 1.140: preferred, colored
Changes since revision 1.139: +47 -12 lines
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 - view: text, markup, annotated - select for diffs
Fri Jul 27 10:46:45 2018 UTC (6 years, 4 months ago) by martin
Branches: netbsd-7
CVS tags: netbsd-7-2-RELEASE
Diff to: previous 1.125.2.1: preferred, colored; branchpoint 1.125: preferred, colored; next MAIN 1.126: preferred, colored
Changes since revision 1.125.2.1: +47 -12 lines
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 - view: text, markup, annotated - select for diffs
Wed Jul 25 11:09:22 2018 UTC (6 years, 4 months ago) by reinoud
Branches: MAIN
CVS tags: pgoyette-compat-0728
Diff to: previous 1.141: preferred, colored
Changes since revision 1.141: +47 -12 lines
Enhance logical volume integrity descriptor handling and provide
bug-compatibility for Linux mkudffs 1.3 images.

Revision 1.139.12.1: download - view: text, markup, annotated - select for diffs
Mon Jun 25 07:26:04 2018 UTC (6 years, 5 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.139: preferred, colored
Changes since revision 1.139: +4 -3 lines
Sync with HEAD

Revision 1.141: download - view: text, markup, annotated - select for diffs
Wed Jun 6 01:49:09 2018 UTC (6 years, 6 months ago) by maya
Branches: MAIN
CVS tags: phil-wifi-base, pgoyette-compat-0625
Branch point for: phil-wifi
Diff to: previous 1.140: preferred, colored
Changes since revision 1.140: +3 -3 lines
Remove duplicate ;

Revision 1.140: download - view: text, markup, annotated - select for diffs
Mon May 28 21:04:38 2018 UTC (6 years, 6 months ago) by chs
Branches: MAIN
Diff to: previous 1.139: preferred, colored
Changes since revision 1.139: +3 -2 lines
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 - view: text, markup, annotated - select for diffs
Sun Dec 3 11:38:43 2017 UTC (7 years ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.119.2.1: preferred, colored; branchpoint 1.119: preferred, colored; next MAIN 1.120: preferred, colored
Changes since revision 1.119.2.1: +349 -344 lines
update from HEAD

Revision 1.127.2.7: download - view: text, markup, annotated - select for diffs
Mon Aug 28 17:53:06 2017 UTC (7 years, 3 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.127.2.6: preferred, colored; branchpoint 1.127: preferred, colored; next MAIN 1.128: preferred, colored
Changes since revision 1.127.2.6: +7 -3 lines
Sync with HEAD

Revision 1.138.2.1: download - view: text, markup, annotated - select for diffs
Wed Apr 26 02:53:26 2017 UTC (7 years, 7 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.138: preferred, colored; next MAIN 1.139: preferred, colored
Changes since revision 1.138: +7 -3 lines
Sync with HEAD

Revision 1.138.4.1: download - view: text, markup, annotated - select for diffs
Fri Apr 21 16:54:02 2017 UTC (7 years, 7 months ago) by bouyer
Branches: bouyer-socketcan
Diff to: previous 1.138: preferred, colored; next MAIN 1.139: preferred, colored
Changes since revision 1.138: +7 -3 lines
Sync with HEAD

Revision 1.139: download - view: text, markup, annotated - select for diffs
Sat Apr 1 19:35:56 2017 UTC (7 years, 8 months ago) by riastradh
Branches: 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
Diff to: previous 1.138: preferred, colored
Changes since revision 1.138: +7 -3 lines
KASSERT(mutex_owned(vp->v_interlock)) in vnode iterator selector.

Revision 1.127.2.6: download - view: text, markup, annotated - select for diffs
Sun May 29 08:44:37 2016 UTC (8 years, 6 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.127.2.5: preferred, colored; branchpoint 1.127: preferred, colored
Changes since revision 1.127.2.5: +93 -55 lines
Sync with HEAD

Revision 1.138: download - view: text, markup, annotated - select for diffs
Tue May 24 09:55:57 2016 UTC (8 years, 6 months ago) by reinoud
Branches: 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
Diff to: previous 1.137: preferred, colored
Changes since revision 1.137: +14 -22 lines
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 - view: text, markup, annotated - select for diffs
Tue May 10 15:23:39 2016 UTC (8 years, 7 months ago) by reinoud
Branches: MAIN
Diff to: previous 1.136: preferred, colored
Changes since revision 1.136: +84 -38 lines
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 - view: text, markup, annotated - select for diffs
Sat Mar 19 11:30:31 2016 UTC (8 years, 8 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.127.2.4: preferred, colored; branchpoint 1.127: preferred, colored
Changes since revision 1.127.2.4: +40 -27 lines
Sync with HEAD

Revision 1.136: download - view: text, markup, annotated - select for diffs
Wed Jan 27 00:06:49 2016 UTC (8 years, 10 months ago) by reinoud
Branches: MAIN
CVS tags: nick-nhusb-base-20160422, nick-nhusb-base-20160319
Diff to: previous 1.135: preferred, colored
Changes since revision 1.135: +40 -27 lines
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 - view: text, markup, annotated - select for diffs
Sun Dec 27 12:10:04 2015 UTC (8 years, 11 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.127.2.3: preferred, colored; branchpoint 1.127: preferred, colored
Changes since revision 1.127.2.3: +12 -7 lines
Sync with HEAD (as of 26th Dec)

Revision 1.135: download - view: text, markup, annotated - select for diffs
Sat Dec 19 03:16:09 2015 UTC (8 years, 11 months ago) by dholland
Branches: MAIN
CVS tags: nick-nhusb-base-20151226
Diff to: previous 1.134: preferred, colored
Changes since revision 1.134: +11 -6 lines
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 - view: text, markup, annotated - select for diffs
Sat Dec 19 01:51:42 2015 UTC (8 years, 11 months ago) by christos
Branches: MAIN
Diff to: previous 1.133: preferred, colored
Changes since revision 1.133: +3 -3 lines
add missing ,

Revision 1.133: download - view: text, markup, annotated - select for diffs
Sat Dec 19 01:18:00 2015 UTC (8 years, 11 months ago) by christos
Branches: MAIN
Diff to: previous 1.132: preferred, colored
Changes since revision 1.132: +3 -3 lines
PR/50571: David Binderman: src/sys/fs/udf/udf_subr.c:6465: obvious
performance tidyup

Revision 1.127.2.3: download - view: text, markup, annotated - select for diffs
Tue Sep 22 12:06:06 2015 UTC (9 years, 2 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.127.2.2: preferred, colored; branchpoint 1.127: preferred, colored
Changes since revision 1.127.2.2: +60 -83 lines
Sync with HEAD

Revision 1.132: download - view: text, markup, annotated - select for diffs
Mon Aug 24 08:31:56 2015 UTC (9 years, 3 months ago) by hannken
Branches: MAIN
CVS tags: nick-nhusb-base-20150921
Diff to: previous 1.131: preferred, colored
Changes since revision 1.131: +59 -81 lines
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 - view: text, markup, annotated - select for diffs
Mon Aug 24 08:30:17 2015 UTC (9 years, 3 months ago) by hannken
Branches: MAIN
Diff to: previous 1.130: preferred, colored
Changes since revision 1.130: +3 -4 lines
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 - view: text, markup, annotated - select for diffs
Sat Jun 6 14:40:21 2015 UTC (9 years, 6 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.127.2.1: preferred, colored; branchpoint 1.127: preferred, colored
Changes since revision 1.127.2.1: +34 -26 lines
Sync with HEAD

Revision 1.130: download - view: text, markup, annotated - select for diffs
Mon Apr 20 13:44:16 2015 UTC (9 years, 7 months ago) by riastradh
Branches: MAIN
CVS tags: nick-nhusb-base-20150606
Diff to: previous 1.129: preferred, colored
Changes since revision 1.129: +11 -3 lines
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 - view: text, markup, annotated - select for diffs
Mon Apr 6 15:18:19 2015 UTC (9 years, 8 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.127: preferred, colored
Changes since revision 1.127: +141 -187 lines
Sync with HEAD

Revision 1.129: download - view: text, markup, annotated - select for diffs
Mon Apr 6 08:39:23 2015 UTC (9 years, 8 months ago) by hannken
Branches: MAIN
CVS tags: nick-nhusb-base-20150406
Diff to: previous 1.128: preferred, colored
Changes since revision 1.128: +141 -188 lines
Change udf to vcache, keyed on udf_node->loc.loc.

Revision 1.125.2.1: download - view: text, markup, annotated - select for diffs
Mon Feb 16 21:25:35 2015 UTC (9 years, 9 months ago) by martin
Branches: 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
Diff to: previous 1.125: preferred, colored
Changes since revision 1.125: +4 -3 lines
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 - view: text, markup, annotated - select for diffs
Sat Feb 7 04:18:03 2015 UTC (9 years, 10 months ago) by christos
Branches: MAIN
Diff to: previous 1.127: preferred, colored
Changes since revision 1.127: +4 -3 lines
fix udf_node leak. Reported by:
http://www.m00nbsd.net/ae123a9bae03f7dde5c6d654412daf5a.html#Report-4

Revision 1.127: download - view: text, markup, annotated - select for diffs
Wed Sep 17 21:18:43 2014 UTC (10 years, 2 months ago) by reinoud
Branches: MAIN
CVS tags: nick-nhusb-base
Branch point for: nick-nhusb
Diff to: previous 1.126: preferred, colored
Changes since revision 1.126: +5 -4 lines
Fix bug introduced in last patch

Revision 1.126: download - view: text, markup, annotated - select for diffs
Wed Sep 17 19:47:05 2014 UTC (10 years, 2 months ago) by reinoud
Branches: MAIN
Diff to: previous 1.125: preferred, colored
Changes since revision 1.125: +8 -3 lines
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 - view: text, markup, annotated - select for diffs
Wed Aug 20 00:04:28 2014 UTC (10 years, 3 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.119: preferred, colored
Changes since revision 1.119: +30 -62 lines
Rebase to HEAD as of a few days ago.

Revision 1.124.2.1: download - view: text, markup, annotated - select for diffs
Sun Aug 10 06:55:54 2014 UTC (10 years, 4 months ago) by tls
Branches: tls-earlyentropy
Diff to: previous 1.124: preferred, colored; next MAIN 1.125: preferred, colored
Changes since revision 1.124: +4 -4 lines
Rebase.

Revision 1.125: download - view: text, markup, annotated - select for diffs
Tue Jul 29 15:36:43 2014 UTC (10 years, 4 months ago) by reinoud
Branches: MAIN
CVS tags: tls-maxphys-base, tls-earlyentropy-base, netbsd-7-base
Branch point for: netbsd-7
Diff to: previous 1.124: preferred, colored
Changes since revision 1.124: +4 -4 lines
Fix debug printout of udf_write_metadata_partition_spacetable(), it referred
to an old variable.

Revision 1.117.2.3: download - view: text, markup, annotated - select for diffs
Thu May 22 11:41:02 2014 UTC (10 years, 6 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.117.2.2: preferred, colored; branchpoint 1.117: preferred, colored; next MAIN 1.118: preferred, colored
Changes since revision 1.117.2.2: +28 -60 lines
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 - view: text, markup, annotated - select for diffs
Sun May 18 17:46:06 2014 UTC (10 years, 6 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.119.4.1: preferred, colored; branchpoint 1.119: preferred, colored; next MAIN 1.120: preferred, colored
Changes since revision 1.119.4.1: +22 -54 lines
sync with head

Revision 1.124: download - view: text, markup, annotated - select for diffs
Sun Mar 23 09:34:42 2014 UTC (10 years, 8 months ago) by christos
Branches: 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
Diff to: previous 1.123: preferred, colored
Changes since revision 1.123: +6 -2 lines
fix unused

Revision 1.123: download - view: text, markup, annotated - select for diffs
Thu Jan 23 10:13:56 2014 UTC (10 years, 10 months ago) by hannken
Branches: MAIN
CVS tags: riastradh-drm2-base3
Diff to: previous 1.122: preferred, colored
Changes since revision 1.122: +4 -12 lines
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 - view: text, markup, annotated - select for diffs
Thu Nov 21 23:42:09 2013 UTC (11 years ago) by riz
Branches: MAIN
Diff to: previous 1.121: preferred, colored
Changes since revision 1.121: +3 -4 lines
Don't create a variable just to assert() on it - assert on the
thing the variable got assigned.

Revision 1.121: download - view: text, markup, annotated - select for diffs
Fri Oct 18 19:56:55 2013 UTC (11 years, 1 month ago) by christos
Branches: MAIN
Diff to: previous 1.120: preferred, colored
Changes since revision 1.120: +15 -42 lines
fix unused variable warnings

Revision 1.119.4.1: download - view: text, markup, annotated - select for diffs
Wed Aug 28 23:59:35 2013 UTC (11 years, 3 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.119: preferred, colored
Changes since revision 1.119: +8 -8 lines
sync with head

Revision 1.120: download - view: text, markup, annotated - select for diffs
Sun Jul 7 19:49:44 2013 UTC (11 years, 5 months ago) by reinoud
Branches: MAIN
CVS tags: riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2
Diff to: previous 1.119: preferred, colored
Changes since revision 1.119: +8 -8 lines
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 - view: text, markup, annotated - select for diffs
Sat Jun 2 11:09:32 2012 UTC (12 years, 6 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.118: preferred, colored; next MAIN 1.119: preferred, colored
Changes since revision 1.118: +5 -7 lines
sync to latest -current.

Revision 1.117.2.2: download - view: text, markup, annotated - select for diffs
Wed May 23 10:08:10 2012 UTC (12 years, 6 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.117.2.1: preferred, colored; branchpoint 1.117: preferred, colored
Changes since revision 1.117.2.1: +5 -7 lines
sync with head.

Revision 1.118.6.1: download - view: text, markup, annotated - select for diffs
Mon May 7 03:01:14 2012 UTC (12 years, 7 months ago) by riz
Branches: 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
Diff to: previous 1.118: preferred, colored; next MAIN 1.119: preferred, colored
Changes since revision 1.118: +5 -7 lines
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 - view: text, markup, annotated - select for diffs
Sun Apr 29 22:53:59 2012 UTC (12 years, 7 months ago) by chs
Branches: 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
Diff to: previous 1.118: preferred, colored
Changes since revision 1.118: +5 -7 lines
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 - view: text, markup, annotated - select for diffs
Tue Apr 17 00:08:20 2012 UTC (12 years, 7 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.117: preferred, colored
Changes since revision 1.117: +8 -7 lines
sync with head

Revision 1.118: download - view: text, markup, annotated - select for diffs
Sun Nov 13 23:08:47 2011 UTC (13 years, 1 month ago) by christos
Branches: 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
Diff to: previous 1.117: preferred, colored
Changes since revision 1.117: +8 -7 lines
use getdisksize()

Revision 1.117: download - view: text, markup, annotated - select for diffs
Tue Sep 27 01:13:16 2011 UTC (13 years, 2 months ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base
Branch point for: yamt-pagecache
Diff to: previous 1.116: preferred, colored
Changes since revision 1.116: +5 -5 lines
- rename UDF_MAX_NAMELEN -> UDF_MAXNAMLEN
- use NAME_MAX instead of MAXNAMLEN

Revision 1.116: download - view: text, markup, annotated - select for diffs
Tue Aug 16 14:29:16 2011 UTC (13 years, 3 months ago) by mbalmer
Branches: MAIN
Diff to: previous 1.115: preferred, colored
Changes since revision 1.115: +3 -3 lines
Fix some typos.

Revision 1.114.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 23 14:20:17 2011 UTC (13 years, 5 months ago) by cherry
Branches: cherry-xenmp
Diff to: previous 1.114: preferred, colored; next MAIN 1.115: preferred, colored
Changes since revision 1.114: +10 -10 lines
Catchup with rmind-uvmplock merge.

Revision 1.115: download - view: text, markup, annotated - select for diffs
Sun Jun 12 03:35:55 2011 UTC (13 years, 6 months ago) by rmind
Branches: MAIN
Diff to: previous 1.114: preferred, colored
Changes since revision 1.114: +10 -10 lines
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 - view: text, markup, annotated - select for diffs
Mon Jun 6 09:09:25 2011 UTC (13 years, 6 months ago) by jruoho
Branches: jruoho-x86intr
Diff to: previous 1.110: preferred, colored; next MAIN 1.111: preferred, colored
Changes since revision 1.110: +53 -29 lines
Sync with HEAD.

Revision 1.104.2.5: download - view: text, markup, annotated - select for diffs
Tue May 31 03:05:00 2011 UTC (13 years, 6 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.104.2.4: preferred, colored; branchpoint 1.104: preferred, colored; next MAIN 1.105: preferred, colored
Changes since revision 1.104.2.4: +10 -8 lines
sync with head

Revision 1.104.2.4: download - view: text, markup, annotated - select for diffs
Thu May 19 03:43:02 2011 UTC (13 years, 6 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.104.2.3: preferred, colored; branchpoint 1.104: preferred, colored
Changes since revision 1.104.2.3: +6 -6 lines
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 - view: text, markup, annotated - select for diffs
Tue Apr 26 11:32:39 2011 UTC (13 years, 7 months ago) by hannken
Branches: MAIN
CVS tags: rmind-uvmplock-nbase, rmind-uvmplock-base, cherry-xenmp-base
Branch point for: cherry-xenmp
Diff to: previous 1.113: preferred, colored
Changes since revision 1.113: +10 -8 lines
Change vflushbuf() to return an error if a synchronous write fails.

Welcome to 5.99.51.

Revision 1.104.2.3: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:55:10 2011 UTC (13 years, 9 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.104.2.2: preferred, colored; branchpoint 1.104: preferred, colored
Changes since revision 1.104.2.2: +82 -50 lines
sync with head

Revision 1.110.4.1: download - view: text, markup, annotated - select for diffs
Tue Feb 8 16:19:58 2011 UTC (13 years, 10 months ago) by bouyer
Branches: bouyer-quota2
Diff to: previous 1.110: preferred, colored; next MAIN 1.111: preferred, colored
Changes since revision 1.110: +45 -23 lines
Sync with HEAD

Revision 1.113: download - view: text, markup, annotated - select for diffs
Sat Jan 22 18:02:18 2011 UTC (13 years, 10 months ago) by reinoud
Branches: MAIN
CVS tags: bouyer-quota2-nbase, bouyer-quota2-base
Diff to: previous 1.112: preferred, colored
Changes since revision 1.112: +5 -4 lines
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 - view: text, markup, annotated - select for diffs
Sat Jan 22 14:51:43 2011 UTC (13 years, 10 months ago) by reinoud
Branches: MAIN
Diff to: previous 1.111: preferred, colored
Changes since revision 1.111: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Fri Jan 21 20:36:53 2011 UTC (13 years, 10 months ago) by reinoud
Branches: MAIN
Diff to: previous 1.110: preferred, colored
Changes since revision 1.110: +41 -20 lines
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 - view: text, markup, annotated - select for diffs
Thu Jan 13 13:13:31 2011 UTC (13 years, 11 months ago) by reinoud
Branches: MAIN
CVS tags: jruoho-x86intr-base
Branch point for: jruoho-x86intr, bouyer-quota2
Diff to: previous 1.109: preferred, colored
Changes since revision 1.109: +15 -5 lines
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 - view: text, markup, annotated - select for diffs
Wed Dec 22 12:38:42 2010 UTC (13 years, 11 months ago) by reinoud
Branches: MAIN
CVS tags: matt-mips64-premerge-20101231
Diff to: previous 1.108: preferred, colored
Changes since revision 1.108: +7 -7 lines
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 - view: text, markup, annotated - select for diffs
Fri Oct 22 07:22:24 2010 UTC (14 years, 1 month ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.101.2.2: preferred, colored; branchpoint 1.101: preferred, colored; next MAIN 1.102: preferred, colored
Changes since revision 1.101.2.2: +17 -17 lines
Sync with HEAD (-D20101022).

Revision 1.44.10.8: download - view: text, markup, annotated - select for diffs
Sat Oct 9 03:32:30 2010 UTC (14 years, 2 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.44.10.7: preferred, colored; branchpoint 1.44: preferred, colored; next MAIN 1.45: preferred, colored
Changes since revision 1.44.10.7: +19 -19 lines
sync with head

Revision 1.108: download - view: text, markup, annotated - select for diffs
Fri Sep 24 22:51:50 2010 UTC (14 years, 2 months ago) by rmind
Branches: MAIN
CVS tags: yamt-nfs-mp-base11, uebayasi-xip-base4, uebayasi-xip-base3
Diff to: previous 1.107: preferred, colored
Changes since revision 1.107: +19 -19 lines
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 - view: text, markup, annotated - select for diffs
Tue Aug 17 06:47:22 2010 UTC (14 years, 3 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.101.2.1: preferred, colored; branchpoint 1.101: preferred, colored
Changes since revision 1.101.2.1: +5 -5 lines
Sync with HEAD.

Revision 1.44.10.7: download - view: text, markup, annotated - select for diffs
Wed Aug 11 22:54:36 2010 UTC (14 years, 4 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.44.10.6: preferred, colored; branchpoint 1.44: preferred, colored
Changes since revision 1.44.10.6: +7 -7 lines
sync with head.

Revision 1.107: download - view: text, markup, annotated - select for diffs
Wed Jul 21 17:52:11 2010 UTC (14 years, 4 months ago) by hannken
Branches: MAIN
CVS tags: yamt-nfs-mp-base10, uebayasi-xip-base2
Diff to: previous 1.106: preferred, colored
Changes since revision 1.106: +4 -4 lines
Make holding v_interlock mandatory for callers of vget().

Announced some time ago on tech-kern.

Revision 1.104.2.2: download - view: text, markup, annotated - select for diffs
Sat Jul 3 01:19:51 2010 UTC (14 years, 5 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.104.2.1: preferred, colored; branchpoint 1.104: preferred, colored
Changes since revision 1.104.2.1: +5 -5 lines
sync with head

Revision 1.106: download - view: text, markup, annotated - select for diffs
Thu Jul 1 13:00:55 2010 UTC (14 years, 5 months ago) by hannken
Branches: MAIN
Diff to: previous 1.105: preferred, colored
Changes since revision 1.105: +5 -5 lines
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 - view: text, markup, annotated - select for diffs
Sun Jun 6 08:01:31 2010 UTC (14 years, 6 months ago) by hannken
Branches: MAIN
Diff to: previous 1.104: preferred, colored
Changes since revision 1.104: +5 -5 lines
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 - view: text, markup, annotated - select for diffs
Fri Apr 30 14:44:07 2010 UTC (14 years, 7 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.101: preferred, colored
Changes since revision 1.101: +30 -2 lines
Sync with HEAD.

Revision 1.73.4.9.4.1: download - view: text, markup, annotated - select for diffs
Wed Apr 21 00:28:14 2010 UTC (14 years, 7 months ago) by matt
Branches: matt-nb5-mips64
CVS tags: matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-k15
Diff to: previous 1.73.4.9: preferred, colored; next MAIN 1.73.4.10: preferred, colored
Changes since revision 1.73.4.9: +320 -163 lines
sync to netbsd-5

Revision 1.104.2.1: download - view: text, markup, annotated - select for diffs
Tue Mar 16 15:38:08 2010 UTC (14 years, 9 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.104: preferred, colored
Changes since revision 1.104: +6 -6 lines
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 - view: text, markup, annotated - select for diffs
Thu Mar 11 15:04:15 2010 UTC (14 years, 9 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.44.10.5: preferred, colored; branchpoint 1.44: preferred, colored
Changes since revision 1.44.10.5: +36 -8 lines
sync with head

Revision 1.104: download - view: text, markup, annotated - select for diffs
Thu Feb 25 16:15:57 2010 UTC (14 years, 9 months ago) by reinoud
Branches: MAIN
CVS tags: yamt-nfs-mp-base9, uebayasi-xip-base1
Branch point for: rmind-uvmplock
Diff to: previous 1.103: preferred, colored
Changes since revision 1.103: +25 -2 lines
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 - view: text, markup, annotated - select for diffs
Wed Feb 24 19:20:13 2010 UTC (14 years, 9 months ago) by reinoud
Branches: MAIN
Diff to: previous 1.102: preferred, colored
Changes since revision 1.102: +5 -4 lines
Rename metadata partition parameters to be less generic and add the flags.

Revision 1.102: download - view: text, markup, annotated - select for diffs
Wed Feb 24 19:14:12 2010 UTC (14 years, 9 months ago) by reinoud
Branches: MAIN
Diff to: previous 1.101: preferred, colored
Changes since revision 1.101: +6 -2 lines
Extract UDF metadata partition parameters as already done for VAT and sparable
partitions.

Revision 1.101: download - view: text, markup, annotated - select for diffs
Tue Jan 5 13:30:11 2010 UTC (14 years, 11 months ago) by mbalmer
Branches: MAIN
CVS tags: uebayasi-xip-base
Branch point for: uebayasi-xip
Diff to: previous 1.100: preferred, colored
Changes since revision 1.100: +4 -4 lines
Remove extra semicolons.

Revision 1.100: download - view: text, markup, annotated - select for diffs
Wed Dec 23 09:17:41 2009 UTC (14 years, 11 months ago) by mbalmer
Branches: MAIN
Diff to: previous 1.99: preferred, colored
Changes since revision 1.99: +6 -6 lines
Fix typo in comments, no code change.

Revision 1.44.10.5: download - view: text, markup, annotated - select for diffs
Wed Aug 19 18:48:14 2009 UTC (15 years, 3 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.44.10.4: preferred, colored; branchpoint 1.44: preferred, colored
Changes since revision 1.44.10.4: +4 -2 lines
sync with head.

Revision 1.99: download - view: text, markup, annotated - select for diffs
Mon Jul 27 13:13:33 2009 UTC (15 years, 4 months ago) by reinoud
Branches: MAIN
CVS tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, matt-premerge-20091211, jym-xensuspend-nbase
Diff to: previous 1.98: preferred, colored
Changes since revision 1.98: +4 -2 lines
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 - view: text, markup, annotated - select for diffs
Thu Jul 23 23:32:33 2009 UTC (15 years, 4 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.85.2.1: preferred, colored; next MAIN 1.86: preferred, colored
Changes since revision 1.85.2.1: +314 -152 lines
Sync with HEAD.

Revision 1.44.10.4: download - view: text, markup, annotated - select for diffs
Sat Jul 18 14:53:22 2009 UTC (15 years, 4 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.44.10.3: preferred, colored; branchpoint 1.44: preferred, colored
Changes since revision 1.44.10.3: +304 -141 lines
sync with head.

Revision 1.73.4.12: download - view: text, markup, annotated - select for diffs
Thu Jul 9 19:44:34 2009 UTC (15 years, 5 months ago) by snj
Branches: 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
Diff to: previous 1.73.4.11: preferred, colored; branchpoint 1.73: preferred, colored; next MAIN 1.74: preferred, colored
Changes since revision 1.73.4.11: +310 -152 lines
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 - view: text, markup, annotated - select for diffs
Tue Jul 7 10:23:36 2009 UTC (15 years, 5 months ago) by reinoud
Branches: MAIN
CVS tags: yamt-nfs-mp-base6, jymxensuspend-base
Diff to: previous 1.97: preferred, colored
Changes since revision 1.97: +74 -89 lines
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 - view: text, markup, annotated - select for diffs
Mon Jul 6 17:06:57 2009 UTC (15 years, 5 months ago) by reinoud
Branches: MAIN
Diff to: previous 1.96: preferred, colored
Changes since revision 1.96: +3 -3 lines
Make source prettier

Revision 1.96: download - view: text, markup, annotated - select for diffs
Thu Jun 25 17:16:33 2009 UTC (15 years, 5 months ago) by reinoud
Branches: MAIN
Diff to: previous 1.95: preferred, colored
Changes since revision 1.95: +11 -4 lines
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 - view: text, markup, annotated - select for diffs
Wed Jun 24 17:09:13 2009 UTC (15 years, 5 months ago) by reinoud
Branches: MAIN
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +110 -48 lines
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 - view: text, markup, annotated - select for diffs
Tue Jun 23 20:09:07 2009 UTC (15 years, 5 months ago) by reinoud
Branches: MAIN
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +119 -2 lines
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 - view: text, markup, annotated - select for diffs
Sat Jun 20 07:20:30 2009 UTC (15 years, 5 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.44.10.2: preferred, colored; branchpoint 1.44: preferred, colored
Changes since revision 1.44.10.2: +12 -13 lines
sync with head

Revision 1.93: download - view: text, markup, annotated - select for diffs
Thu Jun 18 15:03:34 2009 UTC (15 years, 5 months ago) by reinoud
Branches: MAIN
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +3 -3 lines
Enhance comment on node locking when writing out a node's descriptors.

Revision 1.92: download - view: text, markup, annotated - select for diffs
Thu Jun 18 15:01:34 2009 UTC (15 years, 5 months ago) by reinoud
Branches: MAIN
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +2 -10 lines
Remove unneeded wait for SYNC being finished on node disposal of deleted node;
this could interfere and lockup.

Revision 1.73.4.11: download - view: text, markup, annotated - select for diffs
Sat Jun 6 22:04:40 2009 UTC (15 years, 6 months ago) by bouyer
Branches: netbsd-5
Diff to: previous 1.73.4.10: preferred, colored; branchpoint 1.73: preferred, colored
Changes since revision 1.73.4.10: +5 -5 lines
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 - view: text, markup, annotated - select for diffs
Mon Jun 1 17:11:35 2009 UTC (15 years, 6 months ago) by liamjfoy
Branches: netbsd-5
Diff to: previous 1.73.4.9: preferred, colored; branchpoint 1.73: preferred, colored
Changes since revision 1.73.4.9: +7 -8 lines
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 - view: text, markup, annotated - select for diffs
Wed May 20 15:30:26 2009 UTC (15 years, 6 months ago) by reinoud
Branches: MAIN
CVS tags: yamt-nfs-mp-base5
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +4 -5 lines
Retire IN_CALLBACK_ULK flagging since its not used anymore and the old
assertions on it would trigger without cause.

Revision 1.90: download - view: text, markup, annotated - select for diffs
Wed May 20 13:25:50 2009 UTC (15 years, 6 months ago) by reinoud
Branches: MAIN
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +5 -5 lines
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 - view: text, markup, annotated - select for diffs
Tue May 19 16:06:56 2009 UTC (15 years, 6 months ago) by reinoud
Branches: MAIN
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Tue May 19 15:08:42 2009 UTC (15 years, 6 months ago) by reinoud
Branches: MAIN
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +6 -6 lines
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 - view: text, markup, annotated - select for diffs
Wed May 13 17:21:55 2009 UTC (15 years, 7 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +5 -7 lines
Sync with HEAD.

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

Revision 1.44.10.2: download - view: text, markup, annotated - select for diffs
Mon May 4 08:13:45 2009 UTC (15 years, 7 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.44.10.1: preferred, colored; branchpoint 1.44: preferred, colored
Changes since revision 1.44.10.1: +1282 -458 lines
sync with head.

Revision 1.73.2.3: download - view: text, markup, annotated - select for diffs
Tue Apr 28 07:36:58 2009 UTC (15 years, 7 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.73.2.2: preferred, colored; branchpoint 1.73: preferred, colored; next MAIN 1.74: preferred, colored
Changes since revision 1.73.2.2: +5 -5 lines
Sync with HEAD.

Revision 1.87: download - view: text, markup, annotated - select for diffs
Wed Mar 18 16:00:21 2009 UTC (15 years, 8 months ago) by cegger
Branches: MAIN
CVS tags: yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base, jym-xensuspend-base
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +5 -5 lines
bzero -> memset

Revision 1.73.2.2: download - view: text, markup, annotated - select for diffs
Tue Mar 3 18:32:35 2009 UTC (15 years, 9 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.73.2.1: preferred, colored; branchpoint 1.73: preferred, colored
Changes since revision 1.73.2.1: +346 -31 lines
Sync with HEAD.

Revision 1.86: download - view: text, markup, annotated - select for diffs
Sun Feb 22 15:26:51 2009 UTC (15 years, 9 months ago) by yamt
Branches: MAIN
CVS tags: nick-hppapmap-base2
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +2 -4 lines
udf_write_filebuf: remove an write-only variable

Revision 1.73.4.9: download - view: text, markup, annotated - select for diffs
Thu Feb 19 03:39:56 2009 UTC (15 years, 9 months ago) by snj
Branches: 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
Diff to: previous 1.73.4.8: preferred, colored; branchpoint 1.73: preferred, colored
Changes since revision 1.73.4.8: +4 -3 lines
Apply patch (requested by plunky in ticket #447):
Use bitmask_snprintf instead of snprintb.

Revision 1.73.4.8: download - view: text, markup, annotated - select for diffs
Wed Feb 18 00:51:27 2009 UTC (15 years, 9 months ago) by snj
Branches: netbsd-5
Diff to: previous 1.73.4.7: preferred, colored; branchpoint 1.73: preferred, colored
Changes since revision 1.73.4.7: +345 -28 lines
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 - view: text, markup, annotated - select for diffs
Sun Feb 8 19:14:52 2009 UTC (15 years, 10 months ago) by reinoud
Branches: MAIN
Branch point for: jym-xensuspend
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +345 -28 lines
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 - view: text, markup, annotated - select for diffs
Thu Feb 5 19:39:08 2009 UTC (15 years, 10 months ago) by pooka
Branches: MAIN
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +3 -3 lines
Specify BROKEN DIRECTORY ENTRY printf comes from udf
(can happen e.g. with medium error)

Revision 1.73.2.1: download - view: text, markup, annotated - select for diffs
Mon Jan 19 13:19:37 2009 UTC (15 years, 10 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +53 -26 lines
Sync with HEAD.

Revision 1.44.6.5: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:29:17 2009 UTC (15 years, 10 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.44.6.4: preferred, colored; branchpoint 1.44: preferred, colored; next MAIN 1.45: preferred, colored
Changes since revision 1.44.6.4: +51 -24 lines
Sync with HEAD.

Revision 1.73.4.7: download - view: text, markup, annotated - select for diffs
Mon Dec 22 03:07:31 2008 UTC (15 years, 11 months ago) by snj
Branches: netbsd-5
CVS tags: netbsd-5-0-RC2, netbsd-5-0-RC1
Diff to: previous 1.73.4.6: preferred, colored; branchpoint 1.73: preferred, colored
Changes since revision 1.73.4.6: +24 -2 lines
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 - view: text, markup, annotated - select for diffs
Mon Dec 22 03:05:00 2008 UTC (15 years, 11 months ago) by snj
Branches: netbsd-5
Diff to: previous 1.73.4.5: preferred, colored; branchpoint 1.73: preferred, colored
Changes since revision 1.73.4.5: +7 -4 lines
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 - view: text, markup, annotated - select for diffs
Fri Dec 19 18:49:39 2008 UTC (15 years, 11 months ago) by cegger
Branches: MAIN
CVS tags: mjf-devfs2-base
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +4 -6 lines
use M_ZERO on malloc() and remove subsequent bzero().

Revision 1.82: download - view: text, markup, annotated - select for diffs
Thu Dec 18 15:41:44 2008 UTC (15 years, 11 months ago) by reinoud
Branches: MAIN
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +24 -2 lines
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 - view: text, markup, annotated - select for diffs
Thu Dec 18 13:03:49 2008 UTC (15 years, 11 months ago) by reinoud
Branches: MAIN
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +7 -4 lines
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 - view: text, markup, annotated - select for diffs
Thu Dec 18 01:10:51 2008 UTC (15 years, 11 months ago) by snj
Branches: netbsd-5
Diff to: previous 1.73.4.4: preferred, colored; branchpoint 1.73: preferred, colored
Changes since revision 1.73.4.4: +5 -2 lines
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 - view: text, markup, annotated - select for diffs
Thu Dec 18 01:07:49 2008 UTC (15 years, 11 months ago) by snj
Branches: netbsd-5
Diff to: previous 1.73.4.3: preferred, colored; branchpoint 1.73: preferred, colored
Changes since revision 1.73.4.3: +4 -4 lines
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 - view: text, markup, annotated - select for diffs
Tue Dec 16 22:35:36 2008 UTC (15 years, 11 months ago) by christos
Branches: MAIN
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +9 -10 lines
replace bitmask_snprintf(9) with snprintb(3)

Revision 1.79: download - view: text, markup, annotated - select for diffs
Tue Dec 16 16:27:05 2008 UTC (15 years, 11 months ago) by reinoud
Branches: MAIN
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +5 -2 lines
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 - view: text, markup, annotated - select for diffs
Tue Dec 16 16:18:25 2008 UTC (15 years, 11 months ago) by pooka
Branches: MAIN
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +2 -3 lines
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 - view: text, markup, annotated - select for diffs
Tue Dec 16 10:30:19 2008 UTC (15 years, 11 months ago) by reinoud
Branches: MAIN
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +4 -4 lines
Elaborate SYNC debug messages and rename some debug messages to a more
proper category.

Revision 1.54.2.2: download - view: text, markup, annotated - select for diffs
Sat Dec 13 01:14:59 2008 UTC (16 years ago) by haad
Branches: haad-dm
Diff to: previous 1.54.2.1: preferred, colored; next MAIN 1.55: preferred, colored
Changes since revision 1.54.2.1: +14 -11 lines
Update haad-dm branch to haad-dm-base2.

Revision 1.73.4.3: download - view: text, markup, annotated - select for diffs
Sat Dec 6 21:44:05 2008 UTC (16 years ago) by snj
Branches: netbsd-5
Diff to: previous 1.73.4.2: preferred, colored; branchpoint 1.73: preferred, colored
Changes since revision 1.73.4.2: +7 -6 lines
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 - view: text, markup, annotated - select for diffs
Sat Dec 6 21:41:34 2008 UTC (16 years ago) by snj
Branches: netbsd-5
Diff to: previous 1.73.4.1: preferred, colored; branchpoint 1.73: preferred, colored
Changes since revision 1.73.4.1: +8 -2 lines
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 - view: text, markup, annotated - select for diffs
Sat Dec 6 21:36:48 2008 UTC (16 years ago) by snj
Branches: netbsd-5
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +3 -7 lines
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 - view: text, markup, annotated - select for diffs
Mon Dec 1 14:19:01 2008 UTC (16 years ago) by reinoud
Branches: MAIN
CVS tags: haad-nbase2, haad-dm-base2, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +7 -6 lines
Split uid/gid remapping code to be independent of eachother.

Revision 1.75: download - view: text, markup, annotated - select for diffs
Fri Nov 28 15:29:47 2008 UTC (16 years ago) by reinoud
Branches: MAIN
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +8 -2 lines
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 - view: text, markup, annotated - select for diffs
Fri Nov 28 14:33:36 2008 UTC (16 years ago) by reinoud
Branches: MAIN
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +3 -7 lines
Remove old comment and remove unused calculated variable

Revision 1.54.2.1: download - view: text, markup, annotated - select for diffs
Sun Oct 19 22:17:18 2008 UTC (16 years, 1 month ago) by haad
Branches: haad-dm
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +546 -264 lines
Sync with HEAD.

Revision 1.44.12.3: download - view: text, markup, annotated - select for diffs
Fri Oct 10 22:34:13 2008 UTC (16 years, 2 months ago) by skrll
Branches: wrstuden-revivesa
Diff to: previous 1.44.12.2: preferred, colored; branchpoint 1.44: preferred, colored; next MAIN 1.45: preferred, colored
Changes since revision 1.44.12.2: +41 -391 lines
Sync with HEAD.

Revision 1.44.6.4: download - view: text, markup, annotated - select for diffs
Sun Oct 5 20:11:31 2008 UTC (16 years, 2 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.44.6.3: preferred, colored; branchpoint 1.44: preferred, colored
Changes since revision 1.44.6.3: +39 -389 lines
Sync with HEAD.

Revision 1.44.6.3: download - view: text, markup, annotated - select for diffs
Sun Sep 28 10:40:51 2008 UTC (16 years, 2 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.44.6.2: preferred, colored; branchpoint 1.44: preferred, colored
Changes since revision 1.44.6.2: +892 -260 lines
Sync with HEAD.

Revision 1.73: download - view: text, markup, annotated - select for diffs
Sat Sep 27 13:05:34 2008 UTC (16 years, 2 months ago) by reinoud
Branches: MAIN
CVS tags: wrstuden-revivesa-base-4, netbsd-5-base, matt-mips64-base2, haad-dm-base1
Branch point for: nick-hppapmap, netbsd-5
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +41 -391 lines
Switch UDF over to the vfs_dirhash.c dirhash code.

Revision 1.44.12.2: download - view: text, markup, annotated - select for diffs
Thu Sep 18 04:36:56 2008 UTC (16 years, 2 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.44.12.1: preferred, colored; branchpoint 1.44: preferred, colored
Changes since revision 1.44.12.1: +1222 -421 lines
Sync with wrstuden-revivesa-base-2.

Revision 1.72: download - view: text, markup, annotated - select for diffs
Fri Aug 29 15:04:18 2008 UTC (16 years, 3 months ago) by reinoud
Branches: MAIN
CVS tags: wrstuden-revivesa-base-3, wrstuden-revivesa-base-2
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +2 -6 lines
Remove all remaining traces of UDF_READWRITE since it has been removed as
option.

Revision 1.71: download - view: text, markup, annotated - select for diffs
Wed Aug 6 13:41:12 2008 UTC (16 years, 4 months ago) by reinoud
Branches: MAIN
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +70 -56 lines
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 - view: text, markup, annotated - select for diffs
Thu Jul 31 04:51:02 2008 UTC (16 years, 4 months ago) by simonb
Branches: simonb-wapbl
Diff to: previous 1.49.2.4: preferred, colored; branchpoint 1.49: preferred, colored; next MAIN 1.50: preferred, colored
Changes since revision 1.49.2.4: +167 -18 lines
Sync with head.

Revision 1.70: download - view: text, markup, annotated - select for diffs
Mon Jul 28 19:41:13 2008 UTC (16 years, 4 months ago) by reinoud
Branches: MAIN
CVS tags: simonb-wapbl-nbase, simonb-wapbl-base
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +167 -18 lines
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 - view: text, markup, annotated - select for diffs
Mon Jul 28 14:37:35 2008 UTC (16 years, 4 months ago) by simonb
Branches: simonb-wapbl
Diff to: previous 1.49.2.3: preferred, colored; branchpoint 1.49: preferred, colored
Changes since revision 1.49.2.3: +168 -57 lines
Sync with head.

Revision 1.69: download - view: text, markup, annotated - select for diffs
Sun Jul 27 11:38:23 2008 UTC (16 years, 4 months ago) by reinoud
Branches: MAIN
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +8 -8 lines
Delay physical partition spacebitmaps from volume-descriptor-checking until
the other supporting structures are read in.

Revision 1.68: download - view: text, markup, annotated - select for diffs
Sat Jul 26 20:49:33 2008 UTC (16 years, 4 months ago) by reinoud
Branches: MAIN
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +7 -6 lines
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 - view: text, markup, annotated - select for diffs
Tue Jul 22 21:39:08 2008 UTC (16 years, 4 months ago) by reinoud
Branches: MAIN
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +5 -2 lines
No use walking empty hashtables when purging.

Revision 1.66: download - view: text, markup, annotated - select for diffs
Tue Jul 22 19:06:55 2008 UTC (16 years, 4 months ago) by reinoud
Branches: MAIN
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +153 -46 lines
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 - view: text, markup, annotated - select for diffs
Tue Jul 22 05:44:02 2008 UTC (16 years, 4 months ago) by simonb
Branches: simonb-wapbl
Diff to: previous 1.49.2.2: preferred, colored; branchpoint 1.49: preferred, colored
Changes since revision 1.49.2.2: +14 -3 lines
Sync with head.

Revision 1.65: download - view: text, markup, annotated - select for diffs
Sat Jul 19 16:14:09 2008 UTC (16 years, 4 months ago) by reinoud
Branches: MAIN
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +7 -7 lines
Use ecma-167 constants instead of homegrown to prevent double mapping.

Revision 1.64: download - view: text, markup, annotated - select for diffs
Sat Jul 19 16:00:35 2008 UTC (16 years, 4 months ago) by reinoud
Branches: MAIN
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +13 -2 lines
Choose which time of allocation descriptors to use on new nodes based on
the number of partition mappings.

Revision 1.49.2.2: download - view: text, markup, annotated - select for diffs
Fri Jul 18 16:37:48 2008 UTC (16 years, 4 months ago) by simonb
Branches: simonb-wapbl
Diff to: previous 1.49.2.1: preferred, colored; branchpoint 1.49: preferred, colored
Changes since revision 1.49.2.1: +550 -199 lines
Sync with head.

Revision 1.63: download - view: text, markup, annotated - select for diffs
Fri Jul 18 15:55:32 2008 UTC (16 years, 4 months ago) by reinoud
Branches: MAIN
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +3 -3 lines
fix comment

Revision 1.62: download - view: text, markup, annotated - select for diffs
Fri Jul 18 14:18:51 2008 UTC (16 years, 4 months ago) by reinoud
Branches: MAIN
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +4 -9 lines
On dirhash lookup, don't retrieve info you already have.

Revision 1.61: download - view: text, markup, annotated - select for diffs
Fri Jul 18 13:39:41 2008 UTC (16 years, 4 months ago) by reinoud
Branches: MAIN
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +6 -6 lines
Remove double check

Revision 1.60: download - view: text, markup, annotated - select for diffs
Fri Jul 18 13:34:05 2008 UTC (16 years, 4 months ago) by reinoud
Branches: MAIN
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +6 -3 lines
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 - view: text, markup, annotated - select for diffs
Thu Jul 17 19:10:22 2008 UTC (16 years, 4 months ago) by reinoud
Branches: MAIN
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +515 -189 lines
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 - view: text, markup, annotated - select for diffs
Thu Jul 17 15:37:59 2008 UTC (16 years, 4 months ago) by reinoud
Branches: MAIN
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +7 -7 lines
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 - view: text, markup, annotated - select for diffs
Fri Jul 11 15:16:53 2008 UTC (16 years, 5 months ago) by reinoud
Branches: MAIN
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +3 -3 lines
Fix spelling in comment

Revision 1.56: download - view: text, markup, annotated - select for diffs
Thu Jul 10 16:41:00 2008 UTC (16 years, 5 months ago) by reinoud
Branches: MAIN
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +9 -3 lines
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 - view: text, markup, annotated - select for diffs
Mon Jul 7 18:45:27 2008 UTC (16 years, 5 months ago) by reinoud
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +27 -6 lines
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 - view: text, markup, annotated - select for diffs
Sun Jun 29 09:33:13 2008 UTC (16 years, 5 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.44.6.1: preferred, colored; branchpoint 1.44: preferred, colored
Changes since revision 1.44.6.1: +352 -167 lines
Sync with HEAD.

Revision 1.49.2.1: download - view: text, markup, annotated - select for diffs
Fri Jun 27 15:11:38 2008 UTC (16 years, 5 months ago) by simonb
Branches: simonb-wapbl
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +354 -169 lines
Sync with head.

Revision 1.54: download - view: text, markup, annotated - select for diffs
Wed Jun 25 16:06:29 2008 UTC (16 years, 5 months ago) by reinoud
Branches: MAIN
Branch point for: haad-dm
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Wed Jun 25 15:59:24 2008 UTC (16 years, 5 months ago) by reinoud
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +4 -4 lines
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 - view: text, markup, annotated - select for diffs
Wed Jun 25 10:03:14 2008 UTC (16 years, 5 months ago) by reinoud
Branches: MAIN
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +24 -8 lines
Fix allocation extensions descriptor reading and do free them on node
destruction!

Revision 1.51: download - view: text, markup, annotated - select for diffs
Tue Jun 24 15:35:57 2008 UTC (16 years, 5 months ago) by reinoud
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +306 -153 lines
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 - view: text, markup, annotated - select for diffs
Mon Jun 23 04:31:50 2008 UTC (16 years, 5 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +4764 -1938 lines
Sync w/ -current. 34 merge conflicts to follow.

Revision 1.50: download - view: text, markup, annotated - select for diffs
Wed Jun 18 21:23:32 2008 UTC (16 years, 5 months ago) by reinoud
Branches: MAIN
CVS tags: wrstuden-revivesa-base-1, wrstuden-revivesa-base
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +28 -12 lines
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 - view: text, markup, annotated - select for diffs
Wed Jun 4 02:05:34 2008 UTC (16 years, 6 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.44.8.1: preferred, colored; branchpoint 1.44: preferred, colored; next MAIN 1.45: preferred, colored
Changes since revision 1.44.8.1: +27 -13 lines
sync with head

Revision 1.23.2.4.2.2: download - view: text, markup, annotated - select for diffs
Tue Jun 3 20:47:41 2008 UTC (16 years, 6 months ago) by skrll
Branches: wrstuden-fixsa
Diff to: previous 1.23.2.4.2.1: preferred, colored; branchpoint 1.23.2.4: preferred, colored; next MAIN 1.23.2.5: preferred, colored
Changes since revision 1.23.2.4.2.1: +12 -13 lines
Sync with netbsd-4.

Revision 1.44.6.1: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:24:06 2008 UTC (16 years, 6 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +4772 -1962 lines
Sync with HEAD.

Revision 1.49: download - view: text, markup, annotated - select for diffs
Mon May 19 23:48:04 2008 UTC (16 years, 6 months ago) by christos
Branches: MAIN
CVS tags: yamt-pf42-base4, yamt-pf42-base3, hpcarm-cleanup-nbase
Branch point for: simonb-wapbl
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +5 -3 lines
fix argument type.

Revision 1.48: download - view: text, markup, annotated - select for diffs
Mon May 19 20:12:36 2008 UTC (16 years, 6 months ago) by reinoud
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +25 -13 lines
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 - view: text, markup, annotated - select for diffs
Sun May 18 12:35:06 2008 UTC (16 years, 6 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +4730 -1934 lines
sync with head.

Revision 1.47: download - view: text, markup, annotated - select for diffs
Sat May 17 08:07:21 2008 UTC (16 years, 6 months ago) by reinoud
Branches: MAIN
CVS tags: yamt-pf42-base2
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +3 -4 lines
Cleaner gcc initialisation detection failure notice.

Revision 1.46: download - view: text, markup, annotated - select for diffs
Sat May 17 07:46:35 2008 UTC (16 years, 6 months ago) by reinoud
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +4 -2 lines
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 - view: text, markup, annotated - select for diffs
Fri May 16 02:25:21 2008 UTC (16 years, 7 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +4729 -1934 lines
sync with head.

Revision 1.45: download - view: text, markup, annotated - select for diffs
Wed May 14 16:49:48 2008 UTC (16 years, 7 months ago) by reinoud
Branches: MAIN
CVS tags: yamt-nfs-mp-base2
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +4750 -1955 lines
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 - view: text, markup, annotated - select for diffs
Mon Feb 18 21:06:44 2008 UTC (16 years, 9 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.40.2.2: preferred, colored; branchpoint 1.40: preferred, colored; next MAIN 1.41: preferred, colored
Changes since revision 1.40.2.2: +24 -19 lines
Sync with HEAD.

Revision 1.23.2.6: download - view: text, markup, annotated - select for diffs
Fri Feb 1 14:42:55 2008 UTC (16 years, 10 months ago) by riz
Branches: netbsd-4
CVS tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base
Diff to: previous 1.23.2.5: preferred, colored; branchpoint 1.23: preferred, colored; next MAIN 1.24: preferred, colored
Changes since revision 1.23.2.5: +10 -11 lines
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 - view: text, markup, annotated - select for diffs
Mon Jan 21 09:45:56 2008 UTC (16 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.10.2.8: preferred, colored; branchpoint 1.10: preferred, colored; next MAIN 1.11: preferred, colored
Changes since revision 1.10.2.8: +24 -19 lines
sync with head

Revision 1.36.6.2: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:55:53 2008 UTC (16 years, 11 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.36.6.1: preferred, colored; branchpoint 1.36: preferred, colored; next MAIN 1.37: preferred, colored
Changes since revision 1.36.6.1: +37 -34 lines
sync with HEAD

Revision 1.23.2.4.2.1: download - view: text, markup, annotated - select for diffs
Sun Jan 6 05:01:13 2008 UTC (16 years, 11 months ago) by wrstuden
Branches: wrstuden-fixsa
Diff to: previous 1.23.2.4: preferred, colored
Changes since revision 1.23.2.4: +3 -2 lines
Catch up to netbsd-4.0 release.

Revision 1.42.6.2: download - view: text, markup, annotated - select for diffs
Wed Jan 2 21:55:41 2008 UTC (16 years, 11 months ago) by bouyer
Branches: bouyer-xeni386
CVS tags: bouyer-xeni386-merge1
Diff to: previous 1.42.6.1: preferred, colored; branchpoint 1.42: preferred, colored; next MAIN 1.43: preferred, colored
Changes since revision 1.42.6.1: +22 -17 lines
Sync with HEAD

Revision 1.44: download - view: text, markup, annotated - select for diffs
Wed Jan 2 11:48:47 2008 UTC (16 years, 11 months ago) by ad
Branches: 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
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +24 -19 lines
Merge vmlocking2 to head.

Revision 1.40.2.2: download - view: text, markup, annotated - select for diffs
Thu Dec 27 00:45:50 2007 UTC (16 years, 11 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.40.2.1: preferred, colored; branchpoint 1.40: preferred, colored
Changes since revision 1.40.2.1: +2 -2 lines
Sync with HEAD.

Revision 1.42.2.2: download - view: text, markup, annotated - select for diffs
Wed Dec 26 21:39:35 2007 UTC (16 years, 11 months ago) by ad
Branches: vmlocking2
Diff to: previous 1.42.2.1: preferred, colored; branchpoint 1.42: preferred, colored; next MAIN 1.43: preferred, colored
Changes since revision 1.42.2.1: +2 -2 lines
Sync with head.

Revision 1.42.6.1: download - view: text, markup, annotated - select for diffs
Thu Dec 13 21:56:51 2007 UTC (17 years ago) by bouyer
Branches: bouyer-xeni386
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +2 -2 lines
Sync with HEAD

Revision 1.42.4.1: download - view: text, markup, annotated - select for diffs
Tue Dec 11 15:44:10 2007 UTC (17 years ago) by yamt
Branches: yamt-kmem
Diff to: previous 1.42: preferred, colored; next MAIN 1.43: preferred, colored
Changes since revision 1.42: +2 -2 lines
sync with head.

Revision 1.43: download - view: text, markup, annotated - select for diffs
Tue Dec 11 12:05:27 2007 UTC (17 years ago) by lukem
Branches: MAIN
CVS tags: yamt-kmem-base3, yamt-kmem-base2, vmlocking2-base3, cube-autoconf-base, cube-autoconf
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +2 -2 lines
use __KERNEL_RCSID() instead of __RCSID()

Revision 1.40.2.1: download - view: text, markup, annotated - select for diffs
Sat Dec 8 18:20:22 2007 UTC (17 years ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +15 -17 lines
Sync with HEAD.

Revision 1.10.2.8: download - view: text, markup, annotated - select for diffs
Fri Dec 7 17:32:12 2007 UTC (17 years ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.10.2.7: preferred, colored; branchpoint 1.10: preferred, colored
Changes since revision 1.10.2.7: +15 -17 lines
sync with head

Revision 1.42.2.1: download - view: text, markup, annotated - select for diffs
Tue Dec 4 13:03:11 2007 UTC (17 years ago) by ad
Branches: vmlocking2
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +24 -19 lines
Pull the vmlocking changes into a new branch.

Revision 1.36.4.5: download - view: text, markup, annotated - select for diffs
Mon Dec 3 16:14:45 2007 UTC (17 years ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.36.4.4: preferred, colored; branchpoint 1.36: preferred, colored; next MAIN 1.37: preferred, colored
Changes since revision 1.36.4.4: +12 -13 lines
Sync with HEAD.

Revision 1.36.4.4: download - view: text, markup, annotated - select for diffs
Tue Nov 27 19:37:56 2007 UTC (17 years ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.36.4.3: preferred, colored; branchpoint 1.36: preferred, colored
Changes since revision 1.36.4.3: +5 -6 lines
Sync with HEAD. amd64 Xen support needs testing.

Revision 1.42: download - view: text, markup, annotated - select for diffs
Tue Nov 27 18:10:42 2007 UTC (17 years ago) by reinoud
Branches: 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
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +12 -13 lines
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 - view: text, markup, annotated - select for diffs
Mon Nov 26 19:01:56 2007 UTC (17 years ago) by pooka
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +5 -6 lines
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 - view: text, markup, annotated - select for diffs
Thu Nov 15 11:44:37 2007 UTC (17 years, 1 month ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.10.2.6: preferred, colored; branchpoint 1.10: preferred, colored
Changes since revision 1.10.2.6: +3 -2 lines
sync with head.

Revision 1.39.2.1: download - view: text, markup, annotated - select for diffs
Tue Nov 13 16:01:51 2007 UTC (17 years, 1 month ago) by bouyer
Branches: bouyer-xenamd64
Diff to: previous 1.39: preferred, colored; next MAIN 1.40: preferred, colored
Changes since revision 1.39: +3 -2 lines
Sync with HEAD

Revision 1.36.6.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:31:23 2007 UTC (17 years, 1 month ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +33 -32 lines
sync with HEAD

Revision 1.23.2.5: download - view: text, markup, annotated - select for diffs
Sun Nov 4 01:19:50 2007 UTC (17 years, 1 month ago) by xtraeme
Branches: 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
Diff to: previous 1.23.2.4: preferred, colored; branchpoint 1.23: preferred, colored
Changes since revision 1.23.2.4: +1 -0 lines
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 - view: text, markup, annotated - select for diffs
Wed Oct 31 23:14:09 2007 UTC (17 years, 1 month ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.36.4.2: preferred, colored; branchpoint 1.36: preferred, colored
Changes since revision 1.36.4.2: +3 -2 lines
Sync with HEAD.

Revision 1.40: download - view: text, markup, annotated - select for diffs
Wed Oct 31 15:42:13 2007 UTC (17 years, 1 month ago) by reinoud
Branches: MAIN
CVS tags: jmcneill-base, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: mjf-devfs
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +3 -2 lines
Fix panic when the VAT couldn't be found. It would refer an stale
udf_node->vnode.

Revision 1.10.2.6: download - view: text, markup, annotated - select for diffs
Sat Oct 27 11:35:16 2007 UTC (17 years, 1 month ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.10.2.5: preferred, colored; branchpoint 1.10: preferred, colored
Changes since revision 1.10.2.5: +32 -32 lines
sync with head.

Revision 1.36.4.2: download - view: text, markup, annotated - select for diffs
Fri Oct 26 15:48:24 2007 UTC (17 years, 1 month ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.36.4.1: preferred, colored; branchpoint 1.36: preferred, colored
Changes since revision 1.36.4.1: +21 -24 lines
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 - view: text, markup, annotated - select for diffs
Sun Oct 14 11:48:35 2007 UTC (17 years, 2 months ago) by yamt
Branches: yamt-x86pmap
Diff to: previous 1.36.8.1: preferred, colored; branchpoint 1.36: preferred, colored; next MAIN 1.37: preferred, colored
Changes since revision 1.36.8.1: +21 -24 lines
sync with head.

Revision 1.39: download - view: text, markup, annotated - select for diffs
Wed Oct 10 20:42:25 2007 UTC (17 years, 2 months ago) by ad
Branches: MAIN
CVS tags: yamt-x86pmap-base4, yamt-x86pmap-base3, vmlocking-base
Branch point for: bouyer-xenamd64
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +17 -18 lines
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 - view: text, markup, annotated - select for diffs
Tue Oct 9 15:22:17 2007 UTC (17 years, 2 months ago) by ad
Branches: vmlocking
Diff to: previous 1.32.4.7: preferred, colored; branchpoint 1.32: preferred, colored; next MAIN 1.33: preferred, colored
Changes since revision 1.32.4.7: +11 -8 lines
Sync with head.

Revision 1.38: download - view: text, markup, annotated - select for diffs
Mon Oct 8 18:04:05 2007 UTC (17 years, 2 months ago) by ad
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +6 -8 lines
Merge brelse() changes from the vmlocking branch.

Revision 1.36.8.1: download - view: text, markup, annotated - select for diffs
Sat Oct 6 15:29:51 2007 UTC (17 years, 2 months ago) by yamt
Branches: yamt-x86pmap
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +13 -10 lines
sync with head.

Revision 1.36.4.1: download - view: text, markup, annotated - select for diffs
Tue Oct 2 18:28:56 2007 UTC (17 years, 2 months ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +13 -10 lines
Sync with HEAD.

Revision 1.37: download - view: text, markup, annotated - select for diffs
Mon Sep 24 00:42:15 2007 UTC (17 years, 2 months ago) by rumble
Branches: MAIN
CVS tags: yamt-x86pmap-base2
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +13 -10 lines
Avoid stack allocation of large dirent structures in foo_readdir().

Revision 1.10.2.5: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:40:36 2007 UTC (17 years, 3 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.10.2.4: preferred, colored; branchpoint 1.10: preferred, colored
Changes since revision 1.10.2.4: +43 -17 lines
sync with head.

Revision 1.32.4.7: download - view: text, markup, annotated - select for diffs
Fri Aug 24 23:28:39 2007 UTC (17 years, 3 months ago) by ad
Branches: vmlocking
Diff to: previous 1.32.4.6: preferred, colored; branchpoint 1.32: preferred, colored
Changes since revision 1.32.4.6: +23 -22 lines
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 - view: text, markup, annotated - select for diffs
Mon Aug 20 21:26:12 2007 UTC (17 years, 3 months ago) by ad
Branches: vmlocking
Diff to: previous 1.32.4.5: preferred, colored; branchpoint 1.32: preferred, colored
Changes since revision 1.32.4.5: +3 -3 lines
Sync with HEAD.

Revision 1.32.4.5: download - view: text, markup, annotated - select for diffs
Sun Aug 19 19:24:52 2007 UTC (17 years, 3 months ago) by ad
Branches: vmlocking
Diff to: previous 1.32.4.4: preferred, colored; branchpoint 1.32: preferred, colored
Changes since revision 1.32.4.4: +10 -5 lines
- Back out the biodone() changes.
- Eliminate B_ERROR (from HEAD).

Revision 1.34.2.1: download - view: text, markup, annotated - select for diffs
Wed Aug 15 13:49:03 2007 UTC (17 years, 4 months ago) by skrll
Branches: nick-csl-alignment
Diff to: previous 1.34: preferred, colored; next MAIN 1.35: preferred, colored
Changes since revision 1.34: +3 -6 lines
Sync with HEAD.

Revision 1.36.10.2: download - view: text, markup, annotated - select for diffs
Sun Jul 29 13:31:12 2007 UTC (17 years, 4 months ago) by ad
Branches: matt-mips64
Diff to: previous 1.36.10.1: preferred, colored; branchpoint 1.36: preferred, colored; next MAIN 1.37: preferred, colored
Changes since revision 1.36.10.1: +2997 -0 lines
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 (17 years, 4 months ago) by ad
Branches: matt-mips64
FILE REMOVED
Changes since revision 1.36: +0 -2997 lines
file udf_subr.c was added on branch matt-mips64 on 2007-07-29 13:31:12 +0000

Revision 1.36: download - view: text, markup, annotated - select for diffs
Sun Jul 29 13:31:11 2007 UTC (17 years, 4 months ago) by ad
Branches: 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
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +2 -5 lines
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 - view: text, markup, annotated - select for diffs
Mon Jul 23 11:27:46 2007 UTC (17 years, 4 months ago) by pooka
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +3 -3 lines
Initialize size and/or writesize when creating a vnode.

Revision 1.32.6.1: download - view: text, markup, annotated - select for diffs
Wed Jul 11 20:09:35 2007 UTC (17 years, 5 months ago) by mjf
Branches: mjf-ufs-trans
Diff to: previous 1.32: preferred, colored; next MAIN 1.33: preferred, colored
Changes since revision 1.32: +42 -13 lines
Sync with head.

Revision 1.32.4.4: download - view: text, markup, annotated - select for diffs
Sun Jun 17 21:31:15 2007 UTC (17 years, 5 months ago) by ad
Branches: vmlocking
Diff to: previous 1.32.4.3: preferred, colored; branchpoint 1.32: preferred, colored
Changes since revision 1.32.4.3: +10 -7 lines
- 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 - view: text, markup, annotated - select for diffs
Sat Jun 9 23:58:03 2007 UTC (17 years, 6 months ago) by ad
Branches: vmlocking
Diff to: previous 1.32.4.2: preferred, colored; branchpoint 1.32: preferred, colored
Changes since revision 1.32.4.2: +9 -19 lines
Sync with head.

Revision 1.32.4.2: download - view: text, markup, annotated - select for diffs
Fri Jun 8 14:15:02 2007 UTC (17 years, 6 months ago) by ad
Branches: vmlocking
Diff to: previous 1.32.4.1: preferred, colored; branchpoint 1.32: preferred, colored
Changes since revision 1.32.4.1: +42 -13 lines
Sync with head.

Revision 1.31.2.3: download - view: text, markup, annotated - select for diffs
Mon May 7 10:55:43 2007 UTC (17 years, 7 months ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.31.2.2: preferred, colored; branchpoint 1.31: preferred, colored; next MAIN 1.32: preferred, colored
Changes since revision 1.31.2.2: +3 -3 lines
sync with head.

Revision 1.34: download - view: text, markup, annotated - select for diffs
Sun Apr 29 20:23:36 2007 UTC (17 years, 7 months ago) by msaitoh
Branches: MAIN
CVS tags: yamt-idlelwp-base8, nick-csl-alignment-base, mjf-ufs-trans-base
Branch point for: nick-csl-alignment
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +3 -3 lines
fix typos

Revision 1.31.2.2: download - view: text, markup, annotated - select for diffs
Sun Apr 15 16:03:47 2007 UTC (17 years, 8 months ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.31.2.1: preferred, colored; branchpoint 1.31: preferred, colored
Changes since revision 1.31.2.1: +41 -12 lines
sync with head.

Revision 1.23.2.4: download - view: text, markup, annotated - select for diffs
Thu Apr 12 19:37:36 2007 UTC (17 years, 8 months ago) by bouyer
Branches: netbsd-4
CVS tags: netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1
Branch point for: wrstuden-fixsa
Diff to: previous 1.23.2.3: preferred, colored; branchpoint 1.23: preferred, colored
Changes since revision 1.23.2.3: +39 -10 lines
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 - view: text, markup, annotated - select for diffs
Thu Apr 12 01:56:36 2007 UTC (17 years, 8 months ago) by reinoud
Branches: MAIN
CVS tags: thorpej-atomic-base, thorpej-atomic
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +41 -12 lines
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 - view: text, markup, annotated - select for diffs
Thu Apr 5 21:57:49 2007 UTC (17 years, 8 months ago) by ad
Branches: vmlocking
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +18 -18 lines
Compile fixes.

Revision 1.31.2.1: download - view: text, markup, annotated - select for diffs
Tue Feb 27 16:54:15 2007 UTC (17 years, 9 months ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +5 -2 lines
- sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.

Revision 1.10.2.4: download - view: text, markup, annotated - select for diffs
Mon Feb 26 09:11:01 2007 UTC (17 years, 9 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.10.2.3: preferred, colored; branchpoint 1.10: preferred, colored
Changes since revision 1.10.2.3: +174 -72 lines
sync with head.

Revision 1.32: download - view: text, markup, annotated - select for diffs
Tue Feb 20 16:21:04 2007 UTC (17 years, 9 months ago) by ad
Branches: MAIN
CVS tags: reinoud-bufcleanup, ad-audiomp-base, ad-audiomp
Branch point for: vmlocking, mjf-ufs-trans
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +5 -2 lines
Call genfs_node_destroy() where appropriate.

Revision 1.15.2.3: download - view: text, markup, annotated - select for diffs
Thu Feb 1 08:48:35 2007 UTC (17 years, 10 months ago) by ad
Branches: newlock2
Diff to: previous 1.15.2.2: preferred, colored; branchpoint 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15.2.2: +25 -61 lines
Sync with head.

Revision 1.23.2.3: download - view: text, markup, annotated - select for diffs
Sun Jan 21 16:39:59 2007 UTC (17 years, 10 months ago) by bouyer
Branches: netbsd-4
Diff to: previous 1.23.2.2: preferred, colored; branchpoint 1.23: preferred, colored
Changes since revision 1.23.2.2: +25 -61 lines
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 - view: text, markup, annotated - select for diffs
Wed Jan 17 13:02:44 2007 UTC (17 years, 10 months ago) by reinoud
Branches: MAIN
CVS tags: post-newlock2-merge, newlock2-nbase, newlock2-base
Branch point for: yamt-idlelwp
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +12 -3 lines
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 - view: text, markup, annotated - select for diffs
Wed Jan 17 12:49:01 2007 UTC (17 years, 10 months ago) by reinoud
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +15 -60 lines
Use the generic clock_ymdhms_to_secs() instead of home-brewn version to
translate UDF timestamps to timespec.

Revision 1.15.2.2: download - view: text, markup, annotated - select for diffs
Fri Jan 12 01:04:05 2007 UTC (17 years, 11 months ago) by ad
Branches: newlock2
Diff to: previous 1.15.2.1: preferred, colored; branchpoint 1.15: preferred, colored
Changes since revision 1.15.2.1: +152 -17 lines
Sync with head.

Revision 1.23.2.2: download - view: text, markup, annotated - select for diffs
Thu Jan 4 19:55:50 2007 UTC (17 years, 11 months ago) by bouyer
Branches: netbsd-4
Diff to: previous 1.23.2.1: preferred, colored; branchpoint 1.23: preferred, colored
Changes since revision 1.23.2.1: +7 -4 lines
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 - view: text, markup, annotated - select for diffs
Thu Jan 4 19:51:47 2007 UTC (17 years, 11 months ago) by bouyer
Branches: netbsd-4
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +145 -13 lines
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 - view: text, markup, annotated - select for diffs
Thu Jan 4 04:18:00 2007 UTC (17 years, 11 months ago) by reinoud
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +3 -2 lines
Forgot one place for UDF_ICB_FILETYPE_RANDOMACCESS.

Revision 1.28: download - view: text, markup, annotated - select for diffs
Thu Jan 4 04:15:43 2007 UTC (17 years, 11 months ago) by reinoud
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +4 -2 lines
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 - view: text, markup, annotated - select for diffs
Thu Jan 4 02:42:19 2007 UTC (17 years, 11 months ago) by reinoud
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +4 -4 lines
Fix compilation issue when specifying different flags or compiling with a
different compiler. Thanks to Jared for noting.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Thu Jan 4 02:02:40 2007 UTC (17 years, 11 months ago) by reinoud
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +145 -13 lines
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 - view: text, markup, annotated - select for diffs
Sat Dec 30 20:50:01 2006 UTC (17 years, 11 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.10.2.2: preferred, colored; branchpoint 1.10: preferred, colored
Changes since revision 1.10.2.2: +58 -37 lines
sync with head.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Mon Dec 25 18:39:48 2006 UTC (17 years, 11 months ago) by wiz
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +4 -4 lines
Spell "separate" correctly. From Zafer Aydogan.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Mon Dec 25 18:36:05 2006 UTC (17 years, 11 months ago) by wiz
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +4 -4 lines
Spell "schedule" correctly. From Zafer Aydogan.

Revision 1.15.6.2: download - view: text, markup, annotated - select for diffs
Sun Dec 10 07:18:43 2006 UTC (18 years ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.15.6.1: preferred, colored; branchpoint 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15.6.1: +9 -9 lines
sync with head.

Revision 1.15.2.1: download - view: text, markup, annotated - select for diffs
Sat Nov 18 21:39:21 2006 UTC (18 years ago) by ad
Branches: newlock2
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +37 -20 lines
Sync with head.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Thu Nov 16 01:33:37 2006 UTC (18 years, 1 month ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, netbsd-4-base
Branch point for: netbsd-4
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +9 -9 lines
__unused removal on arguments; approved by core.

Revision 1.15.6.1: download - view: text, markup, annotated - select for diffs
Sun Oct 22 06:07:09 2006 UTC (18 years, 1 month ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +41 -24 lines
sync with head

Revision 1.22: download - view: text, markup, annotated - select for diffs
Thu Oct 12 01:32:14 2006 UTC (18 years, 2 months ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base2
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +10 -9 lines
- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386

Revision 1.21: download - view: text, markup, annotated - select for diffs
Wed Oct 4 13:03:17 2006 UTC (18 years, 2 months ago) by reinoud
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +5 -5 lines
Fix panic on unmounting VAT file systems. The VAT table was allocated and
freed on the wrong malloc type.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Tue Oct 3 15:54:03 2006 UTC (18 years, 2 months ago) by reinoud
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +8 -4 lines
Fix memory leaks on mounting and dismounting UDF volumes.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Thu Sep 28 19:57:26 2006 UTC (18 years, 2 months ago) by reinoud
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +11 -12 lines
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 - view: text, markup, annotated - select for diffs
Mon Sep 25 02:38:48 2006 UTC (18 years, 2 months ago) by riz
Branches: abandoned-netbsd-4
Diff to: previous 1.11.2.5: preferred, colored; branchpoint 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11.2.5: +14 -4 lines
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 - view: text, markup, annotated - select for diffs
Mon Sep 25 00:13:53 2006 UTC (18 years, 2 months ago) by riz
Branches: abandoned-netbsd-4
Diff to: previous 1.11.2.4: preferred, colored; branchpoint 1.11: preferred, colored
Changes since revision 1.11.2.4: +4 -3 lines
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 - view: text, markup, annotated - select for diffs
Mon Sep 25 00:00:40 2006 UTC (18 years, 2 months ago) by riz
Branches: abandoned-netbsd-4
Diff to: previous 1.11.2.3: preferred, colored; branchpoint 1.11: preferred, colored
Changes since revision 1.11.2.3: +3 -1 lines
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 - view: text, markup, annotated - select for diffs
Tue Sep 19 23:59:16 2006 UTC (18 years, 2 months ago) by reinoud
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +14 -4 lines
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 - view: text, markup, annotated - select for diffs
Tue Sep 19 22:00:38 2006 UTC (18 years, 2 months ago) by reinoud
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +4 -3 lines
Fix serious file-corruption issue on sparable partitions.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Tue Sep 19 15:34:23 2006 UTC (18 years, 2 months ago) by reinoud
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +5 -3 lines
Fix panic when the sparable table didn't read in correctly.

Revision 1.5.2.5: download - view: text, markup, annotated - select for diffs
Thu Sep 14 12:31:48 2006 UTC (18 years, 3 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.5.2.4: preferred, colored; branchpoint 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5.2.4: +3 -3 lines
sync with head.

Revision 1.15.4.2: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:57:06 2006 UTC (18 years, 3 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.15.4.1: preferred, colored; branchpoint 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15.4.1: +2852 -0 lines
sync with head

Revision 1.11.2.3: download - view: text, markup, annotated - select for diffs
Fri Sep 8 18:50:37 2006 UTC (18 years, 3 months ago) by rpaulo
Branches: abandoned-netbsd-4
Diff to: previous 1.11.2.2: preferred, colored; branchpoint 1.11: preferred, colored
Changes since revision 1.11.2.2: +1 -1 lines
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 (18 years, 3 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
FILE REMOVED
Changes since revision 1.15: +0 -2852 lines
file udf_subr.c was added on branch rpaulo-netinet-merge-pcb on 2006-09-09 02:57:06 +0000

Revision 1.15: download - view: text, markup, annotated - select for diffs
Tue Sep 5 22:30:52 2006 UTC (18 years, 3 months ago) by reinoud
Branches: MAIN
CVS tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, rpaulo-netinet-merge-pcb-base
Branch point for: yamt-splraiseipl, rpaulo-netinet-merge-pcb, newlock2
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Sun Sep 3 15:25:13 2006 UTC (18 years, 3 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.5.2.3: preferred, colored; branchpoint 1.5: preferred, colored
Changes since revision 1.5.2.3: +16 -12 lines
sync with head.

Revision 1.11.2.2: download - view: text, markup, annotated - select for diffs
Sun Aug 27 01:15:35 2006 UTC (18 years, 3 months ago) by riz
Branches: abandoned-netbsd-4
Diff to: previous 1.11.2.1: preferred, colored; branchpoint 1.11: preferred, colored
Changes since revision 1.11.2.1: +8 -7 lines
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 - view: text, markup, annotated - select for diffs
Thu Aug 24 12:44:26 2006 UTC (18 years, 3 months ago) by tron
Branches: abandoned-netbsd-4
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +9 -6 lines
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 - view: text, markup, annotated - select for diffs
Tue Aug 22 16:52:41 2006 UTC (18 years, 3 months ago) by reinoud
Branches: MAIN
CVS tags: yamt-pdpolicy-base8
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +10 -9 lines
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 - view: text, markup, annotated - select for diffs
Mon Aug 21 23:52:19 2006 UTC (18 years, 3 months ago) by reinoud
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +9 -6 lines
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 - view: text, markup, annotated - select for diffs
Fri Aug 11 23:15:30 2006 UTC (18 years, 4 months ago) by reinoud
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +3 -3 lines
Fix comment; it stated a mimimum of 128 translations duh! a maximum it is!

Revision 1.5.2.3: download - view: text, markup, annotated - select for diffs
Fri Aug 11 15:45:34 2006 UTC (18 years, 4 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.5.2.2: preferred, colored; branchpoint 1.5: preferred, colored
Changes since revision 1.5.2.2: +4 -4 lines
sync with head

Revision 1.9.2.1: download - view: text, markup, annotated - select for diffs
Thu Jul 13 17:49:50 2006 UTC (18 years, 5 months ago) by gdamore
Branches: gdamore-uart
Diff to: previous 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9: +12 -7 lines
Merge from HEAD.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Sun Jul 9 13:58:47 2006 UTC (18 years, 5 months ago) by reinoud
Branches: MAIN
CVS tags: yamt-pdpolicy-base7, abandoned-netbsd-4-base
Branch point for: abandoned-netbsd-4
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +4 -4 lines
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 - view: text, markup, annotated - select for diffs
Mon Jun 26 12:52:56 2006 UTC (18 years, 5 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.5.2.1: preferred, colored; branchpoint 1.5: preferred, colored
Changes since revision 1.5.2.1: +150 -140 lines
sync with head.

Revision 1.10.2.2: download - view: text, markup, annotated - select for diffs
Wed Jun 21 15:09:36 2006 UTC (18 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.10.2.1: preferred, colored; branchpoint 1.10: preferred, colored
Changes since revision 1.10.2.1: +2848 -0 lines
sync with head.

Revision 1.10.2.1
Tue Jun 20 03:22:12 2006 UTC (18 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
FILE REMOVED
Changes since revision 1.10: +0 -2848 lines
file udf_subr.c was added on branch yamt-lazymbuf on 2006-06-21 15:09:36 +0000

Revision 1.10: download - view: text, markup, annotated - select for diffs
Tue Jun 20 03:22:12 2006 UTC (18 years, 5 months ago) by christos
Branches: MAIN
CVS tags: yamt-pdpolicy-base6
Branch point for: yamt-lazymbuf
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +10 -5 lines
Don't allocate too much stuff on the stack.

Revision 1.8.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 19 04:07:15 2006 UTC (18 years, 5 months ago) by chap
Branches: chap-midi
Diff to: previous 1.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8: +142 -137 lines
Sync with head.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Mon Jun 12 00:18:06 2006 UTC (18 years, 6 months ago) by christos
Branches: MAIN
CVS tags: gdamore-uart-base, chap-midi-nbase, chap-midi-base
Branch point for: gdamore-uart
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +142 -137 lines
stack polics: Don't allocate 4K on the stack.
remove ; from };

Revision 1.2.2.2: download - view: text, markup, annotated - select for diffs
Thu Jun 1 22:38:05 2006 UTC (18 years, 6 months ago) by kardel
Branches: simonb-timecounters
CVS tags: simonb-timcounters-final
Diff to: previous 1.2.2.1: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.2.1: +5 -4 lines
Sync with head.

Revision 1.5.6.1: download - view: text, markup, annotated - select for diffs
Wed May 24 15:50:40 2006 UTC (18 years, 6 months ago) by tron
Branches: peter-altq
Diff to: previous 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5: +5 -4 lines
Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.

Revision 1.5.2.1: download - view: text, markup, annotated - select for diffs
Wed May 24 10:58:40 2006 UTC (18 years, 6 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +5 -4 lines
sync with head.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Mon May 15 00:05:16 2006 UTC (18 years, 7 months ago) by christos
Branches: MAIN
CVS tags: yamt-pdpolicy-base5, simonb-timecounters-base
Branch point for: chap-midi
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +3 -2 lines
kauth fallout

Revision 1.7: download - view: text, markup, annotated - select for diffs
Sun May 14 21:31:52 2006 UTC (18 years, 7 months ago) by elad
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +3 -3 lines
integrate kauth.

Revision 1.5.4.2: download - view: text, markup, annotated - select for diffs
Thu May 11 23:30:14 2006 UTC (18 years, 7 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.5.4.1: preferred, colored; branchpoint 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5.4.1: +3 -3 lines
sync with head

Revision 1.6: download - view: text, markup, annotated - select for diffs
Tue Apr 25 02:19:31 2006 UTC (18 years, 7 months ago) by snj
Branches: MAIN
CVS tags: elad-kernelauth-base
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +3 -3 lines
s/allready/already/

Revision 1.2.2.1: download - view: text, markup, annotated - select for diffs
Sat Apr 22 11:39:58 2006 UTC (18 years, 7 months ago) by simonb
Branches: simonb-timecounters
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +10 -7 lines
Sync with head.

Revision 1.5.4.1: download - view: text, markup, annotated - select for diffs
Wed Mar 8 01:31:33 2006 UTC (18 years, 9 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +3 -3 lines
Adapt to kernel authorization KPI.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Wed Mar 1 12:38:21 2006 UTC (18 years, 9 months ago) by yamt
Branches: 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
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Wed Mar 1 09:34:56 2006 UTC (18 years, 9 months ago) by yamt
Branches: yamt-uio_vmspace
Diff to: previous 1.4.2.2: preferred, colored; branchpoint 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4.2.2: +3 -3 lines
adapt udf.

Revision 1.4.2.2: download - view: text, markup, annotated - select for diffs
Sat Feb 18 15:39:18 2006 UTC (18 years, 9 months ago) by yamt
Branches: yamt-uio_vmspace
Diff to: previous 1.4.2.1: preferred, colored; branchpoint 1.4: preferred, colored
Changes since revision 1.4.2.1: +2837 -0 lines
sync with head.

Revision 1.4.2.1
Sat Feb 4 23:21:43 2006 UTC (18 years, 10 months ago) by yamt
Branches: yamt-uio_vmspace
FILE REMOVED
Changes since revision 1.4: +0 -2837 lines
file udf_subr.c was added on branch yamt-uio_vmspace on 2006-02-18 15:39:18 +0000

Revision 1.4: download - view: text, markup, annotated - select for diffs
Sat Feb 4 23:21:43 2006 UTC (18 years, 10 months ago) by reinoud
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5
Branch point for: yamt-uio_vmspace
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +3 -3 lines
VND and harddiscs have their own defect free space management.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sat Feb 4 21:29:11 2006 UTC (18 years, 10 months ago) by reinoud
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +8 -5 lines
Change a comment into a TODO and fix up case where we could return an
illegal allready-freed memory space.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Thu Feb 2 15:38:35 2006 UTC (18 years, 10 months ago) by reinoud
Branches: MAIN
Branch point for: simonb-timecounters
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -2 lines
Fix $NetBSD$ tags. (sorry)

Revision 1.1: download - view: text, markup, annotated - select for diffs
Thu Feb 2 15:19:16 2006 UTC (18 years, 10 months ago) by reinoud
Branches: MAIN
Initial import of a UDF file system implementation for NetBSD.

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

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

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

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

Diff request

This form allows you to request diffs 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.

Log view options

CVSweb <webmaster@jp.NetBSD.org>