The NetBSD Project

CVS log for src/lib/libpuffs/opdump.c

[BACK] Up to [cvs.NetBSD.org] / src / lib / libpuffs

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.36.10.1 / (download) - annotate - [select for diffs], Wed Nov 5 18:11:31 2014 UTC (5 years, 1 month ago) by snj
Branch: netbsd-7
CVS Tags: netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0
Changes since 1.36: +4 -2 lines
Diff to previous 1.36 (colored) next main 1.37 (colored)

Pull up following revision(s) (requested by manu in ticket #181):
	lib/libperfuse/fuse.h: revision 1.6
	lib/libperfuse/ops.c: revision 1.78
	lib/libperfuse/perfuse.c: revision 1.35
	lib/libperfuse/perfuse_priv.h: revision 1.36
	lib/libpuffs/dispatcher.c: revision 1.48
	lib/libpuffs/opdump.c: revision 1.37
	lib/libpuffs/puffs.c: revision 1.118
	lib/libpuffs/puffs.h: revision 1.126
	lib/libpuffs/puffs_ops.3: revisions 1.40-1.41
	sys/fs/puffs/puffs_msgif.h: revision 1.82-1.83
	sys/fs/puffs/puffs_msgif.h: revision 1.82
	sys/fs/puffs/puffs_vnops.c: revision 1.196
Add PUFFS support for fallocate and fdiscard operations
--
libpuffs support for fallocate and fdiscard operations
--
Add PUFFS_HAVE_FALLOCATE in puffs_msgif.h so that filesystem can decide
at build time wether fallocate is usable
--
FUSE fallocate support
There seems to be no fdiscard FUSE operation at the moment, hence that
one is left unused.

Revision 1.37 / (download) - annotate - [select for diffs], Fri Oct 31 13:56:04 2014 UTC (5 years, 1 month ago) by manu
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-9-base, netbsd-9-0-RC1, netbsd-9, netbsd-8-base, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, HEAD
Changes since 1.36: +4 -2 lines
Diff to previous 1.36 (colored)

libpuffs support for fallocate and fdiscard operations

Revision 1.35.6.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:05:31 2012 UTC (7 years, 7 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.35: +3 -3 lines
Diff to previous 1.35 (colored) next main 1.36 (colored)

sync with head

Revision 1.36 / (download) - annotate - [select for diffs], Thu Mar 15 02:02:21 2012 UTC (7 years, 8 months ago) by joerg
Branch: MAIN
CVS Tags: yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, tls-maxphys-base, tls-maxphys, tls-earlyentropy-base, tls-earlyentropy, 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, netbsd-7-base, agc-symver-base, agc-symver
Branch point for: netbsd-7
Changes since 1.35: +3 -3 lines
Diff to previous 1.35 (colored)

Add __printflike attribution to use vprintf and friends with an argument
as format string.

Revision 1.35 / (download) - annotate - [select for diffs], Fri Aug 20 16:35:05 2010 UTC (9 years, 3 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-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, matt-mips64-premerge-20101231, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: yamt-pagecache
Changes since 1.34: +52 -41 lines
Diff to previous 1.34 (colored)

print to stderr instead of stdout

Revision 1.34 / (download) - annotate - [select for diffs], Sun Jul 11 12:29:08 2010 UTC (9 years, 4 months ago) by pooka
Branch: MAIN
Changes since 1.33: +25 -21 lines
Diff to previous 1.33 (colored)

Export the opid -> opstr tables (for outside debugging use).

Revision 1.33 / (download) - annotate - [select for diffs], Fri May 21 10:43:07 2010 UTC (9 years, 6 months ago) by pooka
Branch: MAIN
Changes since 1.32: +8 -3 lines
Diff to previous 1.32 (colored)

adjust for protocol changes

Revision 1.32 / (download) - annotate - [select for diffs], Fri May 21 08:46:14 2010 UTC (9 years, 6 months ago) by pooka
Branch: MAIN
Changes since 1.31: +23 -8 lines
Diff to previous 1.31 (colored)

Don't try to print the names of messages we don't know about.

Revision 1.31 / (download) - annotate - [select for diffs], Thu May 20 13:07:28 2010 UTC (9 years, 6 months ago) by pooka
Branch: MAIN
Changes since 1.30: +4 -5 lines
Diff to previous 1.30 (colored)

* fix typo
* fix "that's not supposed to be there" causing off-by-one in array
* make compile regardless of dev_t size

Revision 1.30 / (download) - annotate - [select for diffs], Thu Jan 7 22:46:11 2010 UTC (9 years, 11 months ago) by pooka
Branch: MAIN
Changes since 1.29: +8 -5 lines
Diff to previous 1.29 (colored)

Be slightly more forgiving about unknown operation types.

Revision 1.29 / (download) - annotate - [select for diffs], Thu Jan 7 20:47:47 2010 UTC (9 years, 11 months ago) by pooka
Branch: MAIN
Changes since 1.28: +163 -3 lines
Diff to previous 1.28 (colored)

Dump contents of struct vattr -- i never remember which members
the kernel passes when, so this helps tapping that info.

Revision 1.28 / (download) - annotate - [select for diffs], Thu Jan 7 18:09:07 2010 UTC (9 years, 11 months ago) by pooka
Branch: MAIN
Changes since 1.27: +18 -30 lines
Diff to previous 1.27 (colored)

* make indentation a little less ridiculous
* note that interfaces provided by <puffsdump.h> are not stable and
  are to be used only for debug builds
* remove a few unimplemented/used dump interfaces

Revision 1.25.2.1 / (download) - annotate - [select for diffs], Wed May 13 19:18:35 2009 UTC (10 years, 6 months ago) by jym
Branch: jym-xensuspend
Changes since 1.25: +29 -6 lines
Diff to previous 1.25 (colored) next main 1.26 (colored)

Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html

Revision 1.27 / (download) - annotate - [select for diffs], Mon Apr 6 20:47:17 2009 UTC (10 years, 8 months ago) by pooka
Branch: MAIN
CVS Tags: matt-premerge-20091211, jym-xensuspend-nbase, jym-xensuspend-base
Changes since 1.26: +13 -2 lines
Diff to previous 1.26 (colored)

dump readdir offset

Revision 1.26 / (download) - annotate - [select for diffs], Mon Apr 6 14:45:11 2009 UTC (10 years, 8 months ago) by pooka
Branch: MAIN
Changes since 1.25: +18 -6 lines
Diff to previous 1.25 (colored)

* dump op-specific return info before the generic one
* dump readdir response values

Revision 1.25 / (download) - annotate - [select for diffs], Sun Dec 28 22:45:05 2008 UTC (10 years, 11 months ago) by christos
Branch: MAIN
Branch point for: jym-xensuspend
Changes since 1.24: +6 -5 lines
Diff to previous 1.24 (colored)

fix for dev_t 64 bits.

Revision 1.23.6.1 / (download) - annotate - [select for diffs], Thu Sep 18 04:39:24 2008 UTC (11 years, 2 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.23: +3 -3 lines
Diff to previous 1.23 (colored) next main 1.24 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.24 / (download) - annotate - [select for diffs], Tue Aug 12 19:44:39 2008 UTC (11 years, 3 months ago) by pooka
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, 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, 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
Changes since 1.23: +3 -3 lines
Diff to previous 1.23 (colored)

Replace void * by puffs_cookie_t where appropriate.  No functional change.

Revision 1.13.2.3 / (download) - annotate - [select for diffs], Sun Mar 23 00:40:29 2008 UTC (11 years, 8 months ago) by matt
Branch: matt-armv6
Changes since 1.13.2.2: +15 -2 lines
Diff to previous 1.13.2.2 (colored) next main 1.14 (colored)

sync with HEAD

Revision 1.23 / (download) - annotate - [select for diffs], Sun Jan 27 00:29:24 2008 UTC (11 years, 10 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, wrstuden-revivesa-base-1, wrstuden-revivesa-base, matt-armv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-nbase, hpcarm-cleanup-base
Branch point for: wrstuden-revivesa
Changes since 1.22: +15 -2 lines
Diff to previous 1.22 (colored)

For operations with a target (remove, rmdir, link), print the
target cookie.

Revision 1.13.2.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:36:47 2008 UTC (11 years, 11 months ago) by matt
Branch: matt-armv6
Changes since 1.13.2.1: +51 -4 lines
Diff to previous 1.13.2.1 (colored)

sync with HEAD

Revision 1.22 / (download) - annotate - [select for diffs], Tue Dec 25 20:36:53 2007 UTC (11 years, 11 months ago) by pooka
Branch: MAIN
CVS Tags: matt-armv6-base
Changes since 1.21: +18 -6 lines
Diff to previous 1.21 (colored)

* dump r/w return resid
* fix RV dump order to be more logical

Revision 1.21 / (download) - annotate - [select for diffs], Sun Dec 9 16:54:17 2007 UTC (12 years ago) by pooka
Branch: MAIN
CVS Tags: cube-autoconf-base, cube-autoconf
Changes since 1.20: +17 -2 lines
Diff to previous 1.20 (colored)

print newnode cookie value for operations which create nodes

Revision 1.20 / (download) - annotate - [select for diffs], Tue Dec 4 20:03:40 2007 UTC (12 years ago) by pooka
Branch: MAIN
Changes since 1.19: +13 -2 lines
Diff to previous 1.19 (colored)

add flushops

Revision 1.19 / (download) - annotate - [select for diffs], Thu Nov 29 17:22:04 2007 UTC (12 years ago) by pooka
Branch: MAIN
Changes since 1.18: +13 -2 lines
Diff to previous 1.18 (colored)

print mode in open

Revision 1.18 / (download) - annotate - [select for diffs], Fri Nov 16 14:59:14 2007 UTC (12 years ago) by pooka
Branch: MAIN
Changes since 1.17: +6 -8 lines
Diff to previous 1.17 (colored)

dump lookup return values

Revision 1.13.2.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:11:52 2007 UTC (12 years, 1 month ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.13: +30 -11 lines
Diff to previous 1.13 (colored)

sync with HEAD

Revision 1.17 / (download) - annotate - [select for diffs], Mon Oct 29 15:52:45 2007 UTC (12 years, 1 month ago) by pooka
Branch: MAIN
Changes since 1.16: +6 -2 lines
Diff to previous 1.16 (colored)

Sprinkle some hackish locks here and there, just enough to allow
libp2k & rump to run multithreaded.

Revision 1.16 / (download) - annotate - [select for diffs], Fri Oct 26 17:24:45 2007 UTC (12 years, 1 month ago) by pooka
Branch: MAIN
Changes since 1.15: +5 -4 lines
Diff to previous 1.15 (colored)

dump pid/lwp of caller

Revision 1.15 / (download) - annotate - [select for diffs], Thu Oct 11 19:41:15 2007 UTC (12 years, 1 month ago) by pooka
Branch: MAIN
Changes since 1.14: +9 -9 lines
Diff to previous 1.14 (colored)

Part 1/n of some pretty extensive changes to how the kernel module
interacts with the userspace file server:

  * since the kernel-user communication is not purely request-response
    anymore (hasn't been since 2006), try to rename some "request" to
    "message".  more similar mangling will take place in the future.

  * completely rework how messages are allocated.  previously most of
    them were borrowed from the stack (originally *all* of them),
    but now always allocate dynamically.  this makes the structure
    of the code much cleaner.  also makes it possible to fix a
    locking order violation.  it enables plenty of future enhancements.

  * start generalizing the transport interface to be independent of puffs

  * move transport interface to read/write instead of ioctl.  the
    old one had legacy design problems, and besides, ioctl's suck.
    implement a very generic version for now; this will be
    worked on later hopefully some day reaching "highly optimized".

  * implement libpuffs support behind existing library request
    interfaces.  this will change eventually (I hate those interfaces)

Revision 1.14 / (download) - annotate - [select for diffs], Sat Sep 29 22:07:32 2007 UTC (12 years, 2 months ago) by pooka
Branch: MAIN
Changes since 1.13: +16 -2 lines
Diff to previous 1.13 (colored)

support error notifications

Revision 1.13 / (download) - annotate - [select for diffs], Wed Aug 22 17:57:48 2007 UTC (12 years, 3 months ago) by pooka
Branch: MAIN
Branch point for: matt-armv6
Changes since 1.12: +41 -11 lines
Diff to previous 1.12 (colored)

Dump lookup/componentname specific info in opdump.
(sigh, I guess I guess I'll never do opdump properly at this rate)

Revision 1.12 / (download) - annotate - [select for diffs], Tue Aug 7 13:44:27 2007 UTC (12 years, 4 months ago) by pooka
Branch: MAIN
Changes since 1.11: +24 -2 lines
Diff to previous 1.11 (colored)

dump further info for read/write

Revision 1.11 / (download) - annotate - [select for diffs], Sat Jun 30 12:42:25 2007 UTC (12 years, 5 months ago) by pooka
Branch: MAIN
CVS Tags: matt-mips64-base, matt-mips64, hpcarm-cleanup
Changes since 1.10: +15 -3 lines
Diff to previous 1.10 (colored)

print time elapsed between calls

Revision 1.10 / (download) - annotate - [select for diffs], Wed Jun 6 01:55:01 2007 UTC (12 years, 6 months ago) by pooka
Branch: MAIN
Changes since 1.9: +2 -5 lines
Diff to previous 1.9 (colored)

Move puffs to a two clause license where it already isn't so.  And
as agc pointed out, even files with the third clause were already
effectively two clause because of a slight bug in the language...

Revision 1.9 / (download) - annotate - [select for diffs], Tue Mar 20 10:22:22 2007 UTC (12 years, 8 months ago) by pooka
Branch: MAIN
Changes since 1.8: +18 -4 lines
Diff to previous 1.8 (colored)

initial support for cacheops

Revision 1.8 / (download) - annotate - [select for diffs], Sun Feb 18 17:36:48 2007 UTC (12 years, 9 months ago) by pooka
Branch: MAIN
Changes since 1.7: +12 -3 lines
Diff to previous 1.7 (colored)

dump return values for operations

Revision 1.7 / (download) - annotate - [select for diffs], Fri Jan 26 23:00:33 2007 UTC (12 years, 10 months ago) by pooka
Branch: MAIN
Changes since 1.6: +4 -3 lines
Diff to previous 1.6 (colored)

add interfaces for suspending the file system

Revision 1.6 / (download) - annotate - [select for diffs], Tue Dec 5 23:04:21 2006 UTC (13 years ago) by pooka
Branch: MAIN
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored)

adapt to kernel change:
Allow multiple requests to be transferred in each GET/PUTOP

Revision 1.5 / (download) - annotate - [select for diffs], Tue Nov 7 22:10:53 2006 UTC (13 years, 1 month ago) by pooka
Branch: MAIN
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, 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
Changes since 1.4: +10 -7 lines
Diff to previous 1.4 (colored)

* support FAF (Fire-And-Forget) class operations
* adapt to new lookup

Revision 1.4 / (download) - annotate - [select for diffs], Mon Oct 23 16:53:17 2006 UTC (13 years, 1 month ago) by pooka
Branch: MAIN
Changes since 1.3: +68 -50 lines
Diff to previous 1.3 (colored)

dump correct name for vfs operations

Revision 1.3 / (download) - annotate - [select for diffs], Mon Oct 23 03:10:09 2006 UTC (13 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.2: +4 -4 lines
Diff to previous 1.2 (colored)

use portable prints

Revision 1.2 / (download) - annotate - [select for diffs], Mon Oct 23 00:22:24 2006 UTC (13 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.1: +3 -2 lines
Diff to previous 1.1 (colored)

pass lint; fix install.

Revision 1.1 / (download) - annotate - [select for diffs], Sun Oct 22 22:52:21 2006 UTC (13 years, 1 month ago) by pooka
Branch: MAIN

add libpuffs - the userspace programming interface for puffs

This work was initially started and completed for Google SoC 2005
and tweaked to work a bit better in the past few weeks.  While
being far from complete, it is functional enough to be able and
stable to host a fairly general-purpose in-memory file system in
userspace.  Even so, puffs should be considered experimental and
no binary compatibility for interfaces or crash-freedom or zero
security implications should be relied upon just yet.

The GSoC project was mentored by William Studenmund and the final
review for the code was done by Christos.

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>