Skip to contentSkip to conversation

long-term stable backports of NFSD patches

DISCUSSION Chuck Lever 2 participants 4 messages Feb 26, 2024 – Mar 4, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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.

Signature · 1 line
Chuck Lever
#1 lore raw
Quoted 16 lines · Chuck Lever

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:

Quoted 7 lines

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

Signature · 1 line
Dan Shelton - Cluster Specialist Win/Lin/Bsd
#2 lore raw
Quoted 19 lines · Dan Shelton
Quoted 18 lines · Chuck Lever

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

Quoted 7 lines
Quoted 5 lines

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.

Signature · 1 line
Chuck Lever
#3 lore raw
In reply to Chuck Lever

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.

Signature · 1 line
Chuck Lever