The NetBSD Project

CVS log for src/sys/fs/puffs/Attic/puffs_transport.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.22.6.2, Sun Mar 23 02:04:56 2008 UTC (10 years, 7 months ago) by matt
Branch: matt-armv6
Changes since 1.22.6.1: +2 -2 lines
FILE REMOVED

sync with HEAD

Revision 1.27.4.1, Mon Nov 19 00:48:30 2007 UTC (10 years, 11 months ago) by mjf
Branch: mjf-devfs
Changes since 1.27: +2 -2 lines
FILE REMOVED

Sync with HEAD.

Revision 1.3.2.6, Thu Nov 15 11:44:36 2007 UTC (11 years ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.3.2.5: +0 -762 lines
FILE REMOVED

sync with head.

Revision 1.27.2.1, Tue Nov 13 16:01:49 2007 UTC (11 years ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.27: +2 -2 lines
FILE REMOVED

Sync with HEAD

Revision 1.22.4.4, Sun Nov 11 16:47:54 2007 UTC (11 years ago) by joerg
Branch: jmcneill-pm
Changes since 1.22.4.3: +2 -2 lines
FILE REMOVED

Sync with HEAD.

Revision 1.28, Sat Nov 10 21:45:07 2007 UTC (11 years ago) by pooka
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, 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, yamt-nfs-mp-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, yamt-nfs-mp-base2, yamt-nfs-mp-base11, yamt-nfs-mp-base10, yamt-nfs-mp-base, yamt-nfs-mp, yamt-lazymbuf-base15, yamt-lazymbuf-base14, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, uebayasi-xip-base2, uebayasi-xip-base, uebayasi-xip, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, rmind-uvmplock-nbase, rmind-uvmplock-base, rmind-uvmplock, rmind-smpnet-nbase, rmind-smpnet-base, rmind-smpnet, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, 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-base, 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-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, mjf-devfs2-base, mjf-devfs2, mjf-devfs-base, matt-nb5-pq3-base, matt-nb5-pq3, matt-armv6-nbase, localcount-20160914, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, jruoho-x86intr-base, jruoho-x86intr, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-pm-base, jmcneill-audiomp3-base, jmcneill-audiomp3, hpcarm-cleanup-nbase, hpcarm-cleanup-base, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2, agc-symver-base, agc-symver, ad-socklock-base1, ad-audiomp2-base, ad-audiomp2, HEAD
Changes since 1.27: +2 -2 lines
FILE REMOVED

Part 2/n of extensive changes to request transport to/from userspace:

Rip the transport code completely out of puffs and generalize it
into an independent module which will be used for multiple purposes
in the future.  This module is called the Pass-to-Userspace
Transporter (known as "putter" among friends).

This is very much work-in-progress and one dependency with puffs
remains: the request framing format.

The device name is still /dev/puffs, but that will change soon.

Users of puffs need the following in their kernel configs now:
pseudo-device   putter

Revision 1.22.6.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:31:16 2007 UTC (11 years ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.22: +227 -178 lines
Diff to previous 1.22 (colored)

sync with HEAD

Revision 1.3.2.5 / (download) - annotate - [select for diffs], Sat Oct 27 11:35:11 2007 UTC (11 years ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.3.2.4: +227 -178 lines
Diff to previous 1.3.2.4 (colored) to branchpoint 1.3 (colored)

sync with head.

Revision 1.22.4.3 / (download) - annotate - [select for diffs], Fri Oct 26 15:48:19 2007 UTC (11 years ago) by joerg
Branch: jmcneill-pm
Changes since 1.22.4.2: +227 -175 lines
Diff to previous 1.22.4.2 (colored) to branchpoint 1.22 (colored)

Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.

Revision 1.22.8.2 / (download) - annotate - [select for diffs], Sun Oct 14 11:48:32 2007 UTC (11 years, 1 month ago) by yamt
Branch: yamt-x86pmap
Changes since 1.22.8.1: +227 -175 lines
Diff to previous 1.22.8.1 (colored) to branchpoint 1.22 (colored) next main 1.23 (colored)

sync with head.

Revision 1.8.6.11 / (download) - annotate - [select for diffs], Fri Oct 12 17:03:18 2007 UTC (11 years, 1 month ago) by ad
Branch: vmlocking
Changes since 1.8.6.10: +227 -175 lines
Diff to previous 1.8.6.10 (colored) to branchpoint 1.8 (colored) next main 1.9 (colored)

Sync with head.

Revision 1.27 / (download) - annotate - [select for diffs], Thu Oct 11 23:04:21 2007 UTC (11 years, 1 month ago) by pooka
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, vmlocking-base, matt-armv6-base, jmcneill-base
Branch point for: mjf-devfs, bouyer-xenamd64
Changes since 1.26: +159 -178 lines
Diff to previous 1.26 (colored)

Handle suspend and flush requests from the file server.

Revision 1.26 / (download) - annotate - [select for diffs], Thu Oct 11 19:41:14 2007 UTC (11 years, 1 month ago) by pooka
Branch: MAIN
Changes since 1.25: +82 -11 lines
Diff to previous 1.25 (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.8.6.10 / (download) - annotate - [select for diffs], Tue Oct 9 13:44:19 2007 UTC (11 years, 1 month ago) by ad
Branch: vmlocking
Changes since 1.8.6.9: +7 -10 lines
Diff to previous 1.8.6.9 (colored) to branchpoint 1.8 (colored)

Sync with head.

Revision 1.22.4.2 / (download) - annotate - [select for diffs], Sun Oct 7 13:25:07 2007 UTC (11 years, 1 month ago) by joerg
Branch: jmcneill-pm
Changes since 1.22.4.1: +2 -8 lines
Diff to previous 1.22.4.1 (colored) to branchpoint 1.22 (colored)

Sync with HEAD.

Revision 1.22.8.1 / (download) - annotate - [select for diffs], Sat Oct 6 15:29:49 2007 UTC (11 years, 1 month ago) by yamt
Branch: yamt-x86pmap
Changes since 1.22: +7 -10 lines
Diff to previous 1.22 (colored)

sync with head.

Revision 1.25 / (download) - annotate - [select for diffs], Thu Oct 4 21:20:47 2007 UTC (11 years, 1 month ago) by pooka
Branch: MAIN
CVS Tags: yamt-x86pmap-base2
Changes since 1.24: +2 -8 lines
Diff to previous 1.24 (colored)

g/c the "sizeop" code previous used for ioctl/fcntl.  It was already
commented out and has bitrotted beyond all recognition, so it needs
complete rethinking.

Revision 1.22.4.1 / (download) - annotate - [select for diffs], Tue Oct 2 18:28:53 2007 UTC (11 years, 1 month ago) by joerg
Branch: jmcneill-pm
Changes since 1.22: +7 -4 lines
Diff to previous 1.22 (colored)

Sync with HEAD.

Revision 1.24 / (download) - annotate - [select for diffs], Thu Sep 27 21:44:12 2007 UTC (11 years, 1 month ago) by pooka
Branch: MAIN
Changes since 1.23: +6 -3 lines
Diff to previous 1.23 (colored)

Differentiate between cookie2vnode returning an error and
return to caller, address unknown: no such cookie, no such node.
Make the callers use this info to either create a new vnode or bail.

Revision 1.23 / (download) - annotate - [select for diffs], Thu Sep 27 14:35:15 2007 UTC (11 years, 1 month ago) by pooka
Branch: MAIN
Changes since 1.22: +3 -3 lines
Diff to previous 1.22 (colored)

Fix a race in how new cookies are checked.  Previously the checking
was done separate of inserting the cookie into the lookup structure
and without any form of interlock.  This could lead to the same
cookie pointing to two different nodes.  Remedy the race by creating
a separate "checked and ready to be inserted" cookie list which
serves as an interlock without having to hold a fs-global creation
lock.

Revision 1.3.2.4 / (download) - annotate - [select for diffs], Mon Sep 3 14:40:30 2007 UTC (11 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.3.2.3: +120 -80 lines
Diff to previous 1.3.2.3 (colored) to branchpoint 1.3 (colored)

sync with head.

Revision 1.8.6.9 / (download) - annotate - [select for diffs], Mon Aug 20 21:26:09 2007 UTC (11 years, 2 months ago) by ad
Branch: vmlocking
Changes since 1.8.6.8: +11 -2 lines
Diff to previous 1.8.6.8 (colored) to branchpoint 1.8 (colored)

Sync with HEAD.

Revision 1.21.2.1 / (download) - annotate - [select for diffs], Wed Aug 15 13:48:59 2007 UTC (11 years, 3 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.21: +11 -2 lines
Diff to previous 1.21 (colored) next main 1.22 (colored)

Sync with HEAD.

Revision 1.22.10.2 / (download) - annotate - [select for diffs], Thu Jul 19 07:52:46 2007 UTC (11 years, 3 months ago) by pooka
Branch: matt-mips64
Changes since 1.22.10.1: +713 -0 lines
Diff to previous 1.22.10.1 (colored) to branchpoint 1.22 (colored) next main 1.23 (colored)

define PUFFSREQSIZEOP ioctl, which can be used to fetch the
maximum request size

Revision 1.22.10.1, Thu Jul 19 07:52:45 2007 UTC (11 years, 3 months ago) by pooka
Branch: matt-mips64
Changes since 1.22: +0 -713 lines
FILE REMOVED

file puffs_transport.c was added on branch matt-mips64 on 2007-07-19 07:52:46 +0000

Revision 1.22 / (download) - annotate - [select for diffs], Thu Jul 19 07:52:45 2007 UTC (11 years, 3 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-x86pmap-base, nick-csl-alignment-base5, nick-csl-alignment-base4, nick-csl-alignment-base3, nick-csl-alignment-base2, matt-mips64-base, hpcarm-cleanup
Branch point for: yamt-x86pmap, matt-mips64, matt-armv6, jmcneill-pm
Changes since 1.21: +11 -2 lines
Diff to previous 1.21 (colored)

define PUFFSREQSIZEOP ioctl, which can be used to fetch the
maximum request size

Revision 1.8.6.8 / (download) - annotate - [select for diffs], Sun Jul 15 13:27:32 2007 UTC (11 years, 4 months ago) by ad
Branch: vmlocking
Changes since 1.8.6.7: +5 -7 lines
Diff to previous 1.8.6.7 (colored) to branchpoint 1.8 (colored)

Sync with head.

Revision 1.8.8.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:09:30 2007 UTC (11 years, 4 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.8: +112 -81 lines
Diff to previous 1.8 (colored) next main 1.9 (colored)

Sync with head.

Revision 1.21 / (download) - annotate - [select for diffs], Mon Jul 9 21:10:49 2007 UTC (11 years, 4 months ago) by ad
Branch: MAIN
CVS Tags: nick-csl-alignment-base, mjf-ufs-trans-base
Branch point for: nick-csl-alignment
Changes since 1.20: +4 -3 lines
Diff to previous 1.20 (colored)

Merge some of the less invasive changes from the vmlocking branch:

- kthread, callout, devsw API changes
- select()/poll() improvements
- miscellaneous MT safety improvements

Revision 1.20 / (download) - annotate - [select for diffs], Thu Jun 21 14:54:49 2007 UTC (11 years, 4 months ago) by pooka
Branch: MAIN
Changes since 1.19: +5 -7 lines
Diff to previous 1.19 (colored)

Refactor the pnode2vnode translation slightly so that VFS_ROOT
can use it directly.

Revision 1.8.6.7 / (download) - annotate - [select for diffs], Sat Jun 9 23:58:02 2007 UTC (11 years, 5 months ago) by ad
Branch: vmlocking
Changes since 1.8.6.6: +2 -5 lines
Diff to previous 1.8.6.6 (colored) to branchpoint 1.8 (colored)

Sync with head.

Revision 1.8.6.6 / (download) - annotate - [select for diffs], Fri Jun 8 14:15:01 2007 UTC (11 years, 5 months ago) by ad
Branch: vmlocking
Changes since 1.8.6.5: +27 -38 lines
Diff to previous 1.8.6.5 (colored) to branchpoint 1.8 (colored)

Sync with head.

Revision 1.19 / (download) - annotate - [select for diffs], Wed Jun 6 01:55:00 2007 UTC (11 years, 5 months ago) by pooka
Branch: MAIN
Changes since 1.18: +2 -5 lines
Diff to previous 1.18 (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.18 / (download) - annotate - [select for diffs], Thu May 17 13:59:22 2007 UTC (11 years, 6 months ago) by pooka
Branch: MAIN
Changes since 1.17: +2 -6 lines
Diff to previous 1.17 (colored)

Make it possible for the file server to specify the root vnode type
and other information instead of always using VDIR.  To make this
possible without races, require all root node information already
in puffs_mount() and nuke puffs_start2() and the associated start
operation completely.

requested/inspired by Tobias Nygren

Revision 1.8.6.5 / (download) - annotate - [select for diffs], Sun May 13 17:36:33 2007 UTC (11 years, 6 months ago) by ad
Branch: vmlocking
Changes since 1.8.6.4: +3 -3 lines
Diff to previous 1.8.6.4 (colored) to branchpoint 1.8 (colored)

- Pass the error number and residual count to biodone(), and let it handle
  setting error indicators. Prepare to eliminate B_ERROR.
- Add a flag argument to brelse() to be set into the buf's flags, instead
  of doing it directly. Typically used to set B_INVAL.
- Add a "struct cpu_info *" argument to kthread_create(), to be used to
  create bound threads. Change "bool mpsafe" to "int flags".
- Allow exit of LWPs in the IDL state when (l != curlwp).
- More locking fixes & conversion to the new API.

Revision 1.8.2.3 / (download) - annotate - [select for diffs], Mon May 7 10:55:42 2007 UTC (11 years, 6 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.8.2.2: +27 -34 lines
Diff to previous 1.8.2.2 (colored) to branchpoint 1.8 (colored) next main 1.9 (colored)

sync with head.

Revision 1.17 / (download) - annotate - [select for diffs], Tue May 1 12:18:40 2007 UTC (11 years, 6 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-idlelwp-base8
Changes since 1.16: +20 -29 lines
Diff to previous 1.16 (colored)

Fix a problem introduced when I converted puffs to use newlock2:
when unmounting the file system in case of a certain timing (and
possibly some other conditions), a thread would wait on a condition
variable, while another thread broadcast the cv and immediately
proceeded to destroy it.  The result was a system frozen completely
solid shorly after the process waiting for the cv woke up.  So
introduce reference counting to synchronize destruction of the
resources in unmount.

I was able to repeat the problem only on my laptop in some special
cases, so I do not know how common it was.  Ironically, killing
the file server process violently instead of unmount() didn't have
this problem because it never entered the unmount path from two
directions.

Revision 1.16 / (download) - annotate - [select for diffs], Mon Apr 16 14:09:53 2007 UTC (11 years, 7 months ago) by pooka
Branch: MAIN
Changes since 1.15: +3 -3 lines
Diff to previous 1.15 (colored)

fix comment in previous

Revision 1.15 / (download) - annotate - [select for diffs], Mon Apr 16 14:09:00 2007 UTC (11 years, 7 months ago) by pooka
Branch: MAIN
Changes since 1.14: +9 -7 lines
Diff to previous 1.14 (colored)

Allow to set non-blocking mode for transport fd even if the file
system is not yet mounted.

Revision 1.8.2.2 / (download) - annotate - [select for diffs], Sun Apr 15 16:03:46 2007 UTC (11 years, 7 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.8.2.1: +81 -48 lines
Diff to previous 1.8.2.1 (colored) to branchpoint 1.8 (colored)

sync with head.

Revision 1.8.6.4 / (download) - annotate - [select for diffs], Tue Apr 10 13:26:36 2007 UTC (11 years, 7 months ago) by ad
Branch: vmlocking
Changes since 1.8.6.3: +86 -40 lines
Diff to previous 1.8.6.3 (colored) to branchpoint 1.8 (colored)

Sync with head.

Revision 1.8.6.3 / (download) - annotate - [select for diffs], Tue Apr 10 12:07:12 2007 UTC (11 years, 7 months ago) by ad
Branch: vmlocking
Changes since 1.8.6.2: +3 -3 lines
Diff to previous 1.8.6.2 (colored) to branchpoint 1.8 (colored)

Nuke the deferred kthread creation stuff, as it's no longer needed.
Pointed out by thorpej@.

Revision 1.8.6.2 / (download) - annotate - [select for diffs], Mon Apr 9 22:10:01 2007 UTC (11 years, 7 months ago) by ad
Branch: vmlocking
Changes since 1.8.6.1: +4 -3 lines
Diff to previous 1.8.6.1 (colored) to branchpoint 1.8 (colored)

- Add two new arguments to kthread_create1: pri_t pri, bool mpsafe.
- Fork kthreads off proc0 as new LWPs, not new processes.

Revision 1.14 / (download) - annotate - [select for diffs], Fri Apr 6 17:48:44 2007 UTC (11 years, 7 months ago) by pooka
Branch: MAIN
CVS Tags: thorpej-atomic-base, thorpej-atomic
Changes since 1.13: +10 -4 lines
Diff to previous 1.13 (colored)

support flushing pagecache

Revision 1.13 / (download) - annotate - [select for diffs], Fri Apr 6 17:05:35 2007 UTC (11 years, 7 months ago) by pooka
Branch: MAIN
Changes since 1.12: +2 -12 lines
Diff to previous 1.12 (colored)

actually, we don't need a separate op for flushing the whole page cache
of a node, just use the range op with endoff = 0

Revision 1.12 / (download) - annotate - [select for diffs], Fri Apr 6 16:37:02 2007 UTC (11 years, 7 months ago) by pooka
Branch: MAIN
Changes since 1.11: +27 -6 lines
Diff to previous 1.11 (colored)

* enable PUFFS_INVAL_PAGECACHE_NODE_RANGE
* add input parameter validation

Revision 1.11 / (download) - annotate - [select for diffs], Fri Mar 30 18:25:02 2007 UTC (11 years, 7 months ago) by pooka
Branch: MAIN
Changes since 1.10: +2 -10 lines
Diff to previous 1.10 (colored)

g/c some commented ltsleep calls accidentally left from newlock2 adaptation

Revision 1.8.10.1 / (download) - annotate - [select for diffs], Thu Mar 29 19:27:55 2007 UTC (11 years, 7 months ago) by reinoud
Branch: reinoud-bufcleanup
Changes since 1.8: +72 -35 lines
Diff to previous 1.8 (colored) next main 1.9 (colored)

Pullup to -current

Revision 1.10 / (download) - annotate - [select for diffs], Thu Mar 29 16:04:26 2007 UTC (11 years, 7 months ago) by pooka
Branch: MAIN
Changes since 1.9: +59 -35 lines
Diff to previous 1.9 (colored)

Convert spinlocks & sleep/wakeup to newlock2 locking stuff.  Fix a
bunch of bugs.

* park structures are now always allocated from a pool instead of a
  mixed stack/malloc allocation
* get rid of the whole adjbuf concept, always just alloc the maximal
  amount of memory to satisfy a request
* little regression: don't allow interrupting wait from file system
  to userspace; this had problems already before, but now the problems
  really started to shine through.  I'll try to make this work again
  some day.
* fix bmap to return a sensible value in runp

Revision 1.8.2.1 / (download) - annotate - [select for diffs], Sat Mar 24 14:55:58 2007 UTC (11 years, 7 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.8: +15 -2 lines
Diff to previous 1.8 (colored)

sync with head.

Revision 1.9 / (download) - annotate - [select for diffs], Tue Mar 20 10:21:59 2007 UTC (11 years, 7 months ago) by pooka
Branch: MAIN
Changes since 1.8: +15 -2 lines
Diff to previous 1.8 (colored)

* rework the page cache interaction a bit: cache metadata in the
  kernel and flush it out all at once instead of continuous updating
* add support for delivering notifications to the file server about
  when a page was written to (but disabled by default for now).  the
  file server can use this to request flushing or invalidating the
  kernel page cache

Revision 1.8.6.1 / (download) - annotate - [select for diffs], Tue Mar 13 17:50:48 2007 UTC (11 years, 8 months ago) by ad
Branch: vmlocking
Changes since 1.8: +6 -6 lines
Diff to previous 1.8 (colored)

Pull in the initial set of changes for the vmlocking branch.

Revision 1.3.2.3 / (download) - annotate - [select for diffs], Mon Feb 26 09:10:57 2007 UTC (11 years, 8 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.3.2.2: +135 -8 lines
Diff to previous 1.3.2.2 (colored) to branchpoint 1.3 (colored)

sync with head.

Revision 1.8 / (download) - annotate - [select for diffs], Fri Feb 16 17:23:59 2007 UTC (11 years, 8 months ago) by hannken
Branch: MAIN
CVS Tags: ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp, vmlocking, reinoud-bufcleanup, mjf-ufs-trans
Changes since 1.7: +2 -8 lines
Diff to previous 1.7 (colored)

Make fstrans(9) the default helper for file system suspension.
Replaces the now obsolete vn_start_write()/vn_finished_write().

Revision 1.7 / (download) - annotate - [select for diffs], Fri Feb 9 21:55:30 2007 UTC (11 years, 9 months ago) by ad
Branch: MAIN
CVS Tags: post-newlock2-merge
Changes since 1.6: +7 -7 lines
Diff to previous 1.6 (colored)

Merge newlock2 to head.

Revision 1.4.2.4 / (download) - annotate - [select for diffs], Thu Feb 1 08:48:33 2007 UTC (11 years, 9 months ago) by ad
Branch: newlock2
Changes since 1.4.2.3: +78 -3 lines
Diff to previous 1.4.2.3 (colored) next main 1.5 (colored)

Sync with head.

Revision 1.6 / (download) - annotate - [select for diffs], Sun Jan 28 00:27:33 2007 UTC (11 years, 9 months ago) by pooka
Branch: MAIN
CVS Tags: newlock2-nbase, newlock2-base
Changes since 1.5: +3 -7 lines
Diff to previous 1.5 (colored)

don't need pi_lock for struct member access, so don't take it

Revision 1.5 / (download) - annotate - [select for diffs], Fri Jan 26 22:59:49 2007 UTC (11 years, 9 months ago) by pooka
Branch: MAIN
Changes since 1.4: +83 -4 lines
Diff to previous 1.4 (colored)

Initial attempt at suspend/snapshot support for userspace file
servers.  This is still pretty much on the level "if it breaks ...".
It should work for single-threaded servers which handle one operation
from start to finish in one go.  Also, it does not yet totally
correctly synchronize metadata and data in some cases.  So needless
to say, it needs improvement, but it is possible that will have to
wait for some lock revampage.

Revision 1.4.2.3 / (download) - annotate - [select for diffs], Thu Jan 18 00:15:36 2007 UTC (11 years, 9 months ago) by christos
Branch: newlock2
Changes since 1.4.2.2: +7 -7 lines
Diff to previous 1.4.2.2 (colored)

make things compile.

Revision 1.4.2.2 / (download) - annotate - [select for diffs], Fri Jan 12 01:04:05 2007 UTC (11 years, 10 months ago) by ad
Branch: newlock2
Changes since 1.4.2.1: +604 -0 lines
Diff to previous 1.4.2.1 (colored)

Sync with head.

Revision 1.4.2.1, Tue Jan 9 18:14:31 2007 UTC (11 years, 10 months ago) by ad
Branch: newlock2
Changes since 1.4: +0 -604 lines
FILE REMOVED

file puffs_transport.c was added on branch newlock2 on 2007-01-12 01:04:05 +0000

Revision 1.4 / (download) - annotate - [select for diffs], Tue Jan 9 18:14:31 2007 UTC (11 years, 10 months ago) by pooka
Branch: MAIN
Branch point for: newlock2
Changes since 1.3: +60 -2 lines
Diff to previous 1.3 (colored)

Introduce flush operations, which the fs server can use to control
kernel caching.  Currently supported are only flushing the name
cache for a directory or flushing the name cache for the entire fs.

Also, get rid of PNODE_INACTIVE status, since it was racy and
essentially didn't work.  All this on top of being useless in the
first place ....

Revision 1.3.2.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:50:01 2006 UTC (11 years, 10 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.3.2.1: +546 -0 lines
Diff to previous 1.3.2.1 (colored) to branchpoint 1.3 (colored)

sync with head.

Revision 1.1.2.3 / (download) - annotate - [select for diffs], Mon Dec 18 11:42:15 2006 UTC (11 years, 10 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.1.2.2: +57 -19 lines
Diff to previous 1.1.2.2 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

sync with head.

Revision 1.3.2.1, Sun Dec 10 23:43:55 2006 UTC (11 years, 11 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.3: +0 -546 lines
FILE REMOVED

file puffs_transport.c was added on branch yamt-lazymbuf on 2006-12-30 20:50:01 +0000

Revision 1.3 / (download) - annotate - [select for diffs], Sun Dec 10 23:43:55 2006 UTC (11 years, 11 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4
Branch point for: yamt-lazymbuf
Changes since 1.2: +24 -17 lines
Diff to previous 1.2 (colored)

* free puffs_instance structure in all cases when closing the descriptor
* comment, rcsid & kassert police

Revision 1.2 / (download) - annotate - [select for diffs], Sun Dec 10 22:33:31 2006 UTC (11 years, 11 months ago) by pooka
Branch: MAIN
Changes since 1.1: +34 -3 lines
Diff to previous 1.1 (colored)

Fix a race condition that would cause the mountpoint to be cleaned
from under someone waiting for the fs server response in puffs_unmount()
if the descriptor was closed during the response wait (such as bug
leading to a crash in fs implementation unmount()).

Revision 1.1.2.2 / (download) - annotate - [select for diffs], Sun Dec 10 07:18:38 2006 UTC (11 years, 11 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.1.2.1: +508 -0 lines
Diff to previous 1.1.2.1 (colored) to branchpoint 1.1 (colored)

sync with head.

Revision 1.1.2.1, Tue Dec 5 23:41:24 2006 UTC (11 years, 11 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.1: +0 -508 lines
FILE REMOVED

file puffs_transport.c was added on branch yamt-splraiseipl on 2006-12-10 07:18:38 +0000

Revision 1.1 / (download) - annotate - [select for diffs], Tue Dec 5 23:41:24 2006 UTC (11 years, 11 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-splraiseipl-base3
Branch point for: yamt-splraiseipl

shuffle functions around a bit: move the transport (/dev/puffs) to
a different file from the messaging (request contents).  no functional
change

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>