All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dominique Martinet <asmadeus@codewreck.org>
To: Stefan Hajnoczi <stefanha@redhat.com>
Cc: David Howells <dhowells@redhat.com>,
	Miklos Szeredi <miklos@szeredi.hu>,
	Richard Weinberger <richard.weinberger@gmail.com>,
	linux kernel mailing list <linux-kernel@vger.kernel.org>,
	virtio-fs@redhat.com, viro@zeniv.linux.org.uk,
	Christoph Hellwig <hch@infradead.org>,
	linux-fsdevel@vger.kernel.org,
	v9fs-developer@lists.sourceforge.net,
	Vivek Goyal <vgoyal@redhat.com>
Subject: Re: [Virtio-fs] [PATCH] init/do_mounts.c: Add root="fstag:<tag>" syntax for root device
Date: Thu, 10 Jun 2021 17:33:34 +0900	[thread overview]
Message-ID: <YMHOXn2cpGh1T9vz@codewreck.org> (raw)
In-Reply-To: <YMHKZhfT0CUgeLno@stefanha-x1.localdomain>

Stefan Hajnoczi wrote on Thu, Jun 10, 2021 at 09:16:38AM +0100:
> virtio-9p should be simple. I'm not sure how much additional setup the
> other 9p transports require. TCP and RDMA seem doable if there are
> kernel parameters to configure things before the root file system is
> mounted.

For TCP, we can probably piggyback on what nfs does for this, see the
ip= parameter in Documentation/admin-guide/nfs/nfsroot.rst -- it lives
in net/ipv4/ipconfig.c so should just work out of the box

For RDMA I'm less optimistic, technically if we can setup ipoib with an
ip with the same parameter it should work, but I have nothing to test it
on anyway so that'll wait until someone who cares actually does try...


Either way, we've got to start somewhere, so it's good there's something :)
-- 
Dominique



WARNING: multiple messages have this Message-ID (diff)
From: Dominique Martinet <asmadeus@codewreck.org>
To: Stefan Hajnoczi <stefanha@redhat.com>
Cc: Vivek Goyal <vgoyal@redhat.com>,
	linux-fsdevel@vger.kernel.org, virtio-fs@redhat.com,
	linux kernel mailing list <linux-kernel@vger.kernel.org>,
	Miklos Szeredi <miklos@szeredi.hu>,
	David Howells <dhowells@redhat.com>,
	viro@zeniv.linux.org.uk,
	Richard Weinberger <richard.weinberger@gmail.com>,
	dgilbert@redhat.com, v9fs-developer@lists.sourceforge.net,
	Christoph Hellwig <hch@infradead.org>
Subject: Re: [PATCH] init/do_mounts.c: Add root="fstag:<tag>" syntax for root device
Date: Thu, 10 Jun 2021 17:33:34 +0900	[thread overview]
Message-ID: <YMHOXn2cpGh1T9vz@codewreck.org> (raw)
In-Reply-To: <YMHKZhfT0CUgeLno@stefanha-x1.localdomain>

Stefan Hajnoczi wrote on Thu, Jun 10, 2021 at 09:16:38AM +0100:
> virtio-9p should be simple. I'm not sure how much additional setup the
> other 9p transports require. TCP and RDMA seem doable if there are
> kernel parameters to configure things before the root file system is
> mounted.

For TCP, we can probably piggyback on what nfs does for this, see the
ip= parameter in Documentation/admin-guide/nfs/nfsroot.rst -- it lives
in net/ipv4/ipconfig.c so should just work out of the box

For RDMA I'm less optimistic, technically if we can setup ipoib with an
ip with the same parameter it should work, but I have nothing to test it
on anyway so that'll wait until someone who cares actually does try...


Either way, we've got to start somewhere, so it's good there's something :)
-- 
Dominique



  reply	other threads:[~2021-06-10  8:33 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-08 15:35 [Virtio-fs] [PATCH] init/do_mounts.c: Add root="fstag:<tag>" syntax for root device Vivek Goyal
2021-06-08 15:35 ` Vivek Goyal
2021-06-08 18:38 ` [Virtio-fs] " Harry G. Coin
2021-06-08 19:26   ` Vivek Goyal
2021-06-08 19:26     ` Vivek Goyal
2021-06-08 19:49     ` Harry G. Coin
2021-06-08 19:49       ` Harry G. Coin
2021-06-08 21:41 ` Dominique Martinet
2021-06-08 21:41   ` Dominique Martinet
2021-06-09  9:51 ` [Virtio-fs] " Stefan Hajnoczi
2021-06-09  9:51   ` Stefan Hajnoczi
2021-06-09 14:13   ` [Virtio-fs] " Harry G. Coin
2021-06-09 14:13     ` Harry G. Coin
2021-06-09 15:45   ` Vivek Goyal
2021-06-09 15:45     ` Vivek Goyal
2021-06-10  8:16     ` [Virtio-fs] " Stefan Hajnoczi
2021-06-10  8:16       ` Stefan Hajnoczi
2021-06-10  8:33       ` Dominique Martinet [this message]
2021-06-10  8:33         ` Dominique Martinet
2021-06-13 11:56         ` [Virtio-fs] " Dominique Martinet
2021-06-13 11:56           ` Dominique Martinet
2021-06-14 14:28           ` [Virtio-fs] " Vivek Goyal
2021-06-14 14:28             ` Vivek Goyal
2021-06-14 23:14             ` [Virtio-fs] " Dominique Martinet
2021-06-14 23:14               ` Dominique Martinet
2021-06-15 13:50               ` [Virtio-fs] " Vivek Goyal
2021-06-15 13:50                 ` Vivek Goyal
2021-06-16  3:24                 ` [Virtio-fs] " Dominique Martinet
2021-06-16  3:24                   ` Dominique Martinet

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=YMHOXn2cpGh1T9vz@codewreck.org \
    --to=asmadeus@codewreck.org \
    --cc=dhowells@redhat.com \
    --cc=hch@infradead.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=miklos@szeredi.hu \
    --cc=richard.weinberger@gmail.com \
    --cc=stefanha@redhat.com \
    --cc=v9fs-developer@lists.sourceforge.net \
    --cc=vgoyal@redhat.com \
    --cc=viro@zeniv.linux.org.uk \
    --cc=virtio-fs@redhat.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.