Skip to content

docs(pnfs): client kernel requirements for the direct data path - #322

Open
boddumanohar wants to merge 6 commits into
mainfrom
docs/pnfs-client-kernel
Open

boddumanohar wants to merge 6 commits into
mainfrom
docs/pnfs-client-kernel

Conversation

@boddumanohar

@boddumanohar boddumanohar commented Nov 19, 2026 •

Copy link
Copy Markdown
Member

Users on older client kernels get pNFS volumes whose data all goes through the metadata server, and see poor throughput with no obvious reason. This states which kernels can use the direct path and how to check a node.

Changes (docs/kubernetes/usage/pnfs.md)

  • Requirements: a table of client kernels with the exact kernel each was validated on. Supported: Linux 6.11+, RHEL 9.6/9.7/9.8, Debian 13, Ubuntu 24.04/26.04. Not supported: RHEL 9.5, Debian 12, Ubuntu 22.04.
  • Check command for a node that decompresses the module first. modinfo -n blocklayoutdriver | xargs strings | grep nvme-eui printed nothing on all nine kernels, including the six supported ones, because RHEL and Debian 13 ship the module as .ko.xz and Ubuntu 24.04/26.04 as .ko.zst. Debian 12 and Ubuntu 22.04 ship it uncompressed. Debian 12/13 and Ubuntu 24.04 images also lack strings.
  • nvme-tcp: the CSI node plugin does not start without it. Ubuntu 22.04's 6.8.0-1073-gcp kernel only has it in linux-modules-extra-$(uname -r).
  • Verifying the Direct Data Path: documents the PNFSDataThroughMDS event from simplyblock-operator#931, and that a missing event does not prove the direct path (see below). Adds the kernel log line a client without NVMe support prints.

Evidence

GCP, githubactions-lblk (3 storage nodes, simplyblock / spdkcsi / operator main). Nine client VMs joined to the cluster, one fio pod each, all on the same ReadWriteMany pNFS volume. Each wrote and read 2 GiB with direct I/O.

Client Kernel Module has nvme-eui. NFS WRITE ops to MDS Writes on the client's NVMe device Kernel log
RHEL 9.5 5.14.0-503.22.1.el9_5 no 87 (15.8 MB) 0 pNFS: failed to open device …/wwn-0x… (-2)
RHEL 9.6 5.14.0-570.21.1.el9_6 yes 0 2 GiB clean
RHEL 9.7 5.14.0-611.13.1.el9_7 yes 0 2 GiB clean
RHEL 9.8 5.14.0-687.13.1.el9_8 yes 0 2 GiB clean
Debian 12 6.1.0-56-cloud-amd64 no 87 (15.8 MB) 0 failed to open device
Debian 13 6.12.117+deb13-cloud-amd64 yes 0 2 GiB clean
Ubuntu 22.04 6.8.0-1073-gcp no 86 (15.8 MB) 0 failed to open device
Ubuntu 24.04 7.0.0-1017-gcp yes 0 2 GiB clean
Ubuntu 26.04 7.0.0-1017-gcp yes 0 2 GiB clean
  • The check command in the doc was run verbatim as root on all nine. It prints nvme-eui. on exactly the six clients that used the direct path.
  • MDS side: all of the metadata server VM's traffic crosses mds-tap0 in its pod. While RHEL 9.8 wrote 1 GiB (fio, direct I/O), the guest received 16 MiB in total. That includes the three fallback clients, which were still writing through it, so it is an upper bound for RHEL 9.8.
  • pnfs=LAYOUT_SCSI was reported by all nine mounts, including the three that fell back.
  • PNFSDataThroughMDS fired for RHEL 9.5 and Ubuntu 22.04 but not for Debian 12, although Debian 12 also fell back. The detector restarts its five minutes after 30 s (dataReprobeInterval) without WRITE growth, and Debian 12's WRITE count stalled for 20–40 s at a time under this load.
  • Kernel log: the failed to open device line repeats about every 128 s.
  • Upstream: NVMe support is commit 3921ae08, "nfs/blocklayout: add support for NVMe". It is contained in v6.11 and not in v6.10.

@github-actions

Copy link
Copy Markdown
Contributor

🤖: Deployment available as https://docstest.simplyblock.io/docs-pnfs-client-kernel

@github-actions

Copy link
Copy Markdown
Contributor

🤖: Deployment available as https://docstest.simplyblock.io/docs-pnfs-client-kernel

…untu 22.04-26.04

RHEL 9.6 and 9.7 have the NVMe support; Debian 12 and Ubuntu 22.04 do not.
The check command now decompresses the module: with strings it printed
nothing on every kernel tested, including the supported ones. States that
a missing PNFSDataThroughMDS event does not prove the direct path, and that
Ubuntu 22.04's gcp kernel needs linux-modules-extra for nvme-tcp.
@github-actions

Copy link
Copy Markdown
Contributor

🤖: Deployment available as https://docstest.simplyblock.io/docs-pnfs-client-kernel

1 similar comment
@github-actions

Copy link
Copy Markdown
Contributor

🤖: Deployment available as https://docstest.simplyblock.io/docs-pnfs-client-kernel

…L kernels validated

Debian 12 and Ubuntu 22.04 ship blocklayoutdriver uncompressed, so 'every
distribution compresses it' was wrong. The RHEL backport is stated for the
three kernels validated rather than for every 9.6 and later kernel.
@github-actions

Copy link
Copy Markdown
Contributor

🤖: Deployment available as https://docstest.simplyblock.io/docs-pnfs-client-kernel

1 similar comment
@github-actions

Copy link
Copy Markdown
Contributor

🤖: Deployment available as https://docstest.simplyblock.io/docs-pnfs-client-kernel

@github-actions

Copy link
Copy Markdown
Contributor

🤖: Deployment available as https://docstest.simplyblock.io/docs-pnfs-client-kernel

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant