Skip to content

nfsd v4 ops index mismatch #492

@atkinsam

Description

@atkinsam

Hi, I believe the nfsd v4 ops parsing here uses indices which are mismatched on some ops.

func parseV4Ops(v []uint64) (V4Ops, error) {

I can see that many/most are correct:

But the write operation, for example, appears to be incorrect. The parser uses index 37, but the write operation uses index 38 in the kernel. So the parser should really be using index 39.

I noticed this by comparing stats emitted by node_exporter with what I see in nfsstat -s.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions