Linux NFS development
 help / color / mirror / Atom feed
* [PATCH 0/2] Mountstats Fixes
@ 2015-04-08 16:47 Anna Schumaker
  2015-04-08 16:47 ` [PATCH 1/2] mountstats: Resync NFSv4 Operations List Anna Schumaker
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Anna Schumaker @ 2015-04-08 16:47 UTC (permalink / raw)
  To: steved, linux-nfs; +Cc: Anna.Schumaker

I had some trouble using mountstats to analyze READ_PLUS operations, so I
wrote these patches to fix my issues.

I found that /proc/self/mountstats was reporting "GETDEVICELIST" as "51",
most likely because it was removed from the client but the nfs4_procedures
array still has a placeholder for it.  Mountstats crashes when it tries to
analyze "51", so the second patch fixes this issue by looking for numeric
operation names.  I'm willing to put in stubs for GETDEVICELIST back into
the client if that would be a better fix.

Thanks,
Anna


Anna Schumaker (2):
  mountstats: Resync NFSv4 Operations List
  mountstats: Only count operations that have names

 tools/mountstats/mountstats.py | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

-- 
2.3.5


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-04-08 18:13 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-08 16:47 [PATCH 0/2] Mountstats Fixes Anna Schumaker
2015-04-08 16:47 ` [PATCH 1/2] mountstats: Resync NFSv4 Operations List Anna Schumaker
2015-04-08 17:57   ` Christoph Hellwig
2015-04-08 18:13     ` Anna Schumaker
2015-04-08 16:47 ` [PATCH 2/2] mountstats: Only count operations that have names Anna Schumaker
2015-04-08 17:01 ` [PATCH 0/2] Mountstats Fixes Trond Myklebust
2015-04-08 17:53   ` Anna Schumaker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox