Home | History | Annotate | Download | only in mount_9p
History log of /src/usr.sbin/puffs/mount_9p/ninepuffs.h
RevisionDateAuthorComments
 1.16  26-May-2020  uwe Use the typedef to declare tag in AUTOVAR. Do not allocate 9P tags in
advance in AUTOVAR, do it right before we need them. Do no reuse tags.
If we are going to use sequential tags, we might as well try to make
them really sequential.
 1.15  28-Oct-2019  ozaki-r mount_9p: enable to communicate with vio9p via its character device file

With this feature, we can mount an exported filesystem by a VM host via
virtio-9p.
 1.14  07-Jun-2019  ozaki-r Handle Rerror and return errno correctly (only for 9P2000.u for now)
 1.13  17-May-2019  ozaki-r mount_9p: add initial support for 9P2000.u

The implementation enables to work with a server talking 9P2000.u. However, it
doesn't use the extended fields yet; it just ignores those of received messages
and sets "please ignore" values to those of sending messages such as zero-length
strings and maximum unsigned values.

The feature is enabled by the -u option.
 1.12  30-Nov-2007  pooka branches: 1.12.70;
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.
 1.11  06-Sep-2007  pooka adapt to new cmpfb signature
 1.10  17-Jul-2007  pooka branches: 1.10.4;
support standard user@host:path mount argument
 1.9  07-Jul-2007  pooka adapt to puffs_framebuf changes
 1.8  16-May-2007  pooka Enhance the GETRESPONSE, JUSTSEND and SENDCB macros to process the
return value from the network layer.
 1.7  15-May-2007  pooka adapt to "step 3" of puffs_framebuf changes
 1.6  11-May-2007  pooka adapt to puffs_framebuf changes
 1.5  06-May-2007  pooka 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.
 1.4  06-May-2007  pooka Close file handles in inactive instead of close - a memory mapping
may still be active after a vnode is closed
 1.3  05-May-2007  pooka 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.
 1.2  22-Apr-2007  pooka 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
 1.1  21-Apr-2007  pooka 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.
 1.10.4.2  09-Jan-2008  matt sync with HEAD
 1.10.4.1  06-Nov-2007  matt sync with HEAD
 1.12.70.2  13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.12.70.1  10-Jun-2019  christos Sync with HEAD

RSS XML Feed