The NetBSD Project

CVS log for src/sys/fs/tmpfs/tmpfs.h

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.45.12.1 / (download) - annotate - [select for diffs], Wed Aug 20 00:04:28 2014 UTC (2 months ago) by tls
Branch: tls-maxphys
Changes since 1.45: +47 -76 lines
Diff to previous 1.45 (colored) next main 1.46 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.48.2.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:55:54 2014 UTC (2 months, 2 weeks ago) by tls
Branch: tls-earlyentropy
Changes since 1.48: +2 -8 lines
Diff to previous 1.48 (colored) next main 1.49 (colored)

Rebase.

Revision 1.50 / (download) - annotate - [select for diffs], Sat Jun 7 09:54:34 2014 UTC (4 months, 2 weeks ago) by martin
Branch: MAIN
CVS Tags: tls-maxphys-base, tls-earlyentropy-base, netbsd-7-base, netbsd-7, HEAD
Changes since 1.49: +1 -8 lines
Diff to previous 1.49 (colored)

Remove the hardcoded 4 MB free kernel memory limit and replace it
by uvmexp.freetarg, as discussed on tech-kern.
Main purpose is to make tmpfs usable (as far as possible) on small memory
machines.
This is a bit experimental, but we need to give it some real world exposure
to see how well it works.

