<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/net/9p/client.c, branch linux-2.6.27.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.27.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.27.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2008-09-24T21:22:23Z</updated>
<entry>
<title>9p: implement proper trans module refcounting and unregistration</title>
<updated>2008-09-24T21:22:23Z</updated>
<author>
<name>Tejun Heo</name>
</author>
<published>2008-09-24T21:22:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=72029fe85d8d060b3f966f2dbc36b3c75b5a6532'/>
<id>urn:sha1:72029fe85d8d060b3f966f2dbc36b3c75b5a6532</id>
<content type='text'>
9p trans modules aren't refcounted nor were they unregistered
properly.  Fix it.

* Add 9p_trans_module-&gt;owner and reference the module on each trans
  instance creation and put it on destruction.

* Protect v9fs_trans_list with a spinlock.  This isn't strictly
  necessary as the list is manipulated only during module loading /
  unloading but it's a good idea to make the API safe.

* Unregister trans modules when the corresponding module is being
  unloaded.

* While at it, kill unnecessary EXPORT_SYMBOL on p9_trans_fd_init().

Signed-off-by: Tejun Heo &lt;tj@kernel.org&gt;
Signed-off-by: Eric Van Hensbergen &lt;ericvh@gmail.com&gt;

</content>
</entry>
<entry>
<title>9p: Correct fidpool creation failure in p9_client_create</title>
<updated>2008-05-15T00:23:26Z</updated>
<author>
<name>Josef 'Jeff' Sipek</name>
</author>
<published>2008-03-07T17:40:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=728fc4ef17748042d9c71144aa339ed9c68e8b01'/>
<id>urn:sha1:728fc4ef17748042d9c71144aa339ed9c68e8b01</id>
<content type='text'>
On error, p9_idpool_create returns an ERR_PTR-encoded errno.

Signed-off-by: Josef 'Jeff' Sipek &lt;jeffpc@josefsipek.net&gt;
Acked-by: Eric Van Hensbergen &lt;ericvh@gmail.com&gt;
</content>
</entry>
<entry>
<title>9p: propagate parse_option changes to client and transports</title>
<updated>2008-05-15T00:23:26Z</updated>
<author>
<name>Eric Van Hensbergen</name>
</author>
<published>2008-03-07T16:53:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=bb8ffdfc3e3b32ad9fcdb8da289088d3b22794e5'/>
<id>urn:sha1:bb8ffdfc3e3b32ad9fcdb8da289088d3b22794e5</id>
<content type='text'>
Propagate changes that were made to the parse_options code to the
other parse options pieces present in the other modules.  Looks like
the client parse options was probably corrupting the parse string
and causing problems for others.

Signed-off-by: Eric Van Hensbergen &lt;ericvh@gmail.com&gt;
</content>
</entry>
<entry>
<title>9p: transport API reorganization</title>
<updated>2008-02-07T01:25:03Z</updated>
<author>
<name>Eric Van Hensbergen</name>
</author>
<published>2008-02-07T01:25:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8a0dc95fd976a052e5e799ef33e6c8e3141b5dff'/>
<id>urn:sha1:8a0dc95fd976a052e5e799ef33e6c8e3141b5dff</id>
<content type='text'>
This merges the mux.c (including the connection interface) with trans_fd
in preparation for transport API changes.  Ultimately, trans_fd will need
to be rewritten to clean it up and simplify the implementation, but this
reorganization is viewed as the first step.

Signed-off-by: Eric Van Hensbergen &lt;ericvh@gmail.com&gt;

</content>
</entry>
<entry>
<title>9p: block-based virtio client</title>
<updated>2008-02-07T01:25:58Z</updated>
<author>
<name>Eric Van Hensbergen</name>
</author>
<published>2008-02-07T01:25:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e2735b7720320b68590ca2b32b78ca91213931b2'/>
<id>urn:sha1:e2735b7720320b68590ca2b32b78ca91213931b2</id>
<content type='text'>
This replaces the console-based virto client with a block-based
client using a single request queue.

Signed-off-by: Eric Van Hensbergen &lt;ericvh@gmail.com&gt;

</content>
</entry>
<entry>
<title>9p: create transport rpc cut-thru</title>
<updated>2008-02-07T01:25:09Z</updated>
<author>
<name>Eric Van Hensbergen</name>
</author>
<published>2008-02-07T01:25:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=043aba403e9958c6526c9279b63919273cb09c13'/>
<id>urn:sha1:043aba403e9958c6526c9279b63919273cb09c13</id>
<content type='text'>
Add a new transport function which allows a cut-thru directly to
the transport instead of processing request through the mux if the
cut-thru exists.

Signed-off-by: Eric Van Hensbergen &lt;ericvh@gmail.com&gt;

</content>
</entry>
<entry>
<title>9p: fix bug in p9_clone_stat</title>
<updated>2008-02-07T01:20:44Z</updated>
<author>
<name>Martin Stava</name>
</author>
<published>2008-02-05T15:27:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=afcf0c13aeac04a39fa4d1eafdb75604b81af860'/>
<id>urn:sha1:afcf0c13aeac04a39fa4d1eafdb75604b81af860</id>
<content type='text'>
This patch fixes a bug in the copying of 9P
stat information where string references
weren't being updated properly.

Signed-off-by: Martin Sava &lt;martin.stava@gmail.com&gt;
Signed-off-by: Eric Van Hensbergen &lt;ericvh@gmail.com&gt;
</content>
</entry>
<entry>
<title>9p: fix bad kconfig cross-dependency</title>
<updated>2007-10-17T19:31:07Z</updated>
<author>
<name>Eric Van Hensbergen</name>
</author>
<published>2007-10-17T19:31:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fb0466c3ae7f1c73f70072af8fd27ac166908a2f'/>
<id>urn:sha1:fb0466c3ae7f1c73f70072af8fd27ac166908a2f</id>
<content type='text'>
This patch moves transport dynamic registration and matching to the net
module to prevent a bad Kconfig dependency between the net and fs 9p modules.

Signed-off-by: Eric Van Hensbergen &lt;ericvh@gmail.com&gt;

</content>
</entry>
<entry>
<title>9p: attach-per-user</title>
<updated>2007-10-17T19:31:07Z</updated>
<author>
<name>Latchesar Ionkov</name>
</author>
<published>2007-10-17T19:31:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ba17674fe02909fef049fd4b620a2805bdb8c693'/>
<id>urn:sha1:ba17674fe02909fef049fd4b620a2805bdb8c693</id>
<content type='text'>
The 9P2000 protocol requires the authentication and permission checks to be
done in the file server. For that reason every user that accesses the file
server tree has to authenticate and attach to the server separately.
Multiple users can share the same connection to the server.

Currently v9fs does a single attach and executes all I/O operations as a
single user. This makes using v9fs in multiuser environment unsafe as it
depends on the client doing the permission checking.

This patch improves the 9P2000 support by allowing every user to attach
separately. The patch defines three modes of access (new mount option
'access'):

- attach-per-user (access=user) (default mode for 9P2000.u)
 If a user tries to access a file served by v9fs for the first time, v9fs
 sends an attach command to the server (Tattach) specifying the user. If
 the attach succeeds, the user can access the v9fs tree.
 As there is no uname-&gt;uid (string-&gt;integer) mapping yet, this mode works
 only with the 9P2000.u dialect.

- allow only one user to access the tree (access=&lt;uid&gt;)
 Only the user with uid can access the v9fs tree. Other users that attempt
 to access it will get EPERM error.

- do all operations as a single user (access=any) (default for 9P2000)
 V9fs does a single attach and all operations are done as a single user.
 If this mode is selected, the v9fs behavior is identical with the current
 one.

Signed-off-by: Latchesar Ionkov &lt;lucho@ionkov.net&gt;
Signed-off-by: Eric Van Hensbergen &lt;ericvh@gmail.com&gt;

</content>
</entry>
<entry>
<title>9p: Make transports dynamic</title>
<updated>2007-10-17T19:31:07Z</updated>
<author>
<name>Eric Van Hensbergen</name>
</author>
<published>2007-10-17T19:31:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a80d923e1321a7ed69a0918de37e39871bb536a0'/>
<id>urn:sha1:a80d923e1321a7ed69a0918de37e39871bb536a0</id>
<content type='text'>
This patch abstracts out the interfaces to underlying transports so that
new transports can be added as modules.  This should also allow kernel
configuration of transports without ifdef-hell.

Signed-off-by: Eric Van Hensbergen &lt;ericvh@gmail.com&gt;

</content>
</entry>
</feed>
