From ab3cdbb5fa14ec6ff8789336e14b59363c0bde57 Mon Sep 17 00:00:00 2001 From: Adrian Vladu Date: Tue, 22 Oct 2024 13:08:39 +0300 Subject: [PATCH] sys-kernel/coreos-modules: disable CONFIG_NFS_V4_2_READ_PLUS Disable CONFIG_NFS_V4_2_READ_PLUS kernel config, as Linux kernel >= 6.6 enabled the CONFIG_NFS_V4_2_READ_PLUS config option by default, and nfs-ganesha version <= 6.1 is broken due to mishandling of the read_plus operation. See: https://github.com/nfs-ganesha/nfs-ganesha/commit/24da5c30429bb1ee0bfde3644ab5c3b84daa778e See: https://github.com/flatcar/Flatcar/issues/1565 See: https://github.com/nfs-ganesha/nfs-ganesha/issues/1188 --- .../updates/2024-10-22-disable-CONFIG_NFS_V4_2_READ_PLUS.md | 1 + .../sys-kernel/coreos-modules/files/commonconfig-6.6 | 1 + 2 files changed, 2 insertions(+) create mode 100644 changelog/updates/2024-10-22-disable-CONFIG_NFS_V4_2_READ_PLUS.md diff --git a/changelog/updates/2024-10-22-disable-CONFIG_NFS_V4_2_READ_PLUS.md b/changelog/updates/2024-10-22-disable-CONFIG_NFS_V4_2_READ_PLUS.md new file mode 100644 index 00000000000..8a20d71d54a --- /dev/null +++ b/changelog/updates/2024-10-22-disable-CONFIG_NFS_V4_2_READ_PLUS.md @@ -0,0 +1 @@ +- Disable CONFIG_NFS_V4_2_READ_PLUS kernel config to fix nfs-ganesha ([#2390](https://github.com/flatcar/scripts/pull/2390)) diff --git a/sdk_container/src/third_party/coreos-overlay/sys-kernel/coreos-modules/files/commonconfig-6.6 b/sdk_container/src/third_party/coreos-overlay/sys-kernel/coreos-modules/files/commonconfig-6.6 index d0f30edb5c4..83771370bc3 100644 --- a/sdk_container/src/third_party/coreos-overlay/sys-kernel/coreos-modules/files/commonconfig-6.6 +++ b/sdk_container/src/third_party/coreos-overlay/sys-kernel/coreos-modules/files/commonconfig-6.6 @@ -642,6 +642,7 @@ CONFIG_NFS_V3_ACL=y CONFIG_NFS_V4=m CONFIG_NFS_V4_1=y CONFIG_NFS_V4_2=y +CONFIG_NFS_V4_2_READ_PLUS=n CONFIG_NFT_BRIDGE_META=m CONFIG_NFT_BRIDGE_REJECT=m CONFIG_NFT_COMPAT=m