The NetBSD Project

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

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.15.8.1 / (download) - annotate - [select for diffs], Thu Sep 18 04:39:24 2008 UTC (15 years, 7 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.15: +11 -11 lines
Diff to previous 1.15 (colored) next main 1.16 (colored) to selected 1.13 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.16 / (download) - annotate - [select for diffs], Tue Aug 12 19:44:39 2008 UTC (15 years, 8 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-pagecache-tag8, yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-pagecache, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, 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, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, 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-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, 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, netbsd-7, 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, 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, netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, matt-premerge-20091211, matt-nb8-mediatek-base, matt-nb8-mediatek, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, 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, localcount-20160914, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, cherry-xenmp-base, cherry-xenmp, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2, agc-symver-base, agc-symver, HEAD
Changes since 1.15: +11 -11 lines
Diff to previous 1.15 (colored) to selected 1.13 (colored)

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

Revision 1.11.4.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:36:45 2008 UTC (16 years, 3 months ago) by matt
Branch: matt-armv6
Changes since 1.11.4.1: +31 -18 lines
Diff to previous 1.11.4.1 (colored) to branchpoint 1.11 (colored) next main 1.12 (colored) to selected 1.13 (colored)

sync with HEAD

Revision 1.15 / (download) - annotate - [select for diffs], Wed Dec 5 18:55:19 2007 UTC (16 years, 4 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, matt-armv6-base, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-nbase, hpcarm-cleanup-base, cube-autoconf-base, cube-autoconf
Branch point for: wrstuden-revivesa
Changes since 1.14: +10 -4 lines
Diff to previous 1.14 (colored) to selected 1.13 (colored)

free flushbuffer after use

Revision 1.14 / (download) - annotate - [select for diffs], Wed Dec 5 12:11:56 2007 UTC (16 years, 4 months ago) by pooka
Branch: MAIN
Changes since 1.13: +24 -17 lines
Diff to previous 1.13 (colored)

Send a response message for flush operations from the kernel instead
of abusing the return value of write(2).

Revision 1.13 / (download) - annotate - [selected], Mon Nov 12 16:39:35 2007 UTC (16 years, 5 months ago) by pooka
Branch: MAIN
Changes since 1.12: +4 -4 lines
Diff to previous 1.12 (colored)

* split the putter header into a kernel version and a userland version
  + install latter to /usr/include/dev/putter
* remove last dependencies to puffs from putter, it's completely
  independent now

Revision 1.11.4.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:11:51 2007 UTC (16 years, 5 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.11: +31 -39 lines
Diff to previous 1.11 (colored) to selected 1.13 (colored)

sync with HEAD

Revision 1.12 / (download) - annotate - [select for diffs], Thu Oct 11 19:41:14 2007 UTC (16 years, 6 months ago) by pooka
Branch: MAIN
Changes since 1.11: +31 -39 lines
Diff to previous 1.11 (colored) to selected 1.13 (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.11.6.2 / (download) - annotate - [select for diffs], Thu Jul 19 12:52:29 2007 UTC (16 years, 9 months ago) by pooka
Branch: matt-mips64
Changes since 1.11.6.1: +130 -0 lines
Diff to previous 1.11.6.1 (colored) to branchpoint 1.11 (colored) next main 1.12 (colored) to selected 1.13 (colored)

Don't float puffs_kargs needlessly around after mount, saves
a couple k of memory (and there was much rejoycing!)

Revision 1.11.6.1, Thu Jul 19 12:52:28 2007 UTC (16 years, 9 months ago) by pooka
Branch: matt-mips64
Changes since 1.11: +0 -130 lines
FILE REMOVED

file flush.c was added on branch matt-mips64 on 2007-07-19 12:52:29 +0000

Revision 1.11 / (download) - annotate - [select for diffs], Thu Jul 19 12:52:28 2007 UTC (16 years, 9 months ago) by pooka
Branch: MAIN
CVS Tags: matt-mips64-base, hpcarm-cleanup
Branch point for: matt-mips64, matt-armv6
Changes since 1.10: +8 -8 lines
Diff to previous 1.10 (colored) to selected 1.13 (colored)

Don't float puffs_kargs needlessly around after mount, saves
a couple k of memory (and there was much rejoycing!)

Revision 1.10 / (download) - annotate - [select for diffs], Wed Jun 6 01:55:01 2007 UTC (16 years, 10 months ago) by pooka
Branch: MAIN
Changes since 1.9: +2 -5 lines
Diff to previous 1.9 (colored) to selected 1.13 (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], Fri Apr 13 13:35:46 2007 UTC (17 years ago) by pooka
Branch: MAIN
Changes since 1.8: +8 -8 lines
Diff to previous 1.8 (colored) to selected 1.13 (colored)

Instead of keeping on adding parameters to puffs_mount(), make it
only take the bare essentials, which currently means removing
"maxreqlen" from the argument list (all current callers I'm aware
of set it as 0 anyway).  Introduce puffs_init(), which provides a
context for setting various parameters and puffs_domount(), which
can be used to mount the file system.  Keep puffs_mount() as a
shortcut for the above two for simple file systems.

Bump development ABI version to 13.  After all, it's Friday the 13th.
Watch out!  Bad things can happen on Friday the 13th. --No carrier--

Revision 1.8 / (download) - annotate - [select for diffs], Thu Apr 12 15:09:00 2007 UTC (17 years ago) by pooka
Branch: MAIN
Changes since 1.7: +4 -2 lines
Diff to previous 1.7 (colored) to selected 1.13 (colored)

Hide struct puffs_usermount from the rest of the world and provide
accessors for interesting data in it.  Namely, you can now get
pu->pu_privdata with puffs_getspecific(), pu->pu_pn_root with
puffs_set/getroot() and pu->pu_maxreqlen with puffs_getmaxreqlen().

Revision 1.7 / (download) - annotate - [select for diffs], Fri Apr 6 17:49:11 2007 UTC (17 years ago) by pooka
Branch: MAIN
Changes since 1.6: +29 -2 lines
Diff to previous 1.6 (colored) to selected 1.13 (colored)

support page cache flushing

Revision 1.6 / (download) - annotate - [select for diffs], Fri Apr 6 17:06:39 2007 UTC (17 years ago) by pooka
Branch: MAIN
Changes since 1.5: +5 -3 lines
Diff to previous 1.5 (colored) to selected 1.13 (colored)

use range invalidation op also for invalidating entire page cache of a node

Revision 1.5 / (download) - annotate - [select for diffs], Fri Apr 6 16:38:03 2007 UTC (17 years ago) by pooka
Branch: MAIN
Changes since 1.4: +16 -2 lines
Diff to previous 1.4 (colored) to selected 1.13 (colored)

implement puffs_inval_pagecache_node_range()

Revision 1.4 / (download) - annotate - [select for diffs], Tue Mar 20 11:28:35 2007 UTC (17 years, 1 month ago) by pooka
Branch: MAIN
Changes since 1.3: +2 -3 lines
Diff to previous 1.3 (colored) to selected 1.13 (colored)

g/c unused debug variable

Revision 1.3 / (download) - annotate - [select for diffs], Tue Mar 20 10:22:22 2007 UTC (17 years, 1 month ago) by pooka
Branch: MAIN
Changes since 1.2: +16 -2 lines
Diff to previous 1.2 (colored) to selected 1.13 (colored)

initial support for cacheops

Revision 1.2 / (download) - annotate - [select for diffs], Tue Jan 9 18:19:01 2007 UTC (17 years, 3 months ago) by pooka
Branch: MAIN
Changes since 1.1: +5 -5 lines
Diff to previous 1.1 (colored) to selected 1.13 (colored)

rename name cache invalidation interface to be in sync with the
kernel operation names, i.e. contain "namecache" instead of just "name"

Revision 1.1 / (download) - annotate - [select for diffs], Tue Jan 9 18:15:08 2007 UTC (17 years, 3 months ago) by pooka
Branch: MAIN
Diff to selected 1.13 (colored)

lib interface for invalidation routines

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>