Andres,

Following up on this again and also have an update based on the
following email discussion with the author that wrote the original diff
and seems like this patch is indeed required to fix the mount
regression. Can you please provide an update if Ubuntu jammy can release
a new package with the patch officially?



On Tue, 07 Jan 2025, Ramakrishnan Sundareswaran wrote:
> Hi Neal,
>
> I would like your inputs on a potential regression in the nfs-utils
> package on Ubuntu 22.04/Jammy.
>
> I've filed the following ticket
> https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/2091737 for
> the Ubuntu Jammy nfs-utils which seems to have a regression fixed by
> you in this patch
> https://patchwork.kernel.org/project/linux-nfs/patch/20231023021052.5258-4-ne...@suse.de/
> [3/6] export: move cache_open() before workers are forked
>
> However, based on the current discussion in the Ubuntu bug report, we
> still haven't gotten confirmation that this is indeed a regression
> that was fixed in a subsequent commit.
>
> Based on the ticket, there are three key questions that I'm trying to 
> understand
>
> Questions:
> 1. Is the mount issue relevant to the above patch?

The fact that applying the patch makes your problem go away seems fairly
conclusive.

It only affects configurations with more than 1 mountd thread.  If you
change back to 1 thread I suspect the slowness will go away.  That is
the config that most people test which is probably why most people don't
notice.

If you confirm that:
 - without the patch:
    - with "--num-threads=1" you don't see slowness
    - with "--num-threads=8" you do see slowness
 - with the patch
    - with --num-threads= 1 or 8 you don't see any slowness

then that would confirm that this patch exactly addresses your problem.

> 2. We are not yet prepared to upgrade to Ubuntu Noble yet which has
> the patch of interest. Can we expect another upgrade for nfs-utils on
> Jammy which incorporates this patch?
> 3. Can the patch
> https://patchwork.kernel.org/project/linux-nfs/patch/20231023021052.5258-4-ne...@suse.de/
> be applied in isolation?

Yes.  There are no non-obvious dependencies.

NeilBrown

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2091737

Title:
  Slow NFS Mounts with nfs-utils 1:2.6.1-1ubuntu1.2 (Regression from
  1:1.3.4-2.5ubuntu3)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/2091737/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to