* [PATCH 1/2] net/9p: Make 9P2000.L the default protocol for 9p file system
@ 2013-05-20 6:50 Aneesh Kumar K.V
2013-05-20 6:50 ` [PATCH 2/2] net/9p: Use virtio transpart as the default transport Aneesh Kumar K.V
0 siblings, 1 reply; 2+ messages in thread
From: Aneesh Kumar K.V @ 2013-05-20 6:50 UTC (permalink / raw)
To: v9fs-developer; +Cc: linux-kernel, Aneesh Kumar K.V
From: "Aneesh Kumar K.V" <aneesh.kumar@linux.vnet.ibm.com>
If we dont' specify a protocol version default to 9P2000.L. 9P2000.L
have better support for posix semantic and is where all the recent development
is happening.
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
---
net/9p/client.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/9p/client.c b/net/9p/client.c
index 8eb7542..812a4cd 100644
--- a/net/9p/client.c
+++ b/net/9p/client.c
@@ -127,7 +127,7 @@ static int parse_opts(char *opts, struct p9_client *clnt)
char *s;
int ret = 0;
- clnt->proto_version = p9_proto_2000u;
+ clnt->proto_version = p9_proto_2000L;
clnt->msize = 8192;
if (!opts)
--
1.8.1.2
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH 2/2] net/9p: Use virtio transpart as the default transport
2013-05-20 6:50 [PATCH 1/2] net/9p: Make 9P2000.L the default protocol for 9p file system Aneesh Kumar K.V
@ 2013-05-20 6:50 ` Aneesh Kumar K.V
0 siblings, 0 replies; 2+ messages in thread
From: Aneesh Kumar K.V @ 2013-05-20 6:50 UTC (permalink / raw)
To: v9fs-developer; +Cc: linux-kernel, Aneesh Kumar K.V
From: "Aneesh Kumar K.V" <aneesh.kumar@linux.vnet.ibm.com>
Make the default 9p experience better by defaulting to virtio transport if present.
These days most of the users are using 9p in a virtualized setup
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
---
net/9p/client.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/net/9p/client.c b/net/9p/client.c
index 812a4cd..5e94dab 100644
--- a/net/9p/client.c
+++ b/net/9p/client.c
@@ -1015,6 +1015,9 @@ struct p9_client *p9_client_create(const char *dev_name, char *options)
goto destroy_tagpool;
if (!clnt->trans_mod)
+ clnt->trans_mod = v9fs_get_trans_by_name("virtio");
+
+ if (!clnt->trans_mod)
clnt->trans_mod = v9fs_get_default_trans();
if (clnt->trans_mod == NULL) {
--
1.8.1.2
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-05-20 6:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-20 6:50 [PATCH 1/2] net/9p: Make 9P2000.L the default protocol for 9p file system Aneesh Kumar K.V
2013-05-20 6:50 ` [PATCH 2/2] net/9p: Use virtio transpart as the default transport Aneesh Kumar K.V
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome