Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NFSd: handle new wdeleg_getattr attribute in /proc/net/rpc/nfsd #2810

Merged
merged 1 commit into from
Nov 14, 2023

Commits on Nov 13, 2023

  1. NFSd: handle new wdeleg_getattr attribute in /proc/net/rpc/nfsd

    This attribute was introduced it v6.6-rc1.
    
    The relevant changes in procfs were merged here:
    
    prometheus/procfs#574
    
    and are part of procfs v0.11.2
    
    I have also figured out that the stat should be part of the v4 ops
    counters struct, but that will need changes to both procfs and this
    code. Since people are already using 6.6-rc1, I think it's better to get
    the code out there --- even if they don't care about wdeleg_getattr,
    currently they get _no_ nfsd stats with 6.6-rc1.
    
    I will make two follow-up PRs to clean this up in the next releases of
    procfs and node-exporter.
    
    Signed-off-by: Tobias Klausmann <klausman@schwarzvogel.de>
    klausman committed Nov 13, 2023
    Configuration menu
    Copy the full SHA
    3aa93d2 View commit details
    Browse the repository at this point in the history