summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMike Snitzer <snitzer@kernel.org>2026-11-02 16:52:19 -0500
committerAnna Schumaker <anna.schumaker@hammerspace.com>2026-11-09 15:04:58 -0500
commitb3497ac6e96effd5450b820de171e1137223d36c (patch)
tree9cc2f21afe83fad20ac3eebbe29938cf826c282a /tools/perf/scripts/python
parent000a87910213562ff09f5bc38cd366ce34fccf71 (diff)
NFS/localio: probe again for LOCALIO when localio_enabled is set to Y
localio_enabled is checked on every I/O. Setting it to N sends the next I/O of every client over the network, and setting it back to Y resumes LOCALIO for a client that uses it. But a client that probed while localio_enabled was N was disabled by the probe, and nothing probes it again: NFSv3 probes again only when nfs3_localio_probe_throttle is set, and NFSv4 only after state recovery. Such a client stays on the network after localio_enabled is set to Y. Give localio_enabled a set handler that, on a change from N to Y, queues a probe for every ready client, in every network namespace, that does not use LOCALIO. On the module command line there are no clients yet, and nothing is probed. Tested with NFSv3 and NFSv4.2 on a loopback mount: a client mounted with localio_enabled=N sent its writes over the network, and after localio_enabled was set to Y it sent none. Signed-off-by: Mike Snitzer <snitzer@kernel.org> Signed-off-by: Anna Schumaker <anna.schumaker@hammerspace.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions