From: Oleg Nesterov <oleg@redhat.com>
To: Eric Van Hensbergen <eric.vanhensbergen@linux.dev>
Cc: v9fs@lists.linux.dev, linux-kernel@vger.kernel.org,
kent.overstreet@linux.dev
Subject: Re: [GIT PULL] fs/9p patches for 6.9 merge window
Date: Thu, 11 Apr 2024 11:29:07 +0200 [thread overview]
Message-ID: <20240411092907.GA5494@redhat.com> (raw)
In-Reply-To: <e73a1e0c90ebce33c23f8f7746c23c1199f62a78@linux.dev>
On 04/10, Eric Van Hensbergen wrote:
>
> April 10, 2024 at 12:20 PM, "Eric Van Hensbergen" <eric.vanhensbergen@linux.dev> wrote:
> > April 8, 2024 at 9:14 AM, "Oleg Nesterov" <oleg@redhat.com> wrote:
> > > Hello,
> > > the commit 724a08450f74 ("fs/9p: simplify iget to remove unnecessary paths")
> > > from this PR breaks my setup.
> >
> I think
> I've reproduced the problem, fundamentally, since you have two mount
> points you are exporting together. I believe we are getting an inode
> number collision which was being hidden by the "always create a new inode
> on lookup" inefficiency in v9fs_vfs_lookup. You could probably verify
> that for me by stating the /home directory and the / directory on the
> server side of your setup.
Yes, yes,
$ ls -ldi / /home
2 dr-xr-xr-x. 18 root root 4096 Jan 4 2016 /
2 drwxr-xr-x. 7 root root 4096 Dec 20 2022 /home
that is why I showed you the relevant parts of my /etc/fstab
> If qemu detects that this is a possibility it usually
> prints something: qemu-system-aarch64: warning: 9p: Multiple devices
> detected in same VirtFS export,
My qemu is quite old, it doesn't. But I tested this on another machine
and yes, the newer qemu does warn.
(annoyingly, I had to redirect stderr to the file to see this warning,
it is cleared by the booting kernel otherwise).
> I can confirm that multidevs=remap in qemu does appear to avoid the
> problem,
Confirm!
I didn't know about this option (and again, my old qemu doesn't support
it), but everything seems to work just fine with the newer qemu and
multidevs=remap. Thanks!
So I think this regression is minor.
> now that i can
> reproduce the problem, I'm fairly certain I can get a patch together
> this week to test to see if it solves the regressions.
Thanks ;)
Oleg.
prev parent reply other threads:[~2024-04-11 9:30 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-15 15:10 [GIT PULL] fs/9p patches for 6.9 merge window Eric Van Hensbergen
2024-03-15 17:17 ` Linus Torvalds
2024-03-15 17:20 ` pr-tracker-bot
2024-04-08 14:14 ` Oleg Nesterov
2024-04-10 17:20 ` Eric Van Hensbergen
2024-04-10 18:57 ` Eric Van Hensbergen
2024-04-11 9:29 ` Oleg Nesterov [this message]
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=20240411092907.GA5494@redhat.com \
--to=oleg@redhat.com \
--cc=eric.vanhensbergen@linux.dev \
--cc=kent.overstreet@linux.dev \
--cc=linux-kernel@vger.kernel.org \
--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