public inbox for v9fs@lists.linux.dev
 help / color / mirror / Atom feed
From: asmadeus@codewreck.org
To: Joshua Murphy <joshuamurphy@posteo.net>
Cc: ericvh@kernel.org, lucho@ionkov.net, linux_oss@crudebyte.com,
	v9fs@lists.linux.dev
Subject: Re: [PATCH v3] net/9p/fd: support ipv6 for trans=tcp
Date: Mon, 20 Jan 2025 22:13:18 +0900	[thread overview]
Message-ID: <Z45L7uHk5PCbE6zG@codewreck.org> (raw)
In-Reply-To: <Z44Hk0FEm5bTx7SZ@codewreck.org>

asmadeus@codewreck.org wrote on Mon, Jan 20, 2025 at 05:21:39PM +0900:
> Meanwhile I should have tried earlier but checkpatch has a few qualms
> about style; if you send a v4 for any other reason please try running it
> yourself.
> [..]

There's no value in having you send a v4 just for this so I went ahead
and just removed a couple of spaces in my tree;
you can find the commit here if you want to check:
https://github.com/martinetd/linux/commits/9p-next

> I can't make any promise about testing but will try to find time around
> next weekend, after which the patch will slowly make its way in next
> cycle.

And I found time for this sooner than I thought I would: mount worked
just fine, both in v4 and v6.

Since there is no obvious regression I've pushed the patch to my "next"
branch, which will be merged into linux-next shortly and I'll submit to
Linus next cycle -- we're in a merge window right now but I don't have
any other patch ready and this doesn't feel like it needs to be rushed
so it'll be in a couple of months.


FWIW, the "current" workaround that also works with any released kernel
is to mount as follow, with shells like bash that allow /dev/tcp this is
actually easy to script:
```
exec 3<>"/dev/tcp/$TCP_SERVER/$TCP_PORT"
mount -t 9p -o trans=fd,aname="$TCP_ANAME",rfdno=3,wfdno=3 none /mnt
exec 3<&-
```


Thank you again, this has been on my todo list for almost as long as I've
been cattering to this 9p client!

(and I'll conveniently ignore the fact that trans_rdma has the very same
problem, I haven't had access to hardware to test RDMA for years so
unless someone cares it's probably better to leave it untouched..)

-- 
Dominique Martinet | Asmadeus

  reply	other threads:[~2025-01-20 13:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-18 19:12 [PATCH v3] net/9p/fd: support ipv6 for trans=tcp Joshua Murphy
2025-01-20  8:21 ` asmadeus
2025-01-20 13:13   ` asmadeus [this message]
2025-01-20 20:12     ` Joshua Murphy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Z45L7uHk5PCbE6zG@codewreck.org \
    --to=asmadeus@codewreck.org \
    --cc=ericvh@kernel.org \
    --cc=joshuamurphy@posteo.net \
    --cc=linux_oss@crudebyte.com \
    --cc=lucho@ionkov.net \
    --cc=v9fs@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox