# Re: \[PATCH v2 0/6\] nfsd: add new export options for controlling read/write iomode

- From: Chuck Lever \<cel@kernel.org\>
- Date: 2026-10-30 21:42:40 
- List: netdev
- Page: https://ratatoskr.run/netdev/2026/10/17835933
- Thread: https://ratatoskr.run/netdev/2026/10/17826528/t.md

```text
On Thu, 29 Oct 2026 08:05:13 -0400, Jeff Layton wrote:
> This version has the changes that Chuck requested. Most of it is minor
> logic tweaks for saner handling of splice reads, and renaming the
> options to read_io=/write_io=. I'll also be sending a v2 of the nfs-utils
> patchset. Original cover letter follows:
> 
> When we originally added support for the dontcache and direct iomodes to
> nfsd, we added global debugfs switches to control them. That was fine for
> experimentation but the goal was always to move these controls to
> something more permanent.
> 
> [...]

Applied to nfsd-testing, thanks!

[1/6] NFSD: Add per-export read/write I/O mode settings
      commit: 2bf5cc5b0729b92ff62d7acffee4390326af1189
[2/6] NFSD: Apply per-export I/O modes to READ and WRITE
      commit: fa2dde080831509bd6e607e38f0dcfc2a798dc09
[3/6] NFSD: Document per-export read_io= and write_io= options
      commit: 427ab11f19e8ac820ee78e2bf424b39cc9637648
[4/6] NFSD: Keep per-export statistics across export cache updates
      commit: 23bfabf9641a2a7960cb335c1b97bfe0c15fb523
[5/6] NFSD: Count the storage reads of each export's READs
      commit: 0855f12a01e2374bdd179027041a44a97062b7a7
[6/6] NFSD: Document how to choose an IO mode
      commit: 8ab1a1c7d05dff67eea8c186f929b5645a20897a

--
Chuck Lever

```
