Up to [cvs.netbsd.org] / src / usr.sbin / puffs / mount_9p
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.10.4.2 / (download) - annotate - [select for diffs], Wed Jan 9 02:02:18 2008 UTC (4 years, 4 months ago) by matt
Branch: matt-armv6
Changes since 1.10.4.1: +10 -9
lines
Diff to previous 1.10.4.1 (colored) to branchpoint 1.10 (colored) next main 1.11 (colored)
sync with HEAD
Revision 1.12 / (download) - annotate - [select for diffs], Fri Nov 30 19:02:38 2007 UTC (4 years, 5 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,
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,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
wrstuden-revivesa,
netbsd-6-base,
netbsd-6,
netbsd-5-base,
netbsd-5-1-RELEASE,
netbsd-5-1-RC4,
netbsd-5-1-RC3,
netbsd-5-1-RC2,
netbsd-5-1-RC1,
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,
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,
matt-armv6-nbase,
matt-armv6-base,
keiichi-mipv6-nbase,
keiichi-mipv6-base,
keiichi-mipv6,
jym-xensuspend-nbase,
jym-xensuspend-base,
jym-xensuspend,
hpcarm-cleanup-nbase,
hpcarm-cleanup-base,
cube-autoconf-base,
cube-autoconf,
cherry-xenmp-base,
cherry-xenmp,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2,
HEAD
Changes since 1.11: +10 -9
lines
Diff to previous 1.11 (colored)
Rototill. Ok, ok, a few more words about it: stop holding puffs_cc as a holy value and passing it around to almost every possible place (popquiz: which kernel variable does this remind you of?). Instead, pass the natural choice, puffs_usermount, and fetch puffs_cc via puffs_cc_getcc() only in routines which actually need it. This not only simplifies code, but (thanks to the introduction of puffs_cc_getcc()) enables constructs which weren't previously sanely possible, say layering as a curious example. There's still a little to do on this front, but this was the major fs interface blast.
Revision 1.10.4.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:36:31 2007 UTC (4 years, 6 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.10: +2 -2
lines
Diff to previous 1.10 (colored)
sync with HEAD
Revision 1.11 / (download) - annotate - [select for diffs], Thu Sep 6 16:09:10 2007 UTC (4 years, 8 months ago) by pooka
Branch: MAIN
Changes since 1.10: +2 -2
lines
Diff to previous 1.10 (colored)
adapt to new cmpfb signature
Revision 1.10 / (download) - annotate - [select for diffs], Tue Jul 17 10:06:04 2007 UTC (4 years, 10 months ago) by pooka
Branch: MAIN
CVS Tags: matt-mips64-base,
matt-mips64,
hpcarm-cleanup
Branch point for: matt-armv6
Changes since 1.9: +3 -2
lines
Diff to previous 1.9 (colored)
support standard user@host:path mount argument
Revision 1.9 / (download) - annotate - [select for diffs], Sat Jul 7 21:14:28 2007 UTC (4 years, 10 months ago) by pooka
Branch: MAIN
Changes since 1.8: +4 -4
lines
Diff to previous 1.8 (colored)
adapt to puffs_framebuf changes
Revision 1.8 / (download) - annotate - [select for diffs], Wed May 16 09:57:21 2007 UTC (5 years ago) by pooka
Branch: MAIN
Changes since 1.7: +24 -4
lines
Diff to previous 1.7 (colored)
Enhance the GETRESPONSE, JUSTSEND and SENDCB macros to process the return value from the network layer.
Revision 1.7 / (download) - annotate - [select for diffs], Tue May 15 13:46:47 2007 UTC (5 years ago) by pooka
Branch: MAIN
Changes since 1.6: +4 -4
lines
Diff to previous 1.6 (colored)
adapt to "step 3" of puffs_framebuf changes
Revision 1.6 / (download) - annotate - [select for diffs], Fri May 11 16:23:00 2007 UTC (5 years ago) by pooka
Branch: MAIN
Changes since 1.5: +5 -1
lines
Diff to previous 1.5 (colored)
adapt to puffs_framebuf changes
Revision 1.5 / (download) - annotate - [select for diffs], Sun May 6 22:17:50 2007 UTC (5 years ago) by pooka
Branch: MAIN
Changes since 1.4: +2 -2
lines
Diff to previous 1.4 (colored)
If mode is set, the uppermost byte specifying the type must be correctly, otherwise the file server will attempt a conversion. Specifically, if the directory bit is not set when changing the permissions for a directory, a conversion from directory to regular file would be attempted and naturally it being unsupported the whole chmod would fail. So supply the file type as part of the file mode.
Revision 1.4 / (download) - annotate - [select for diffs], Sun May 6 21:58:24 2007 UTC (5 years ago) by pooka
Branch: MAIN
Changes since 1.3: +1 -2
lines
Diff to previous 1.3 (colored)
Close file handles in inactive instead of close - a memory mapping may still be active after a vnode is closed
Revision 1.3 / (download) - annotate - [select for diffs], Sat May 5 15:49:51 2007 UTC (5 years ago) by pooka
Branch: MAIN
Changes since 1.2: +38 -101
lines
Diff to previous 1.2 (colored)
Adapt to use puffs_framebuf. This gets rid of most of the duplicated code between mount_psshfs and mount_9p and clarifies the code structure.
Revision 1.2 / (download) - annotate - [select for diffs], Sun Apr 22 18:10:48 2007 UTC (5 years, 1 month ago) by pooka
Branch: MAIN
Changes since 1.1: +3 -2
lines
Diff to previous 1.1 (colored)
Alter the strategy for reading/writing a bit. First of all, use PUFFS_KFLAG_WTCACHE. Second, create separate fids for reading and writing. If opening for read, open a read-only fid and for write a write-only fid; use these for reading and writing. When the open-count for a node drops to zero, clunk both. This avoids hitting the fid limit when accessing large directory hierarchies. Two problems remain: * does not take credentials into account, although we can only mount the remote 9P file server with one set of credentials, so not a huge worry * doesn't work for the open/mmap/close/access_memory_window case, but that will require some further kernel changes
Revision 1.1 / (download) - annotate - [select for diffs], Sat Apr 21 14:21:43 2007 UTC (5 years, 1 month ago) by pooka
Branch: MAIN
mount_9p: mount a file server using the Plan9 file sharing protocol Works, but lots of little things to nibble on: * fix permissions to work better * limit the amount of open files required * do constant folding with psshfs code * support authentication etcetc.