2024-02-26 14:23:04

by Chuck Lever

[permalink] [raw]
Subject: long-term stable backports of NFSD patches

It's apparent that a number of distributions and their customers
remain on long-term stable kernels. We are aware of the scalability
problems and other bugs in NFSD in those kernels.

Therefore I've started an effort to backport NFSD-related fixes to
long-term stable kernels.

I consulted with GregKH and Sasha to ask their preferences about how
this should be done. They said a full subsystem backport is
preferred. Here's a status update.

---

I've pushed the NFSD backports to branches in this repo:

https://git.kernel.org/pub/scm/linux/kernel/git/cel/linux.git

If you are able, I encourage you to pull these, review them or try
them out, and report any issues or successes.


LTS v6.1.y

I've backported NFSD patches from v6.2 to v6.1.79 and am just now
completing our usual CI testing on this. You can find these patches
in the "nfsd-6.1.y" branch in the above repo.


LTS v5.15.y

I've backported NFSD patches from v6.2 through v5.16 to v5.15.149.
I have not begun testing this work. You can find these patches in
the "nfsd-5.15.y" branch in the above repo.


LTS v5.10.y

I've started backporting NFSD patches from v6.2 through v5.11 to
v5.10.210. I've gotten up to v5.15 so far. You can find these
patches in the "nfsd-5.10.y" branch in the above repo.


LTS v5.4.y

I'm not certain whether to pursue a backport for v5.4.y, as
backporting from v6.latest becomes increasingly difficult on older
kernels, and the user base for these is dwindling.

--
Chuck Lever


2024-02-27 05:58:16

by Dan Shelton

[permalink] [raw]
Subject: Re: long-term stable backports of NFSD patches

On Mon, 26 Feb 2024 at 15:21, Chuck Lever <[email protected]> wrote:
>
> It's apparent that a number of distributions and their customers
> remain on long-term stable kernels. We are aware of the scalability
> problems and other bugs in NFSD in those kernels.
>
> Therefore I've started an effort to backport NFSD-related fixes to
> long-term stable kernels.
>
> I consulted with GregKH and Sasha to ask their preferences about how
> this should be done. They said a full subsystem backport is
> preferred. Here's a status update.
>
> ---
>
> I've pushed the NFSD backports to branches in this repo:
>
> https://git.kernel.org/pub/scm/linux/kernel/git/cel/linux.git
>
> If you are able, I encourage you to pull these, review them or try
> them out, and report any issues or successes.
>
>
> LTS v6.1.y

Where is LTS v6.6.y?

Dan
--
Dan Shelton - Cluster Specialist Win/Lin/Bsd

2024-02-27 14:39:58

by Chuck Lever

[permalink] [raw]
Subject: Re: long-term stable backports of NFSD patches

On Tue, Feb 27, 2024 at 06:57:43AM +0100, Dan Shelton wrote:
> On Mon, 26 Feb 2024 at 15:21, Chuck Lever <[email protected]> wrote:
> >
> > It's apparent that a number of distributions and their customers
> > remain on long-term stable kernels. We are aware of the scalability
> > problems and other bugs in NFSD in those kernels.
> >
> > Therefore I've started an effort to backport NFSD-related fixes to
> > long-term stable kernels.
> >
> > I consulted with GregKH and Sasha to ask their preferences about how
> > this should be done. They said a full subsystem backport is
> > preferred. Here's a status update.
> >
> > ---
> >
> > I've pushed the NFSD backports to branches in this repo:
> >
> > https://git.kernel.org/pub/scm/linux/kernel/git/cel/linux.git
> >
> > If you are able, I encourage you to pull these, review them or try
> > them out, and report any issues or successes.
> >
> >
> > LTS v6.1.y
>
> Where is LTS v6.6.y?

The purpose of this effort is to address NFSD filecache issues
present until v6.2. v6.6.y, having been released after v6.2,
already has all these fixes, thus there is no need for this effort
to modify it.

Once each of v6.1.y, v5.15.y, and v5.10.y is completed and tested, I
will pass the backported patch series to Greg and Sasha to apply to
the public LTS kernels they maintain.

That will make these backports available to the distributions that
continue to use the public LTS kernels, and enable Greg and Sasha
to continue applying upstream fixes to these kernels automatically.

--
Chuck Lever

2024-03-04 13:49:32

by Chuck Lever

[permalink] [raw]
Subject: long-term stable backports of NFSD patches

It's apparent that a number of distributions and their customers
remain on long-term stable kernels. We are aware of the scalability
problems and other bugs in NFSD in kernels between v5.4 and v6.1.

Therefore I've started an effort to backport all NFSD commits to
those kernels. The backported commits are destined for the official
LTS kernel branches so that distributions can easily integrate them
into their products.

Here's a status update.

---

I've pushed the NFSD backports to branches in this repo:

https://git.kernel.org/pub/scm/linux/kernel/git/cel/linux.git

If you are able, I encourage you to pull these, review them or try
them out, and report any issues or successes. I'm currently using
the NFS workflows in kdevops as the testing platform, but am
planning to include other tests.


LTS v6.1.y

Greg told me this morning that these are now queued for the next
LTS 6.1.y release.


LTS v5.15.y

I have updated this branch to include commits from v6.2.16 through
v5.16, all applied to v5.15.150. The fixes include most NFSD and
fanotify patches in that range. I've begun testing this series, and
so far the backport looks successful.

You can find these patches in the "nfsd-5.15.y" branch in the above
repo.


LTS v5.10.y

Backporting is still under way. I've gotten up to v6.0, and plan
to continue to v6.2.16. The fixes include most NFSD and fanotify
patches in that range, but exclude some because v5.10.y does not
include the VFS ID mapping patches that were merged into v5.12.

You can find these patches in the "nfsd-5.10.y" branch in the above
repo.


LTS v5.4.y

At this time I am planning not to backport to 5.4.y because of
missing features in this kernel.


--
Chuck Lever