The NetBSD Project

CVS log for src/sys/fs/msdosfs/denode.h

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.19.14.3 / (download) - annotate - [select for diffs], Wed Aug 20 00:04:26 2014 UTC (2 months ago) by tls
Branch: tls-maxphys
Changes since 1.19.14.2: +14 -5 lines
Diff to previous 1.19.14.2 (colored) to branchpoint 1.19 (colored) next main 1.20 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.23.10.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:55:53 2014 UTC (2 months, 2 weeks ago) by tls
Branch: tls-earlyentropy
Changes since 1.23: +14 -5 lines
Diff to previous 1.23 (colored) next main 1.24 (colored)

Rebase.

Revision 1.24 / (download) - annotate - [select for diffs], Tue Jul 8 09:21:52 2014 UTC (3 months, 2 weeks ago) by hannken
Branch: MAIN
CVS Tags: tls-maxphys-base, tls-earlyentropy-base, netbsd-7-base, netbsd-7, HEAD
Changes since 1.23: +14 -5 lines
Diff to previous 1.23 (colored)

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

Revision 1.19.4.2 / (download) - annotate - [select for diffs], Thu May 22 11:41:00 2014 UTC (5 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.19.4.1: +17 -6 lines
Diff to previous 1.19.4.1 (colored) to branchpoint 1.19 (colored) next main 1.20 (colored)

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.19.14.2 / (download) - annotate - [select for diffs], Mon Feb 25 00:29:47 2013 UTC (19 months, 4 weeks ago) by tls
Branch: tls-maxphys
Changes since 1.19.14.1: +17 -6 lines
Diff to previous 1.19.14.1 (colored) to branchpoint 1.19 (colored)

resync with head

Revision 1.23 / (download) - annotate - [select for diffs], Sat Jan 26 19:45:02 2013 UTC (20 months, 4 weeks ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base9, rmind-smpnet-nbase, rmind-smpnet-base, rmind-smpnet, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900, agc-symver-base, agc-symver
Branch point for: tls-earlyentropy
Changes since 1.22: +2 -2 lines
Diff to previous 1.22 (colored)

fix fstat build.

Revision 1.22 / (download) - annotate - [select for diffs], Sat Jan 26 16:51:51 2013 UTC (20 months, 4 weeks ago) by christos
Branch: MAIN
Changes since 1.21: +13 -4 lines
Diff to previous 1.21 (colored)

more cross-compile friendly.

Revision 1.21 / (download) - annotate - [select for diffs], Sat Jan 26 00:21:49 2013 UTC (20 months, 4 weeks ago) by christos
Branch: MAIN
Changes since 1.20: +5 -3 lines
Diff to previous 1.20 (colored)

expose more stuff if MAKEFS is defined for the headers, and arrange for
the source file to be compilable from userland.

Revision 1.19.4.1 / (download) - annotate - [select for diffs], Wed Jan 16 05:33:39 2013 UTC (21 months, 1 week ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.19: +7 -7 lines
Diff to previous 1.19 (colored)

sync with (a bit old) head

Revision 1.19.14.1 / (download) - annotate - [select for diffs], Tue Nov 20 03:02:39 2012 UTC (23 months ago) by tls
Branch: tls-maxphys
Changes since 1.19: +7 -7 lines
Diff to previous 1.19 (colored)

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

Revision 1.20 / (download) - annotate - [select for diffs], Sun Nov 4 17:57:59 2012 UTC (23 months, 3 weeks ago) by jakllsch
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7
Changes since 1.19: +7 -7 lines
Diff to previous 1.19 (colored)

Stylistic changes in comments/strings:
"FAT" and "fat" are different things, use the appropriate case.
"GEMDOS" is all caps.

Revision 1.18.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:09:22 2011 UTC (3 years, 4 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.18: +5 -3 lines
Diff to previous 1.18 (colored) next main 1.19 (colored)

Sync with HEAD.

Revision 1.16.40.2 / (download) - annotate - [select for diffs], Thu Apr 21 01:42:06 2011 UTC (3 years, 6 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.16.40.1: +5 -3 lines
Diff to previous 1.16.40.1 (colored) to branchpoint 1.16 (colored) next main 1.17 (colored)

sync with head

Revision 1.19 / (download) - annotate - [select for diffs], Mon Apr 4 19:16:58 2011 UTC (3 years, 6 months ago) by hannken
Branch: MAIN
CVS Tags: yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, rmind-uvmplock-nbase, rmind-uvmplock-base, netbsd-6-base, 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, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, 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-base10, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp
Branch point for: yamt-pagecache, tls-maxphys
Changes since 1.18: +5 -3 lines
Diff to previous 1.18 (colored)

Msdosfs on-disk meta data is not sufficient to create or validate file handles.

Maintain a tree of file handles, create nodes from msdosfs_vptofh() and keep
them until either the file gets unlinked or the file system gets unmounted.

Fixes the msdosfs part of PR #43745 (fhopen of an unlinked file causes problems
on multiple file systems)

Revision 1.16.18.1 / (download) - annotate - [select for diffs], Wed Aug 11 22:54:33 2010 UTC (4 years, 2 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.16: +1 -6 lines
Diff to previous 1.16 (colored) next main 1.17 (colored)

sync with head.

Revision 1.16.40.1 / (download) - annotate - [select for diffs], Sun May 30 05:17:55 2010 UTC (4 years, 4 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.16: +1 -6 lines
Diff to previous 1.16 (colored)

sync with head

Revision 1.16.38.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:44:06 2010 UTC (4 years, 5 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.16: +1 -6 lines
Diff to previous 1.16 (colored) next main 1.17 (colored)

Sync with HEAD.

Revision 1.18 / (download) - annotate - [select for diffs], Thu Apr 8 16:04:35 2010 UTC (4 years, 6 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, matt-mips64-premerge-20101231, jruoho-x86intr-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: jruoho-x86intr
Changes since 1.17: +1 -4 lines
Diff to previous 1.17 (colored)

In genfs where available.

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

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

Use genfs instead of homegrown stuff where possible.

Revision 1.15.10.1 / (download) - annotate - [select for diffs], Wed Jan 9 01:55:43 2008 UTC (6 years, 9 months ago) by matt
Branch: matt-armv6
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored) next main 1.16 (colored)

sync with HEAD

Revision 1.15.16.1 / (download) - annotate - [select for diffs], Sat Dec 8 18:20:15 2007 UTC (6 years, 10 months ago) by mjf
Branch: mjf-devfs
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored) next main 1.16 (colored)

Sync with HEAD.

Revision 1.4.16.4 / (download) - annotate - [select for diffs], Fri Dec 7 17:31:57 2007 UTC (6 years, 10 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.4.16.3: +2 -2 lines
Diff to previous 1.4.16.3 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)

sync with head

Revision 1.15.8.1 / (download) - annotate - [select for diffs], Tue Nov 27 19:37:40 2007 UTC (6 years, 10 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored) next main 1.16 (colored)

Sync with HEAD. amd64 Xen support needs testing.

Revision 1.16 / (download) - annotate - [select for diffs], Mon Nov 26 19:01:46 2007 UTC (6 years, 11 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-nfs-mp-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, yamt-nfs-mp-base2, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, uebayasi-xip-base, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, nick-net80211-sync-base, nick-net80211-sync, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, nick-hppapmap, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, mjf-devfs2-base, mjf-devfs2, mjf-devfs-base, matt-premerge-20091211, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, jmcneill-pm-base, hpcarm-cleanup-nbase, hpcarm-cleanup-base, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, ad-socklock-base1, ad-audiomp2-base, ad-audiomp2
Branch point for: yamt-nfs-mp, uebayasi-xip, rmind-uvmplock
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)

Remove the "struct lwp *" argument from all VFS and VOP interfaces.
The general trend is to remove it from all kernel interfaces and
this is a start.  In case the calling lwp is desired, curlwp should
be used.

quick consensus on tech-kern

Revision 1.4.16.3 / (download) - annotate - [select for diffs], Mon Sep 3 14:40:24 2007 UTC (7 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.4.16.2: +2 -2 lines
Diff to previous 1.4.16.2 (colored) to branchpoint 1.4 (colored)

sync with head.

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

Sync with head.

Revision 1.14.4.1 / (download) - annotate - [select for diffs], Sun Apr 15 16:03:45 2007 UTC (7 years, 6 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored) next main 1.15 (colored)

sync with head.

Revision 1.14.8.1 / (download) - annotate - [select for diffs], Tue Apr 10 13:26:35 2007 UTC (7 years, 6 months ago) by ad
Branch: vmlocking
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored) next main 1.15 (colored)

Sync with head.

Revision 1.15 / (download) - annotate - [select for diffs], Mon Apr 9 12:21:25 2007 UTC (7 years, 6 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-idlelwp-base8, vmlocking-base, thorpej-atomic-base, thorpej-atomic, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, jmcneill-base, hpcarm-cleanup, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64
Branch point for: mjf-devfs, matt-armv6, jmcneill-pm
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

fix comment: struct fid is in fstypes.h now

Revision 1.4.16.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:49:56 2006 UTC (7 years, 9 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.4.16.1: +10 -2 lines
Diff to previous 1.4.16.1 (colored) to branchpoint 1.4 (colored)

sync with head.

Revision 1.13.8.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:39:18 2006 UTC (7 years, 11 months ago) by ad
Branch: newlock2
Changes since 1.13: +10 -2 lines
Diff to previous 1.13 (colored) next main 1.14 (colored)

Sync with head.

Revision 1.13.10.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:07:06 2006 UTC (8 years ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.13: +10 -2 lines
Diff to previous 1.13 (colored) next main 1.14 (colored)

sync with head

Revision 1.4.14.4 / (download) - annotate - [select for diffs], Fri Oct 6 19:42:51 2006 UTC (8 years ago) by ghen
Branch: netbsd-3
CVS Tags: netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-1-RELEASE, netbsd-3-1
Changes since 1.4.14.3: +9 -1 lines
Diff to previous 1.4.14.3 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)

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

Revision 1.13.6.1 / (download) - annotate - [select for diffs], Sat Sep 23 09:25:38 2006 UTC (8 years, 1 month ago) by ghen
Branch: abandoned-netbsd-4
Changes since 1.13: +9 -1 lines
Diff to previous 1.13 (colored) next main 1.14 (colored)

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

Revision 1.14 / (download) - annotate - [select for diffs], Fri Sep 22 17:45:21 2006 UTC (8 years, 1 month ago) by xtraeme
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, reinoud-bufcleanup, post-newlock2-merge, newlock2-nbase, newlock2-base, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, matt-nb4-arm-base, matt-nb4-arm, ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp, vmlocking, mjf-ufs-trans
Changes since 1.13: +10 -2 lines
Diff to previous 1.13 (colored)

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

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

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

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

All that from Rhialto, thank you very much.

Revision 1.12.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:56:57 2006 UTC (8 years, 1 month ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.12: +4 -4 lines
Diff to previous 1.12 (colored) next main 1.13 (colored)

sync with head

Revision 1.4.16.1 / (download) - annotate - [select for diffs], Wed Jun 21 15:09:29 2006 UTC (8 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.4: +59 -58 lines
Diff to previous 1.4 (colored)

sync with head.

Revision 1.12.6.1 / (download) - annotate - [select for diffs], Thu Jun 1 22:37:51 2006 UTC (8 years, 4 months ago) by kardel
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.12: +4 -4 lines
Diff to previous 1.12 (colored) next main 1.13 (colored)

Sync with head.

Revision 1.12.12.1 / (download) - annotate - [select for diffs], Wed May 24 15:50:34 2006 UTC (8 years, 5 months ago) by tron
Branch: peter-altq
Changes since 1.12: +4 -4 lines
Diff to previous 1.12 (colored) next main 1.13 (colored)

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

Revision 1.12.8.1 / (download) - annotate - [select for diffs], Wed May 24 10:58:35 2006 UTC (8 years, 5 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.12: +4 -4 lines
Diff to previous 1.12 (colored) next main 1.13 (colored)

sync with head.

Revision 1.13 / (download) - annotate - [select for diffs], Sun May 14 21:31:52 2006 UTC (8 years, 5 months ago) by elad
Branch: MAIN
CVS Tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, simonb-timecounters-base, rpaulo-netinet-merge-pcb-base, gdamore-uart-base, gdamore-uart, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base
Branch point for: yamt-splraiseipl, newlock2, abandoned-netbsd-4
Changes since 1.12: +4 -4 lines
Diff to previous 1.12 (colored)

integrate kauth.

Revision 1.12.10.1 / (download) - annotate - [select for diffs], Wed Mar 8 01:31:33 2006 UTC (8 years, 7 months ago) by elad
Branch: elad-kernelauth
Changes since 1.12: +4 -4 lines
Diff to previous 1.12 (colored) next main 1.13 (colored)

Adapt to kernel authorization KPI.

Revision 1.12 / (download) - annotate - [select for diffs], Sun Dec 11 12:24:25 2005 UTC (8 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, peter-altq-base, elad-kernelauth-base
Branch point for: yamt-pdpolicy, simonb-timecounters, rpaulo-netinet-merge-pcb, peter-altq, elad-kernelauth
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)

merge ktrace-lwp.

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

Sync with head.

Revision 1.11 / (download) - annotate - [select for diffs], Sat Dec 3 17:34:43 2005 UTC (8 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: ktrace-lwp-base
Changes since 1.10: +4 -1 lines
Diff to previous 1.10 (colored)

- protect userland exported files against multiple inclusion.
- make sure that kernel only files don't compile in userland using #error
- XXX: some kernel only files still get installed.
- XXX: some files used in userland, don't get installed.

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

Sync with HEAD. Here we go again...

Revision 1.4.14.3 / (download) - annotate - [select for diffs], Sun Nov 6 13:32:22 2005 UTC (8 years, 11 months ago) by tron
Branch: netbsd-3
CVS Tags: netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0
Changes since 1.4.14.2: +4 -2 lines
Diff to previous 1.4.14.2 (colored) to branchpoint 1.4 (colored)

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

Revision 1.4.6.2 / (download) - annotate - [select for diffs], Sun Nov 6 00:46:50 2005 UTC (8 years, 11 months ago) by riz
Branch: netbsd-2
Changes since 1.4.6.1: +4 -2 lines
Diff to previous 1.4.6.1 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)

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

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

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

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

merge yamt-vop branch.  remove following VOPs.

	VOP_BLKATOFF
	VOP_VALLOC
	VOP_BALLOC
	VOP_REALLOCBLKS
	VOP_VFREE
	VOP_TRUNCATE
	VOP_UPDATE

Revision 1.8.2.1 / (download) - annotate - [select for diffs], Thu Oct 20 03:18:45 2005 UTC (9 years ago) by yamt
Branch: yamt-vop
Changes since 1.8: +4 -4 lines
Diff to previous 1.8 (colored) next main 1.9 (colored)

adapt msdosfs.

Revision 1.8 / (download) - annotate - [select for diffs], Mon Sep 12 16:24:41 2005 UTC (9 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, thorpej-vnode-attr-base, thorpej-vnode-attr
Branch point for: yamt-vop
Changes since 1.7: +5 -15 lines
Diff to previous 1.7 (colored)

Use nanotime() to update the time fields in filesystems. Convert the code
from macros to real functions. Original patch and review from chuq.
Note: ext2fs only keeps seconds in the on-disk inode, and msdosfs does not
have enough precision for all fields, so this is not very useful for those
two.

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

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

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

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

Revision 1.4.14.2 / (download) - annotate - [select for diffs], Fri Sep 2 15:21:23 2005 UTC (9 years, 1 month ago) by riz
Branch: netbsd-3
Changes since 1.4.14.1: +4 -1 lines
Diff to previous 1.4.14.1 (colored) to branchpoint 1.4 (colored)

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

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

Remove __P()

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

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

From OpenBSD.

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

Revision 1.4.14.1 / (download) - annotate - [select for diffs], Wed Aug 24 18:43:38 2005 UTC (9 years, 2 months ago) by riz
Branch: netbsd-3
Changes since 1.4: +2 -1 lines
Diff to previous 1.4 (colored)

Pull up following revision(s) (requested by yamt in ticket #688):
	sys/miscfs/genfs/genfs_vnops.c: revision 1.98 via patch
	sys/ufs/ffs/ffs_vfsops.c: revision 1.165
	sys/ufs/lfs/lfs_extern.h: revision 1.69
	sys/fs/filecorefs/filecore_vfsops.c: revision 1.20
	sys/nfs/nfs_node.c: revision 1.80
	sys/fs/smbfs/smbfs_node.c: revision 1.24
	sys/fs/cd9660/cd9660_vfsops.c: revision 1.24
	sys/fs/msdosfs/msdosfs_denode.c: revision 1.8
	sys/miscfs/genfs/genfs_node.h: revision 1.6
	sys/ufs/lfs/lfs_vfsops.c: revision 1.183
	sys/ufs/ext2fs/ext2fs_vfsops.c: revision 1.86
	sys/fs/adosfs/advfsops.c: revision 1.23
	sys/fs/ntfs/ntfs_vfsops.c: revision 1.31
- constify genfs_ops.
- use member designators.

        sys/miscfs/genfs/genfs_vnops.c: revision 1.99 via patch
genfs_getpages: don't forget to put the vnode onto the syncer's work que
ue
even in the case of PGO_LOCKED.

        sys/uvm/uvm_bio.c: revision 1.40
        sys/uvm/uvm_pager.h: revision 1.29
        sys/miscfs/genfs/genfs_vnops.c: revision 1.100 via patch
        sys/ufs/ufs/ufs_inode.c: revision 1.50
- introduce PGO_NOBLOCKALLOC and use it for ubc mapping
  to prevent unnecessary block allocations in the case that
  page size > block size.
- ufs_balloc_range: use VM_PROT_WRITE+PGO_NOBLOCKALLOC rather than
  VM_PROT_READ.

        sys/uvm/uvm_fault.c: revision 1.96
        sys/miscfs/genfs/genfs_vnops.c: revision 1.101 via patch
        sys/uvm/uvm_object.h: revision 1.19
        sys/miscfs/genfs/genfs_node.h: revision 1.7
ensure that vnodes with dirty pages are always on syncer's queue.
- genfs_putpages: wait for i/o completion of PG_RELEASED/PG_PAGEOUT pages by
  setting "wasclean" false when encountering them.
  suggested by Stephan Uphoff in PR/24596 (1).
- genfs_putpages: write protect pages when cleaning out, if
  we're going to take the vnode off the syncer's queue.
  uvm_fault: don't write-map pages unless its vnode is already on
  the syncer's queue.
  fix PR/24596 (3) but in the different way from the suggested fix.
  (to keep our current behaviour, ie. not to require explicit msync.
  discussed on tech-kern@.)
- genfs_putpages: don't mistakenly take a vnode off the queue
  by introducing a generation number in genfs_node.
  genfs_getpages: increment the generation number.
  suggested by Stephan Uphoff in PR/24596 (2).
- add some assertions.

        sys/miscfs/genfs/genfs_vnops.c: revision 1.102 via patch
genfs_putpages: don't bother to clean the vnode unless VONWORKLST.

        sys/ufs/ffs/ffs_vnops.c: revision 1.71
ffs_full_fsync: because VBLK/VCHR can be mmap'ed,
do VOP_PUTPAGES for them as well.

        sys/uvm/uvm_fault.c: revision 1.97
uvm_fault: check a correct object in the case of layered filesystems.
fix PR/30811 from Jukka Salmi.

        sys/uvm/uvm_object.h: revision 1.20
        sys/ufs/ffs/ffs_vfsops.c: revision 1.167
        sys/uvm/uvm_bio.c: revision 1.41
        sys/ufs/ufs/ufs_vnops.c: revision 1.129
        sys/uvm/uvm_mmap.c: revision 1.92
        sys/uvm/uvm_fault.c: revision 1.98
        sys/kern/vfs_subr.c: revision 1.252
        sys/fs/msdosfs/denode.h: revision 1.5
        sys/miscfs/genfs/genfs_vnops.c: revision 1.103 via patch
        sys/fs/msdosfs/msdosfs_denode.c: revision 1.9
        sys/sys/vnode.h: revision 1.141
        sys/ufs/ufs/ufs_inode.c: revision 1.51
        sys/ufs/ufs/ufs_extern.h: revision 1.45 via patch
        sys/miscfs/genfs/genfs_node.h: revision 1.8
        sys/ufs/lfs/lfs_vfsops.c: revision 1.184
        sys/uvm/uvm_pager.h: revision 1.30
        sys/ufs/ext2fs/ext2fs_vfsops.c: revision 1.87
update file timestamps for nfsd loaned-read and mmap.
PR/25279.  discussed on tech-kern@.

        sys/miscfs/genfs/genfs_vnops.c: revision 1.104 via patch
don't write-protect wired pages.  pointed by Chuck Silvers.
for now, leave a vnode on the syncer's queue, as suggested by him.

        sys/ufs/ffs/ffs_vnops.c: revision 1.72
revert VCHR part of ffs_vnops.c 1.71.
as VCHR uses the device pager, no point to call VOP_PUTPAGES here.
pointed by Chuck Silvers.

Revision 1.5 / (download) - annotate - [select for diffs], Sat Jul 23 12:18:41 2005 UTC (9 years, 3 months ago) by yamt
Branch: MAIN
Changes since 1.4: +2 -1 lines
Diff to previous 1.4 (colored)

update file timestamps for nfsd loaned-read and mmap.
PR/25279.  discussed on tech-kern@.

Revision 1.3.2.4 / (download) - annotate - [select for diffs], Tue Sep 21 13:35:01 2004 UTC (10 years, 1 month ago) by skrll
Branch: ktrace-lwp
Changes since 1.3.2.3: +2 -2 lines
Diff to previous 1.3.2.3 (colored)

Fix the sync with head I botched.

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

Sync with HEAD.

Revision 1.3.2.2 / (download) - annotate - [select for diffs], Tue Aug 3 10:52:42 2004 UTC (10 years, 2 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.3.2.1: +5 -5 lines
Diff to previous 1.3.2.1 (colored)

Sync with HEAD

Revision 1.4 / (download) - annotate - [select for diffs], Sun Sep 7 22:09:11 2003 UTC (11 years, 1 month ago) by itojun
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, netbsd-3-base, netbsd-2-base, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, matt-timespec, kent-audio2-base, kent-audio2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-lazymbuf, netbsd-3, netbsd-2-0, netbsd-2
Changes since 1.3: +5 -5 lines
Diff to previous 1.3 (colored)

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

Revision 1.3.2.1 / (download) - annotate - [select for diffs], Wed Jul 2 15:26:29 2003 UTC (11 years, 3 months ago) by darrenr
Branch: ktrace-lwp
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

Apply the aborted ktrace-lwp changes to a specific branch.  This is just for
others to review, I'm concerned that patch fuziness may have resulted in some
errant code being generated but I'll look at that later by comparing the diff
from the base to the branch with the file I attempt to apply to it.  This will,
at the very least, put the changes in a better context for others to review
them and attempt to tinker with removing passing of 'struct lwp' through
the kernel.

Revision 1.3 / (download) - annotate - [select for diffs], Sun Jun 29 22:31:09 2003 UTC (11 years, 3 months ago) by fvdl
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.2: +1 -1 lines
Diff to previous 1.2 (colored)

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

Revision 1.2 / (download) - annotate - [select for diffs], Sat Jun 28 14:21:49 2003 UTC (11 years, 4 months ago) by darrenr
Branch: MAIN
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored)

Pass lwp pointers throughtout the kernel, as required, so that the lwpid can
be inserted into ktrace records.  The general change has been to replace
"struct proc *" with "struct lwp *" in various function prototypes, pass
the lwp through and use l_proc to get the process pointer when needed.

Bump the kernel rev up to 1.6V

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

With with HEAD.

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

file denode.h was added on branch nathanw_sa on 2002-12-29 19:55:57 +0000

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

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

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>