Revision 1.45.2.1 / (download) - annotate - [select for diffs], Thu May 22 11:41:02 2014 UTC (5 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.45: +47 -69 lines
Diff to previous 1.45 (colored) next main 1.46 (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.45.16.1 / (download) - annotate - [select for diffs], Sun May 18 17:46:06 2014 UTC (5 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.45: +47 -69 lines
Diff to previous 1.45 (colored) next main 1.46 (colored)

sync with head

Revision 1.49 / (download) - annotate - [select for diffs], Wed Apr 30 01:33:51 2014 UTC (5 months, 3 weeks ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base9, rmind-smpnet-nbase, rmind-smpnet-base
Changes since 1.48: +2 -1 lines
Diff to previous 1.48 (colored)

handle MNT_UPDATE

Revision 1.48 / (download) - annotate - [select for diffs], Sat Nov 23 16:35:32 2013 UTC (11 months ago) by rmind
Branch: MAIN
CVS Tags: riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3
Branch point for: tls-earlyentropy
Changes since 1.47: +10 -17 lines
Diff to previous 1.47 (colored)

- Simplify tmpfs_update(), eliminate tmpfs_note_t::tn_status and deferred
  timestamp updates.  Fix some incorrect updates and plug some missing ones.
  Should fix PR/48385.
- tmpfs_rmdir: avoid O(n) scan when the directory is not empty and whiteout
  entries were never added.

Revision 1.47 / (download) - annotate - [select for diffs], Mon Nov 18 01:39:34 2013 UTC (11 months ago) by rmind
Branch: MAIN
Changes since 1.46: +5 -5 lines
Diff to previous 1.46 (colored)

Make tmpfs_node_t::tn_gen a 32-bit number, keep it in sync with tmpfs_fid_t.
Also, change tn_status to unsigned while here.

Revision 1.46 / (download) - annotate - [select for diffs], Fri Nov 8 15:44:23 2013 UTC (11 months, 2 weeks ago) by rmind
Branch: MAIN
Changes since 1.45: +36 -52 lines
Diff to previous 1.45 (colored)

tmpfs: replace the broken tmpfs_dircookie() logic which uses the node
address truncated to 31 bits (required for 32-bit readdir compatibility,
e.g. linux32).  Instead, assign 2^31 range using the following logic:
- The first half of the 2^31 is assigned incrementally (the fast path).
- When exceeded, use the second half of 2^31, but manage with vmem(9).

It will require 2 billion files per-directory to trigger vmem(9) usage.
Also, while here, add some fixes for tmpfs_unmount().

Should fix PR/47739, PR/47480, PR/46088 and PR/41068.
Thanks to wiz@ for stress testing.

Revision 1.45 / (download) - annotate - [select for diffs], Tue Sep 27 01:10:43 2011 UTC (3 years ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-tag8, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, 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, khorben-n900, 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, agc-symver-base, agc-symver
Branch point for: yamt-pagecache, tls-maxphys, rmind-smpnet
Changes since 1.44: +3 -2 lines
Diff to previous 1.44 (colored)

define and use TMPFS_MAXNAMLEN instead of MAXNAMLEN

Revision 1.39.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:09:24 2011 UTC (3 years, 4 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.39: +173 -277 lines
Diff to previous 1.39 (colored) next main 1.40 (colored)

Sync with HEAD.

Revision 1.37.16.3 / (download) - annotate - [select for diffs], Tue May 31 03:04:59 2011 UTC (3 years, 4 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.37.16.2: +172 -276 lines
Diff to previous 1.37.16.2 (colored) to branchpoint 1.37 (colored) next main 1.38 (colored)

sync with head

Revision 1.44 / (download) - annotate - [select for diffs], Sun May 29 22:29:06 2011 UTC (3 years, 4 months ago) by rmind
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase, rmind-uvmplock-base, cherry-xenmp-base, cherry-xenmp
Changes since 1.43: +41 -24 lines
Diff to previous 1.43 (colored)

- Rework and document inode reference counting.  Also document inode life
  cycle (destruction part).  Perform link counting in tmpfs_dir_attach()
  and tmpfs_dir_detach(), instead of alloc/free and arbitrary places.
  Fixes PR/44285, PR/44288, PR/44657 and likely PR/42484.

- Fix the race between the lookup and inode destruction.  Fixes PR/43167
  and its duplicates PR/40088, PR/40757.

- Improve tmpfs_rename() locking a little, fix kqueue event notifications
  and also fix PR/43617.  Add simplistic tmpfs_parentcheck_p(); to be
  expanded and used for further rename() locking fixes.

- Cache directory entry "hint" in the tmpfs node, add tmpfs_dir_cached(),
  and thus avoid unnecessary lookup in tmpfs_remove() and tmpfs_rmdir().

- Set correct _PC_FILESIZEBITS value in tmpfs_pathconf().  Fixes PR/43576.

- Few minor fixes.

Revision 1.43 / (download) - annotate - [select for diffs], Sun May 29 01:14:31 2011 UTC (3 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.42: +4 -4 lines
Diff to previous 1.42 (colored)

undo the multiple inclusion protection part.

Revision 1.42 / (download) - annotate - [select for diffs], Sun May 29 01:00:50 2011 UTC (3 years, 4 months ago) by rmind
Branch: MAIN
Changes since 1.41: +57 -50 lines
Diff to previous 1.41 (colored)

- Prevent tmpfs.h from inclusion in userland.
- Clean up and KNF tmpfs.h a little bit.

Revision 1.41 / (download) - annotate - [select for diffs], Tue May 24 20:17:49 2011 UTC (3 years, 5 months ago) by rmind
Branch: MAIN
Changes since 1.40: +100 -223 lines
Diff to previous 1.40 (colored)

- Describe some locking.
- Add VOP argument comments, add some asserts.
- Update/fix/remove outdated/missleading comments.
- Clean up, de-indent, KNF, misc.

No functional changes intended.

Revision 1.40 / (download) - annotate - [select for diffs], Thu May 19 03:21:23 2011 UTC (3 years, 5 months ago) by rmind
Branch: MAIN
Changes since 1.39: +1 -6 lines
Diff to previous 1.39 (colored)

- tmpfs: do not create dirent/node pools per-mount, there is no need to.
- tmpfs_mount: fix a leak of mount structures in error path.

Revision 1.37.16.2 / (download) - annotate - [select for diffs], Sat Mar 5 20:55:09 2011 UTC (3 years, 7 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.37.16.1: +2 -1 lines
Diff to previous 1.37.16.1 (colored) to branchpoint 1.37 (colored)

sync with head

Revision 1.39 / (download) - annotate - [select for diffs], Thu Jan 13 13:35:11 2011 UTC (3 years, 9 months ago) by pooka
Branch: MAIN
CVS Tags: jruoho-x86intr-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: jruoho-x86intr
Changes since 1.38: +2 -1 lines
Diff to previous 1.38 (colored)

Add some support for unionfs (not built by default).  It's still
missing at least opaque directory support, but until someone figures
out how that should work on ffs (see PR kern/kern/44383), there's
no point in trying to figure out how it should work here.

Revision 1.37.14.1 / (download) - annotate - [select for diffs], Tue Aug 17 06:47:21 2010 UTC (4 years, 2 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.37: +33 -58 lines
Diff to previous 1.37 (colored) next main 1.38 (colored)

Sync with HEAD.

Revision 1.32.10.3 / (download) - annotate - [select for diffs], Wed Aug 11 22:54:36 2010 UTC (4 years, 2 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.32.10.2: +33 -58 lines
Diff to previous 1.32.10.2 (colored) to branchpoint 1.32 (colored) next main 1.33 (colored)

sync with head.

Revision 1.37.16.1 / (download) - annotate - [select for diffs], Sat Jul 3 01:19:51 2010 UTC (4 years, 3 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.37: +33 -58 lines
Diff to previous 1.37 (colored)

sync with head

Revision 1.38 / (download) - annotate - [select for diffs], Tue Jun 22 18:32:07 2010 UTC (4 years, 4 months ago) by rmind
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, matt-mips64-premerge-20101231
Changes since 1.37: +33 -58 lines
Diff to previous 1.37 (colored)

Replace tmpfs_pool custom allocator code with a simpler layer for memory
accounting.  Use wired memory (which can be limited) for meta-data, and
kmem(9) for string allocations.

Close PR/31944.  Fix PR/38361 while here.  OK ad@.

Revision 1.32.10.2 / (download) - annotate - [select for diffs], Mon May 4 08:13:44 2009 UTC (5 years, 5 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.32.10.1: +10 -31 lines
Diff to previous 1.32.10.1 (colored) to branchpoint 1.32 (colored)

sync with head.

Revision 1.34.2.1 / (download) - annotate - [select for diffs], Sun Oct 19 22:17:18 2008 UTC (6 years ago) by haad
Branch: haad-dm
Changes since 1.34: +5 -27 lines
Diff to previous 1.34 (colored) next main 1.35 (colored)

Sync with HEAD.

Revision 1.32.6.3 / (download) - annotate - [select for diffs], Sun Sep 28 10:40:50 2008 UTC (6 years ago) by mjf
Branch: mjf-devfs2
Changes since 1.32.6.2: +4 -26 lines
Diff to previous 1.32.6.2 (colored) to branchpoint 1.32 (colored) next main 1.33 (colored)

Sync with HEAD.

Revision 1.33.2.2 / (download) - annotate - [select for diffs], Thu Sep 18 04:36:55 2008 UTC (6 years, 1 month ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.33.2.1: +5 -27 lines
Diff to previous 1.33.2.1 (colored) to branchpoint 1.33 (colored) next main 1.34 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.33.4.4 / (download) - annotate - [select for diffs], Thu Jul 31 04:51:02 2008 UTC (6 years, 2 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.33.4.3: +183 -2 lines
Diff to previous 1.33.4.3 (colored) to branchpoint 1.33 (colored) next main 1.34 (colored)

Sync with head.

Revision 1.37 / (download) - annotate - [select for diffs], Tue Jul 29 09:10:09 2008 UTC (6 years, 2 months ago) by pooka
Branch: MAIN
CVS Tags: 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, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, uebayasi-xip-base1, uebayasi-xip-base, simonb-wapbl-nbase, simonb-wapbl-base, 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, 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, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Branch point for: uebayasi-xip, rmind-uvmplock
Changes since 1.36: +182 -1 lines
Diff to previous 1.36 (colored)

Solve the fstat-wants-to-look-at-kernel-data-structures in a nicer
way: don't export the fs internals to innocent userspace programs
which just want to mount the file system.

Revision 1.33.4.3 / (download) - annotate - [select for diffs], Tue Jul 29 07:00:30 2008 UTC (6 years, 2 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.33.4.2: +2 -168 lines
Diff to previous 1.33.4.2 (colored) to branchpoint 1.33 (colored)

Sync with head.

Revision 1.36 / (download) - annotate - [select for diffs], Mon Jul 28 18:00:20 2008 UTC (6 years, 2 months ago) by pooka
Branch: MAIN
Changes since 1.35: +2 -168 lines
Diff to previous 1.35 (colored)

shuffle around some more defs for fstat

noticed by Kurt Schreiner on current-users

Revision 1.33.4.2 / (download) - annotate - [select for diffs], Mon Jul 28 14:37:35 2008 UTC (6 years, 2 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.33.4.1: +1 -38 lines
Diff to previous 1.33.4.1 (colored) to branchpoint 1.33 (colored)

Sync with head.

Revision 1.35 / (download) - annotate - [select for diffs], Mon Jul 28 12:42:12 2008 UTC (6 years, 2 months ago) by pooka
Branch: MAIN
Changes since 1.34: +1 -38 lines
Diff to previous 1.34 (colored)

Install mount argument structure header just like every other file system.

Revision 1.32.6.2 / (download) - annotate - [select for diffs], Sun Jun 29 09:33:13 2008 UTC (6 years, 3 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.32.6.1: +5 -4 lines
Diff to previous 1.32.6.1 (colored) to branchpoint 1.32 (colored)

Sync with HEAD.

Revision 1.33.4.1 / (download) - annotate - [select for diffs], Fri Jun 27 15:11:29 2008 UTC (6 years, 3 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.33: +6 -5 lines
Diff to previous 1.33 (colored)

Sync with head.

Revision 1.33.2.1 / (download) - annotate - [select for diffs], Mon Jun 23 04:31:49 2008 UTC (6 years, 4 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.33: +6 -5 lines
Diff to previous 1.33 (colored)

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

Revision 1.34 / (download) - annotate - [select for diffs], Thu Jun 19 19:03:44 2008 UTC (6 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-1, wrstuden-revivesa-base
Branch point for: haad-dm
Changes since 1.33: +6 -5 lines
Diff to previous 1.33 (colored)

- setting the birthdate is valid in setattr.
- don't call nanotime if not needed.
- don't call tempfs_update() if tempfs_chtimes succeeded, because it just did.

Revision 1.32.6.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:24:05 2008 UTC (6 years, 4 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.32: +1 -8 lines
Diff to previous 1.32 (colored)

Sync with HEAD.

Revision 1.32.8.1 / (download) - annotate - [select for diffs], Sun May 18 12:35:02 2008 UTC (6 years, 5 months ago) by yamt
Branch: yamt-pf42
Changes since 1.32: +1 -8 lines
Diff to previous 1.32 (colored) next main 1.33 (colored)

sync with head.

Revision 1.32.10.1 / (download) - annotate - [select for diffs], Fri May 16 02:25:21 2008 UTC (6 years, 5 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.32: +1 -8 lines
Diff to previous 1.32 (colored)

sync with head.

Revision 1.33 / (download) - annotate - [select for diffs], Mon Apr 28 20:24:02 2008 UTC (6 years, 5 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa, simonb-wapbl
Changes since 1.32: +1 -8 lines
Diff to previous 1.32 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.26.18.3 / (download) - annotate - [select for diffs], Sun Mar 23 02:04:57 2008 UTC (6 years, 7 months ago) by matt
Branch: matt-armv6
Changes since 1.26.18.2: +6 -6 lines
Diff to previous 1.26.18.2 (colored) to branchpoint 1.26 (colored) next main 1.27 (colored)

sync with HEAD

Revision 1.26.24.3 / (download) - annotate - [select for diffs], Mon Feb 18 21:06:40 2008 UTC (6 years, 8 months ago) by mjf
Branch: mjf-devfs
Changes since 1.26.24.2: +13 -29 lines
Diff to previous 1.26.24.2 (colored) to branchpoint 1.26 (colored) next main 1.27 (colored)

Sync with HEAD.

Revision 1.20.4.6 / (download) - annotate - [select for diffs], Mon Feb 11 14:59:53 2008 UTC (6 years, 8 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.20.4.5: +6 -6 lines
Diff to previous 1.20.4.5 (colored) to branchpoint 1.20 (colored) next main 1.21 (colored)

sync with head.

Revision 1.32 / (download) - annotate - [select for diffs], Wed Feb 6 11:23:53 2008 UTC (6 years, 8 months ago) by jmmv
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base, ad-socklock-base1
Branch point for: yamt-pf42, yamt-nfs-mp, mjf-devfs2
Changes since 1.31: +5 -5 lines
Diff to previous 1.31 (colored)

u_int is not a C99 standard type, so spell it out completely as
unsigned int.

Revision 1.31 / (download) - annotate - [select for diffs], Wed Feb 6 11:22:12 2008 UTC (6 years, 8 months ago) by jmmv
Branch: MAIN
Changes since 1.30: +2 -2 lines
Diff to previous 1.30 (colored)

Drop trailing whitespace.

Revision 1.20.4.5 / (download) - annotate - [select for diffs], Mon Jan 21 09:45:54 2008 UTC (6 years, 9 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.20.4.4: +13 -29 lines
Diff to previous 1.20.4.4 (colored) to branchpoint 1.20 (colored)

sync with head

Revision 1.26.18.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:55:52 2008 UTC (6 years, 9 months ago) by matt
Branch: matt-armv6
Changes since 1.26.18.1: +10 -19 lines
Diff to previous 1.26.18.1 (colored) to branchpoint 1.26 (colored)

sync with HEAD

Revision 1.29.4.1 / (download) - annotate - [select for diffs], Wed Jan 2 21:55:38 2008 UTC (6 years, 9 months ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.29: +12 -28 lines
Diff to previous 1.29 (colored) next main 1.30 (colored)

Sync with HEAD

Revision 1.30 / (download) - annotate - [select for diffs], Wed Jan 2 11:48:46 2008 UTC (6 years, 9 months ago) by ad
Branch: MAIN
CVS Tags: matt-armv6-base, bouyer-xeni386-nbase, bouyer-xeni386-base
Changes since 1.29: +12 -28 lines
Diff to previous 1.29 (colored)

Merge vmlocking2 to head.

Revision 1.26.24.2 / (download) - annotate - [select for diffs], Thu Dec 27 00:45:49 2007 UTC (6 years, 9 months ago) by mjf
Branch: mjf-devfs
Changes since 1.26.24.1: +2 -2 lines
Diff to previous 1.26.24.1 (colored) to branchpoint 1.26 (colored)

Sync with HEAD.

Revision 1.28.2.6 / (download) - annotate - [select for diffs], Wed Dec 26 21:39:34 2007 UTC (6 years, 9 months ago) by ad
Branch: vmlocking2
Changes since 1.28.2.5: +2 -2 lines
Diff to previous 1.28.2.5 (colored) to branchpoint 1.28 (colored) next main 1.29 (colored)

Sync with head.

Revision 1.28.2.5 / (download) - annotate - [select for diffs], Sat Dec 15 00:17:31 2007 UTC (6 years, 10 months ago) by ad
Branch: vmlocking2
Changes since 1.28.2.4: +3 -2 lines
Diff to previous 1.28.2.4 (colored) to branchpoint 1.28 (colored)

Fix accounting problem that allowed a tmpfs to be filled beyond its limit
when running multithreaded.

Revision 1.28.2.4 / (download) - annotate - [select for diffs], Thu Dec 13 17:55:19 2007 UTC (6 years, 10 months ago) by ad
Branch: vmlocking2
Changes since 1.28.2.3: +1 -7 lines
Diff to previous 1.28.2.3 (colored) to branchpoint 1.28 (colored)

Kill tn_lookup_dirent and find the correct node using the supplied
componentname.

Revision 1.28.2.3 / (download) - annotate - [select for diffs], Wed Dec 12 17:33:14 2007 UTC (6 years, 10 months ago) by ad
Branch: vmlocking2
Changes since 1.28.2.2: +2 -4 lines
Diff to previous 1.28.2.2 (colored) to branchpoint 1.28 (colored)

- Don't use LK_RETRY in tmpfs_alloc_vp().
- Reduce cosmetic diffs to head.

Revision 1.26.16.3 / (download) - annotate - [select for diffs], Sun Dec 9 19:38:12 2007 UTC (6 years, 10 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.26.16.2: +2 -2 lines
Diff to previous 1.26.16.2 (colored) to branchpoint 1.26 (colored) next main 1.27 (colored)

Sync with HEAD.

Revision 1.29 / (download) - annotate - [select for diffs], Sat Dec 8 19:29:44 2007 UTC (6 years, 10 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, jmcneill-pm-base, cube-autoconf-base, cube-autoconf
Branch point for: bouyer-xeni386
Changes since 1.28: +2 -2 lines
Diff to previous 1.28 (colored)

Remove cn_lwp from struct componentname.  curlwp should be used
from on.  The NDINIT() macro no longer takes the lwp parameter and
associates the credentials of the calling thread with the namei
structure.

Revision 1.28.2.2 / (download) - annotate - [select for diffs], Sat Dec 8 14:42:24 2007 UTC (6 years, 10 months ago) by ad
Branch: vmlocking2
Changes since 1.28.2.1: +6 -8 lines
Diff to previous 1.28.2.1 (colored) to branchpoint 1.28 (colored)

Reduce coverage of the per-mount lock by using atomic ops.

Revision 1.28.2.1 / (download) - annotate - [select for diffs], Tue Dec 4 13:03:09 2007 UTC (6 years, 10 months ago) by ad
Branch: vmlocking2
Changes since 1.28: +11 -18 lines
Diff to previous 1.28 (colored)

Pull the vmlocking changes into a new branch.

Revision 1.26.24.1 / (download) - annotate - [select for diffs], Mon Nov 19 00:48:31 2007 UTC (6 years, 11 months ago) by mjf
Branch: mjf-devfs
Changes since 1.26: +1 -1 lines
Diff to previous 1.26 (colored)

Sync with HEAD.

Revision 1.26.16.2 / (download) - annotate - [select for diffs], Sun Nov 11 16:47:54 2007 UTC (6 years, 11 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.26.16.1: +18 -11 lines
Diff to previous 1.26.16.1 (colored) to branchpoint 1.26 (colored)

Sync with HEAD.

Revision 1.28 / (download) - annotate - [select for diffs], Sat Nov 10 03:36:16 2007 UTC (6 years, 11 months ago) by ad
Branch: MAIN
CVS Tags: vmlocking2-base2, vmlocking2-base1, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: vmlocking2
Changes since 1.27: +17 -10 lines
Diff to previous 1.27 (colored)

Back out the tmpfs changes; there appears to be a bug lurking.

Revision 1.26.18.1 / (download) - annotate - [select for diffs], Thu Nov 8 10:59:57 2007 UTC (6 years, 11 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.26: +11 -18 lines
Diff to previous 1.26 (colored)

sync with -HEAD

Revision 1.26.16.1 / (download) - annotate - [select for diffs], Tue Nov 6 21:16:23 2007 UTC (6 years, 11 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.26: +11 -18 lines
Diff to previous 1.26 (colored)

Sync with HEAD.

Revision 1.27 / (download) - annotate - [select for diffs], Tue Nov 6 19:50:55 2007 UTC (6 years, 11 months ago) by ad
Branch: MAIN
Changes since 1.26: +11 -18 lines
Diff to previous 1.26 (colored)

Merge from vmlocking.

Revision 1.26.4.2 / (download) - annotate - [select for diffs], Mon Oct 8 20:19:28 2007 UTC (7 years ago) by ad
Branch: vmlocking
Changes since 1.26.4.1: +4 -17 lines
Diff to previous 1.26.4.1 (colored) to branchpoint 1.26 (colored) next main 1.27 (colored)

- Don't leave nodes dangling in order to keep track of the inode generation
  number. Free them back to the pool as soon as the referenced file becomes
  unused. Using arc4random() for the generation and ino_t based off the
  node's in-core address is just about as as good as a disk-based file
  system is going to give.
- Add assertion to catch empty directories with linkcount > 1 being freed.
  This fires frequently but I haven't tracked the bug down yet..
- Use kmem_alloc.

Revision 1.26.4.1 / (download) - annotate - [select for diffs], Tue Aug 21 20:01:30 2007 UTC (7 years, 2 months ago) by ad
Branch: vmlocking
Changes since 1.26: +8 -2 lines
Diff to previous 1.26 (colored)

- Add locking around tmpfs shared data structures and mark it MP safe.
  It's enough to last for about 45m of fsx+postmark, but it doesn't
  survive SGI fsstress yet.
- Close a race where multiple vnodes could maybe have been allocated
  for a tmpnode with linkcount > 1.

Revision 1.24.4.1 / (download) - annotate - [select for diffs], Tue Feb 27 16:54:14 2007 UTC (7 years, 7 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.24: +4 -4 lines
Diff to previous 1.24 (colored) next main 1.25 (colored)

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

Revision 1.20.4.4 / (download) - annotate - [select for diffs], Mon Feb 26 09:11:00 2007 UTC (7 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.20.4.3: +4 -4 lines
Diff to previous 1.20.4.3 (colored) to branchpoint 1.20 (colored)

sync with head.

Revision 1.26 / (download) - annotate - [select for diffs], Thu Feb 22 06:37:00 2007 UTC (7 years, 8 months ago) by thorpej
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, reinoud-bufcleanup, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, mjf-ufs-trans, matt-mips64-base, matt-mips64, jmcneill-base, hpcarm-cleanup, bouyer-xenamd64, ad-audiomp-base, ad-audiomp
Branch point for: vmlocking, mjf-devfs, matt-armv6, jmcneill-pm
Changes since 1.25: +2 -2 lines
Diff to previous 1.25 (colored)

TRUE -> true, FALSE -> false

Revision 1.25 / (download) - annotate - [select for diffs], Wed Feb 21 23:00:04 2007 UTC (7 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.24: +3 -3 lines
Diff to previous 1.24 (colored)

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

Revision 1.20.4.3 / (download) - annotate - [select for diffs], Sat Dec 30 20:50:01 2006 UTC (7 years, 9 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.20.4.2: +71 -8 lines
Diff to previous 1.20.4.2 (colored) to branchpoint 1.20 (colored)

sync with head.

Revision 1.21.6.1 / (download) - annotate - [select for diffs], Sun Dec 10 07:18:43 2006 UTC (7 years, 10 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.21: +67 -4 lines
Diff to previous 1.21 (colored) next main 1.22 (colored)

sync with head.

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

Sync with head.

Revision 1.24 / (download) - annotate - [select for diffs], Mon Nov 13 11:47:37 2006 UTC (7 years, 11 months ago) by jmmv
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, 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
Branch point for: yamt-idlelwp
Changes since 1.23: +2 -2 lines
Diff to previous 1.23 (colored)

Fix typo in comment.

Revision 1.23 / (download) - annotate - [select for diffs], Sun Nov 5 19:36:07 2006 UTC (7 years, 11 months ago) by jmmv
Branch: MAIN
Changes since 1.22: +3 -1 lines
Diff to previous 1.22 (colored)

Protect the dircookie stuff with _KERNEL.  Fixes build problems of
mount_tmpfs as reported by Hisashi T Fujinaka in private mail.

Revision 1.22 / (download) - annotate - [select for diffs], Sun Nov 5 16:59:18 2006 UTC (7 years, 11 months ago) by jmmv
Branch: MAIN
Changes since 1.21: +64 -3 lines
Diff to previous 1.21 (colored)

Truncate directory cookies to 31 bits to avoid problems exposed in Linux
binaries which cast the returned values to 64-bits and fail due to sign
expansion.  More details are provided in the big comment in tmpfs.h that
describes how the new tmpfs_dircookie works.

This is a rather ugly hack that shall be fixed with a cleaner solution,
but this resolves the problem in an effective way.

Fixes kern PR/32034.

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

sync with head

Revision 1.16.2.4 / (download) - annotate - [select for diffs], Fri Aug 11 15:45:34 2006 UTC (8 years, 2 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.16.2.3: +5 -5 lines
Diff to previous 1.16.2.3 (colored) to branchpoint 1.16 (colored) next main 1.17 (colored)

sync with head

Revision 1.21 / (download) - annotate - [select for diffs], Sun Jul 23 22:06:10 2006 UTC (8 years, 3 months ago) by ad
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, rpaulo-netinet-merge-pcb-base, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-splraiseipl, newlock2
Changes since 1.20: +5 -5 lines
Diff to previous 1.20 (colored)

Use the LWP cached credentials where sane.

Revision 1.16.2.3 / (download) - annotate - [select for diffs], Mon Jun 26 12:52:55 2006 UTC (8 years, 4 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.16.2.2: +12 -4 lines
Diff to previous 1.16.2.2 (colored) to branchpoint 1.16 (colored)

sync with head.

Revision 1.20.4.2 / (download) - annotate - [select for diffs], Wed Jun 21 15:09:36 2006 UTC (8 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.20.4.1: +481 -0 lines
Diff to previous 1.20.4.1 (colored) to branchpoint 1.20 (colored)

sync with head.

Revision 1.19.2.1 / (download) - annotate - [select for diffs], Mon Jun 19 04:07:14 2006 UTC (8 years, 4 months ago) by chap
Branch: chap-midi
Changes since 1.19: +12 -4 lines
Diff to previous 1.19 (colored) next main 1.20 (colored)

Sync with head.

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

Sync with head.

Revision 1.20.4.1, Sat May 27 09:12:31 2006 UTC (8 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.20: +0 -481 lines
FILE REMOVED

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

Revision 1.20 / (download) - annotate - [select for diffs], Sat May 27 09:12:31 2006 UTC (8 years, 5 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-pdpolicy-base6, simonb-timecounters-base, gdamore-uart-base, gdamore-uart, chap-midi-nbase, chap-midi-base
Branch point for: yamt-lazymbuf
Changes since 1.19: +12 -4 lines
Diff to previous 1.19 (colored)

hide more by ifdef _KERNEL.

Revision 1.16.6.2 / (download) - annotate - [select for diffs], Wed May 24 15:50:40 2006 UTC (8 years, 5 months ago) by tron
Branch: peter-altq
Changes since 1.16.6.1: +7 -8 lines
Diff to previous 1.16.6.1 (colored) to branchpoint 1.16 (colored) next main 1.17 (colored)

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

Revision 1.16.2.2 / (download) - annotate - [select for diffs], Wed May 24 10:58:40 2006 UTC (8 years, 5 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.16.2.1: +6 -7 lines
Diff to previous 1.16.2.1 (colored) to branchpoint 1.16 (colored)

sync with head.

Revision 1.19 / (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-pdpolicy-base5
Branch point for: chap-midi
Changes since 1.18: +6 -7 lines
Diff to previous 1.18 (colored)

integrate kauth.

Revision 1.16.4.3 / (download) - annotate - [select for diffs], Sat May 6 23:31:30 2006 UTC (8 years, 5 months ago) by christos
Branch: elad-kernelauth
Changes since 1.16.4.2: +2 -3 lines
Diff to previous 1.16.4.2 (colored) to branchpoint 1.16 (colored) next main 1.17 (colored)

- Move kauth_cred_t declaration to <sys/types.h>
- Cleanup struct ucred; forward declarations that are unused.
- Don't include <sys/kauth.h> in any header, but include it in the c files
  that need it.

Approved by core.

Revision 1.13.6.1 / (download) - annotate - [select for diffs], Sat Apr 22 11:39:58 2006 UTC (8 years, 6 months ago) by simonb
Branch: simonb-timecounters
Changes since 1.13: +26 -21 lines
Diff to previous 1.13 (colored)

Sync with head.

Revision 1.16.4.2 / (download) - annotate - [select for diffs], Wed Apr 19 05:03:56 2006 UTC (8 years, 6 months ago) by elad
Branch: elad-kernelauth
Changes since 1.16.4.1: +2 -2 lines
Diff to previous 1.16.4.1 (colored) to branchpoint 1.16 (colored)

sync with head.

Revision 1.16.2.1 / (download) - annotate - [select for diffs], Sat Apr 1 12:07:38 2006 UTC (8 years, 6 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored)

sync with head.

Revision 1.18 / (download) - annotate - [select for diffs], Fri Mar 31 20:27:49 2006 UTC (8 years, 6 months ago) by riz
Branch: MAIN
CVS Tags: yamt-pdpolicy-base4, yamt-pdpolicy-base3, elad-kernelauth-base
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored)

Swap the order of the tf_gen and tf_id members of struct tmpfs_fid,
since tf_id needs 8-byte alignment on some architectures (like amd64).
struct tmpfs_fid now fits in 16 bytes on amd64 again.
OK matt@

Revision 1.16.6.1 / (download) - annotate - [select for diffs], Tue Mar 28 09:42:26 2006 UTC (8 years, 6 months ago) by tron
Branch: peter-altq
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored)

Merge 2006-03-28 NetBSD-current into the "peter-altq" branch.

Revision 1.17 / (download) - annotate - [select for diffs], Sun Mar 26 20:18:58 2006 UTC (8 years, 7 months ago) by martin
Branch: MAIN
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored)

Restrict generation numbers to 32bit values - we would have had to bump
_VFS_MAXFIDSZ to 24 otherwise for 64bit archs.

Revision 1.16.4.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.16: +6 -6 lines
Diff to previous 1.16 (colored)

Adapt to kernel authorization KPI.

Revision 1.13.2.1 / (download) - annotate - [select for diffs], Sat Feb 18 15:39:18 2006 UTC (8 years, 8 months ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.13: +25 -20 lines
Diff to previous 1.13 (colored) next main 1.14 (colored)

sync with head.

Revision 1.16 / (download) - annotate - [select for diffs], Thu Feb 16 20:17:19 2006 UTC (8 years, 8 months ago) by perry
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-pdpolicy-base2, yamt-pdpolicy-base, peter-altq-base
Branch point for: yamt-pdpolicy, peter-altq, elad-kernelauth
Changes since 1.15: +5 -5 lines
Diff to previous 1.15 (colored)

Change "inline" back to "__inline" in .h files -- C99 is still too
new, and some apps compile things in C89 mode. C89 keywords stay.

As per core@.

Revision 1.15 / (download) - annotate - [select for diffs], Thu Feb 16 14:57:50 2006 UTC (8 years, 8 months ago) by jmmv
Branch: MAIN
Changes since 1.14: +12 -11 lines
Diff to previous 1.14 (colored)

Do not use unnamed structures/unions without instances; they break the
build under vax because of gcc 2.95.  Found by he@.

Revision 1.14 / (download) - annotate - [select for diffs], Fri Feb 10 16:00:02 2006 UTC (8 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.13: +10 -6 lines
Diff to previous 1.13 (colored)

make the include files usable from userland.

Revision 1.13 / (download) - annotate - [select for diffs], Sat Dec 24 12:31:57 2005 UTC (8 years, 10 months ago) by jmmv
Branch: MAIN
Branch point for: yamt-uio_vmspace, simonb-timecounters, rpaulo-netinet-merge-pcb
Changes since 1.12: +1 -12 lines
Diff to previous 1.12 (colored)

Remove a conditional by always using inlined functions in favour of macros.
This way, the code is clearer and there shouldn't be any performance
difference (if the compiler DTRT).  Suggested by chs@.

Revision 1.12 / (download) - annotate - [select for diffs], Sun Dec 11 12:24:29 2005 UTC (8 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)

merge ktrace-lwp.

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

Sync with head.

Revision 1.11 / (download) - annotate - [select for diffs], Tue Dec 6 21:46:34 2005 UTC (8 years, 10 months ago) by yamt
Branch: MAIN
CVS Tags: ktrace-lwp-base
Changes since 1.10: +1 -2 lines
Diff to previous 1.10 (colored)

VFS_TO_TMPFS: remove a wrong assertion.
it's wrong because TMPFS_PAGES_MAX can be decreased.

Revision 1.10 / (download) - annotate - [select for diffs], Sat Dec 3 17:34:44 2005 UTC (8 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.9: +4 -6 lines
Diff to previous 1.9 (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.9.2.3 / (download) - annotate - [select for diffs], Sat Nov 12 17:00:57 2005 UTC (8 years, 11 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.9.2.2: +2 -2 lines
Diff to previous 1.9.2.2 (colored) to branchpoint 1.9 (colored)

Adapt to branch

Revision 1.9.2.2 / (download) - annotate - [select for diffs], Thu Nov 10 14:09:44 2005 UTC (8 years, 11 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.9.2.1: +483 -0 lines
Diff to previous 1.9.2.1 (colored) to branchpoint 1.9 (colored)

Sync with HEAD. Here we go again...

Revision 1.9.2.1, Wed Nov 2 12:38:59 2005 UTC (8 years, 11 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.9: +0 -483 lines
FILE REMOVED

file tmpfs.h was added on branch ktrace-lwp on 2005-11-10 14:09:44 +0000

Revision 1.9 / (download) - annotate - [select for diffs], Wed Nov 2 12:38:59 2005 UTC (8 years, 11 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead
Branch point for: ktrace-lwp
Changes since 1.8: +5 -1 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.2 / (download) - annotate - [select for diffs], Sat Oct 29 17:28:19 2005 UTC (8 years, 11 months ago) by yamt
Branch: yamt-vop
Changes since 1.8.2.1: +2 -2 lines
Diff to previous 1.8.2.1 (colored) to branchpoint 1.8 (colored) next main 1.9 (colored)

as tmpfs_update never fails, make it return void.
suggested by Chuck Silvers.

Revision 1.8.2.1 / (download) - annotate - [select for diffs], Thu Oct 20 07:13:14 2005 UTC (9 years ago) by yamt
Branch: yamt-vop
Changes since 1.8: +5 -1 lines
Diff to previous 1.8 (colored)

adapt tmpfs.

Revision 1.8 / (download) - annotate - [select for diffs], Thu Sep 29 19:48:21 2005 UTC (9 years ago) by jmmv
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: +4 -1 lines
Diff to previous 1.7 (colored)

Implement the tmpfs_advlock operation.  Makes "user-level" file locking
work (aka lockf(3)).

Revision 1.7 / (download) - annotate - [select for diffs], Wed Sep 28 23:42:14 2005 UTC (9 years ago) by yamt
Branch: MAIN
Changes since 1.6: +3 -1 lines
Diff to previous 1.6 (colored)

tmpfs_getattr: return up-to-date timestamps.

Revision 1.6 / (download) - annotate - [select for diffs], Fri Sep 23 15:36:15 2005 UTC (9 years, 1 month ago) by jmmv
Branch: MAIN
Changes since 1.5: +141 -13 lines
Diff to previous 1.5 (colored)

Kill the tmpfs(9) manual page; it was just documenting internal details of
tmpfs' "API" and was already rotting.

Instead, merge all the relevant comments into the code.  This includes
acknowledgements to Google's Summer of Code 2005 program (they were in the
AUTHORS section of tmpfs(9) before), so all the files need to be changed
to include this sentence alongside the title.  (Note that this was not a
requirement of the program.)

Revision 1.5 / (download) - annotate - [select for diffs], Fri Sep 23 12:10:32 2005 UTC (9 years, 1 month ago) by jmmv
Branch: MAIN
Changes since 1.4: +1 -10 lines
Diff to previous 1.4 (colored)

Apply the NFS exports list rototill patch:

- Remove all NFS related stuff from file system specific code.
- Drop the vfs_checkexp hook and generalize it in the new nfs_check_export
  function, thus removing redundancy from all file systems.
- Move all NFS export-related stuff from kern/vfs_subr.c to the new
  file sys/nfs/nfs_export.c.  The former was becoming large and its code
  is always compiled, regardless of the build options.  Using the latter,
  the code is only compiled in when NFSSERVER is enabled.  While doing this,
  also make some functions in nfs_subs.c conditional to NFSSERVER.
- Add a new command in nfssvc(2), called NFSSVC_SETEXPORTSLIST, that takes a
  path and a set of export entries.  At the moment it can only clear the
  exports list or append entries, one by one, but it is done in a way that
  allows setting the whole set of entries atomically in the future (see the
  comment in mountd_set_exports_list or in doc/TODO).
- Change mountd(8) to use the nfssvc(2) system call instead of mount(2) so
  that it becomes file system agnostic.  In fact, all this whole thing was
  done to remove a 'XXX' block from this utility!
- Change the mount*, newfs and fsck* userland utilities to not deal with NFS
  exports initialization; done internally by the kernel when initializing
  the NFS support for each file system.
- Implement an interface for VFS (called VFS hooks) so that several kernel
  subsystems can run arbitrary code upon receipt of specific VFS events.
  At the moment, this only provides support for unmount and is used to
  destroy NFS exports lists from the file systems being unmounted, though it
  has room for extension.

Thanks go to yamt@, chs@, thorpej@, wrstuden@ and others for their comments
and advice in the development of this patch.

Revision 1.4 / (download) - annotate - [select for diffs], Thu Sep 15 12:34:35 2005 UTC (9 years, 1 month ago) by yamt
Branch: MAIN
Changes since 1.3: +12 -4 lines
Diff to previous 1.3 (colored)

change the way to handle directory "offsets" so that
they won't be changed when removing entries in the directory.
some applications like cvs rely on this.

Revision 1.3 / (download) - annotate - [select for diffs], Tue Sep 13 14:29:18 2005 UTC (9 years, 1 month ago) by yamt
Branch: MAIN
Changes since 1.2: +1 -3 lines
Diff to previous 1.2 (colored)

- don't waste/leak kva.
- implement getpages/putpages.  support mmap.
- eliminate meaningless memcpy.
- ubcify.

Revision 1.2 / (download) - annotate - [select for diffs], Sat Sep 10 22:28:57 2005 UTC (9 years, 1 month ago) by jmmv
Branch: MAIN
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored)

wiz@ remembers that the preferred way to spell file-system in NetBSD is
file system.

Revision 1.1 / (download) - annotate - [select for diffs], Sat Sep 10 19:20:51 2005 UTC (9 years, 1 month ago) by jmmv
Branch: MAIN

Initial addition of tmpfs, an efficient memory file-system.  This project
was developed as part of Google's Summer of Code 2005 program.  This
change adds the kernel code, the mount_tmpfs utility, a regression test
suite and does all other related changes to integrate these.

The file-system is still *experimental*.  Therefore, it is disabled by
default in all kernels.  However, as typically done, a commented-out
entry is added in them to ease its setup.

Note that I haven't commited the required mountd(8) changes to be able
to export tmpfs file-systems because NFS support is still very unstable
and because, before enabling it, I'd like to do some other changes.

OK'ed by my project mentor, William Studenmund (wrstuden@).

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>