The NetBSD Project

CVS log for src/sys/fs/tmpfs/tmpfs_specops.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.10.14.1 / (download) - annotate - [select for diffs], Wed Aug 20 00:04:28 2014 UTC (4 weeks, 3 days ago) by tls
Branch: tls-maxphys
Changes since 1.10: +7 -7 lines
Diff to previous 1.10 (colored) next main 1.11 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.11.2.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:55:54 2014 UTC (5 weeks, 6 days ago) by tls
Branch: tls-earlyentropy
Changes since 1.11: +4 -2 lines
Diff to previous 1.11 (colored) next main 1.12 (colored)

Rebase.

Revision 1.12 / (download) - annotate - [select for diffs], Fri Jul 25 08:20:52 2014 UTC (8 weeks, 1 day ago) by dholland
Branch: MAIN
CVS Tags: tls-maxphys-base, tls-earlyentropy-base, netbsd-7-base, netbsd-7, HEAD
Changes since 1.11: +4 -2 lines
Diff to previous 1.11 (colored)

Add VOP_FALLOCATE and VOP_FDISCARD to every vnode ops table I can
find.

The filesystem ones all call genfs_eopnotsupp - right now I am only
implementing the plumbing and we can implement fallocate and/or
fdiscard for files later.

The device ones call spec_fallocate (which is also genfs_eopnotsupp)
and spec_fdiscard, which dispatches to the device-level op.

The fifo ones all call vn_fifo_bypass, which also ends up being
EOPNOTSUPP.

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

sync with head

Revision 1.11 / (download) - annotate - [select for diffs], Sat Nov 23 16:35:32 2013 UTC (9 months, 3 weeks ago) by rmind
Branch: MAIN
CVS Tags: yamt-pagecache-base9, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3
Branch point for: tls-earlyentropy
Changes since 1.10: +5 -7 lines
Diff to previous 1.10 (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.9.24.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:09:24 2011 UTC (3 years, 3 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.9: +28 -19 lines
Diff to previous 1.9 (colored) next main 1.10 (colored)

Sync with HEAD.

Revision 1.9.18.1 / (download) - annotate - [select for diffs], Tue May 31 03:04:59 2011 UTC (3 years, 3 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.9: +28 -19 lines
Diff to previous 1.9 (colored) next main 1.10 (colored)

sync with head

Revision 1.10 / (download) - annotate - [select for diffs], Tue May 24 20:17:49 2011 UTC (3 years, 3 months ago) by rmind
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, rmind-uvmplock-nbase, rmind-uvmplock-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-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-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, cherry-xenmp-base, cherry-xenmp, agc-symver-base, agc-symver
Branch point for: yamt-pagecache, tls-maxphys, rmind-smpnet
Changes since 1.9: +28 -19 lines
Diff to previous 1.9 (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.7.10.2 / (download) - annotate - [select for diffs], Mon May 4 08:13:44 2009 UTC (5 years, 4 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.7.10.1: +3 -3 lines
Diff to previous 1.7.10.1 (colored) to branchpoint 1.7 (colored) next main 1.8 (colored)

sync with head.

Revision 1.7.6.2 / (download) - annotate - [select for diffs], Sun Jun 29 09:33:13 2008 UTC (6 years, 2 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.7.6.1: +1 -1 lines
Diff to previous 1.7.6.1 (colored) to branchpoint 1.7 (colored) next main 1.8 (colored)

Sync with HEAD.

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

Sync with head.

Revision 1.8.2.1 / (download) - annotate - [select for diffs], Mon Jun 23 04:31:49 2008 UTC (6 years, 2 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored) next main 1.9 (colored)

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

Revision 1.9 / (download) - annotate - [select for diffs], Fri Jun 20 00:07:47 2008 UTC (6 years, 3 months ago) by skd
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, yamt-nfs-mp-base11, yamt-nfs-mp-base10, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, 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-premerge-20101231, matt-mips64-base2, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, jruoho-x86intr-base, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2, ad-audiomp2-base, ad-audiomp2
Branch point for: rmind-uvmplock, jruoho-x86intr
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored)

add NULL arg so it will compile.

Revision 1.7.6.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:24:06 2008 UTC (6 years, 3 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.7: +2 -9 lines
Diff to previous 1.7 (colored)

Sync with HEAD.

Revision 1.7.8.1 / (download) - annotate - [select for diffs], Sun May 18 12:35:02 2008 UTC (6 years, 4 months ago) by yamt
Branch: yamt-pf42
Changes since 1.7: +2 -9 lines
Diff to previous 1.7 (colored) next main 1.8 (colored)

sync with head.

Revision 1.7.10.1 / (download) - annotate - [select for diffs], Fri May 16 02:25:21 2008 UTC (6 years, 4 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.7: +2 -9 lines
Diff to previous 1.7 (colored)

sync with head.

Revision 1.8 / (download) - annotate - [select for diffs], Mon Apr 28 20:24:02 2008 UTC (6 years, 4 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.7: +2 -9 lines
Diff to previous 1.7 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.6.48.1 / (download) - annotate - [select for diffs], Sun Mar 23 02:04:57 2008 UTC (6 years, 6 months ago) by matt
Branch: matt-armv6
Changes since 1.6: +2 -3 lines
Diff to previous 1.6 (colored) next main 1.7 (colored)

sync with HEAD

Revision 1.6.54.1 / (download) - annotate - [select for diffs], Mon Feb 18 21:06:40 2008 UTC (6 years, 7 months ago) by mjf
Branch: mjf-devfs
Changes since 1.6: +2 -3 lines
Diff to previous 1.6 (colored) next main 1.7 (colored)

Sync with HEAD.

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

sync with head.

Revision 1.7 / (download) - annotate - [select for diffs], Fri Jan 25 14:32:13 2008 UTC (6 years, 7 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-nbase, 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.6: +2 -3 lines
Diff to previous 1.6 (colored)

Remove VOP_LEASE. Discussed on tech-kern.

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

sync with head.

Revision 1.6.18.1, Sun Dec 11 12:24:29 2005 UTC (8 years, 9 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.6: +0 -143 lines
FILE REMOVED

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

Revision 1.6 / (download) - annotate - [select for diffs], Sun Dec 11 12:24:29 2005 UTC (8 years, 9 months ago) by christos
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, yamt-pdpolicy, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, yamt-idlelwp-base8, yamt-idlelwp, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, vmlocking-base, vmlocking, thorpej-atomic-base, thorpej-atomic, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, rpaulo-netinet-merge-pcb-base, rpaulo-netinet-merge-pcb, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, reinoud-bufcleanup, post-newlock2-merge, peter-altq-base, peter-altq, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, newlock2-nbase, newlock2-base, newlock2, 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, mjf-ufs-trans-base, mjf-ufs-trans, matt-nb4-arm-base, matt-nb4-arm, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-base, jmcneill-pm-base, jmcneill-pm, jmcneill-base, hpcarm-cleanup, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, elad-kernelauth, cube-autoconf-base, cube-autoconf, chap-midi-nbase, chap-midi-base, chap-midi, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64, ad-audiomp-base, ad-audiomp, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-lazymbuf, mjf-devfs, matt-armv6
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

merge ktrace-lwp.

Revision 1.5.2.2 / (download) - annotate - [select for diffs], Thu Nov 10 14:09:44 2005 UTC (8 years, 10 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.5.2.1: +143 -0 lines
Diff to previous 1.5.2.1 (colored) to branchpoint 1.5 (colored) next main 1.6 (colored)

Sync with HEAD. Here we go again...

Revision 1.5.2.1, Wed Nov 2 12:38:59 2005 UTC (8 years, 10 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.5: +0 -143 lines
FILE REMOVED

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

Revision 1.5 / (download) - annotate - [select for diffs], Wed Nov 2 12:38:59 2005 UTC (8 years, 10 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, ktrace-lwp-base
Branch point for: ktrace-lwp
Changes since 1.4: +5 -12 lines
Diff to previous 1.4 (colored)

merge yamt-vop branch.  remove following VOPs.

	VOP_BLKATOFF
	VOP_VALLOC
	VOP_BALLOC
	VOP_REALLOCBLKS
	VOP_VFREE
	VOP_TRUNCATE
	VOP_UPDATE

Revision 1.3.2.3 / (download) - annotate - [select for diffs], Wed Nov 2 11:58:11 2005 UTC (8 years, 10 months ago) by yamt
Branch: yamt-vop
Changes since 1.3.2.2: +2 -2 lines
Diff to previous 1.3.2.2 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)

sync with head.

Revision 1.4 / (download) - annotate - [select for diffs], Wed Nov 2 05:41:50 2005 UTC (8 years, 10 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-vop-base3
Changes since 1.3: +4 -4 lines
Diff to previous 1.3 (colored)

Bug fix: correct the sense of an if-condition in tmpfs_spec_close:
because VOP_UPDATE() usually succeeded, spec_close() was not usually
called.  Only skip the spec_close() step if VOP_UPDATE() returns
an error result.  Now /dev/watchdog works as expected when /dev/
is a tmpfs; previously, it was impossible to disarm a user-tickled
watchdog.

Revision 1.3.2.2 / (download) - annotate - [select for diffs], Sat Oct 29 17:28:19 2005 UTC (8 years, 10 months ago) by yamt
Branch: yamt-vop
Changes since 1.3.2.1: +4 -5 lines
Diff to previous 1.3.2.1 (colored) to branchpoint 1.3 (colored)

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

Revision 1.3.2.1 / (download) - annotate - [select for diffs], Thu Oct 20 07:13:14 2005 UTC (8 years, 11 months ago) by yamt
Branch: yamt-vop
Changes since 1.3: +3 -9 lines
Diff to previous 1.3 (colored)

adapt tmpfs.

Revision 1.3 / (download) - annotate - [select for diffs], Fri Sep 23 15:36:15 2005 UTC (8 years, 11 months ago) by jmmv
Branch: MAIN
CVS Tags: yamt-vop-base2, yamt-vop-base, thorpej-vnode-attr-base, thorpej-vnode-attr
Branch point for: yamt-vop
Changes since 1.2: +4 -3 lines
Diff to previous 1.2 (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.2 / (download) - annotate - [select for diffs], Sat Sep 10 22:28:57 2005 UTC (9 years ago) by jmmv
Branch: MAIN
Changes since 1.1: +3 -3 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 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>