<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nfs-utils.git/tools/mountstats, branch fixrootccache</title>
<subtitle>NFS utils related patches</subtitle>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/nfs-utils.git/'/>
<entry>
<title>nfsiostat: display NFS RPC queue time for mountstats and nfs-iostat</title>
<updated>2017-10-30T15:19:37+00:00</updated>
<author>
<name>Ryan Doyle</name>
<email>rdoyle@aconex.com</email>
</author>
<published>2017-10-30T15:19:37+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/nfs-utils.git/commit/?id=5bf27d95b9fb7611a1acedf6e29781dc7d405b5a'/>
<id>5bf27d95b9fb7611a1acedf6e29781dc7d405b5a</id>
<content type='text'>
Display the NFS queue statistics for mountstats and nfsiostat
exported in /proc/self/mountstats. The RTT and total execution
time is currently displayed but it's also useful displaying
how long the task was queued for too

Signed-off-by: Steve Dickson &lt;steved@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Display the NFS queue statistics for mountstats and nfsiostat
exported in /proc/self/mountstats. The RTT and total execution
time is currently displayed but it's also useful displaying
how long the task was queued for too

Signed-off-by: Steve Dickson &lt;steved@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mountstats:  Remove a shebang</title>
<updated>2017-07-27T16:57:00+00:00</updated>
<author>
<name>Steve Dickson</name>
<email>steved@redhat.com</email>
</author>
<published>2017-07-27T14:35:55+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/nfs-utils.git/commit/?id=caa59a30b78dedea99a2317da95bb86810360645'/>
<id>caa59a30b78dedea99a2317da95bb86810360645</id>
<content type='text'>
There might be an issue that the script is executed with unwanted
version of &lt;lang&gt;.

Signed-off-by: Steve Dickson &lt;steved@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There might be an issue that the script is executed with unwanted
version of &lt;lang&gt;.

Signed-off-by: Steve Dickson &lt;steved@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mountstats: add pNFS READs and WRITEs</title>
<updated>2016-09-22T17:33:33+00:00</updated>
<author>
<name>Scott Mayhew</name>
<email>smayhew@redhat.com</email>
</author>
<published>2016-09-22T17:33:33+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/nfs-utils.git/commit/?id=3e2ab78a2cfbc2d11c31ced8d3f538d5aae757f1'/>
<id>3e2ab78a2cfbc2d11c31ced8d3f538d5aae757f1</id>
<content type='text'>
These counters are already in /proc/self/mountstats but the mountstats
program doesn't display them.

Signed-off-by: Scott Mayhew &lt;smayhew@redhat.com&gt;
Signed-off-by: Steve Dickson &lt;steved@redhat.com&gt;
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1377740
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These counters are already in /proc/self/mountstats but the mountstats
program doesn't display them.

Signed-off-by: Scott Mayhew &lt;smayhew@redhat.com&gt;
Signed-off-by: Steve Dickson &lt;steved@redhat.com&gt;
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1377740
</pre>
</div>
</content>
</entry>
<entry>
<title>mountstats: add missing v4.2 operations</title>
<updated>2015-12-11T16:22:25+00:00</updated>
<author>
<name>Scott Mayhew</name>
<email>smayhew@redhat.com</email>
</author>
<published>2015-12-11T16:19:17+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/nfs-utils.git/commit/?id=24c8c849a0118a8a204640433c4dc2c3c6ae133d'/>
<id>24c8c849a0118a8a204640433c4dc2c3c6ae133d</id>
<content type='text'>
Signed-off-by: Scott Mayhew &lt;smayhew@redhat.com&gt;
Signed-off-by: Steve Dickson &lt;steved@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Scott Mayhew &lt;smayhew@redhat.com&gt;
Signed-off-by: Steve Dickson &lt;steved@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mountstats: handle KeyError in accumulate_iostats()</title>
<updated>2015-12-11T16:22:25+00:00</updated>
<author>
<name>Scott Mayhew</name>
<email>smayhew@redhat.com</email>
</author>
<published>2015-12-11T16:16:38+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/nfs-utils.git/commit/?id=b92f1b94b6a1cc8460a7f11b1b3f5f6f62701145'/>
<id>b92f1b94b6a1cc8460a7f11b1b3f5f6f62701145</id>
<content type='text'>
This will prevent a backtrace like this from occurring in 'mountstats
nfsstat' if a new NFSv4 operation is added to the kernel but not to the
Nfsv4ops list in mountstats.py:

Traceback (most recent call last):
  File "/sbin/mountstats", line 988, in &lt;module&gt;
    res = main()
  File "/sbin/mountstats", line 977, in main
    return args.func(args)
  File "/sbin/mountstats", line 792, in nfsstat_command
    v4stats.accumulate_iostats(acc_stats)
  File "/sbin/mountstats", line 566, in accumulate_iostats
    self.__rpc_data[op] = list(map(add, self.__rpc_data[op],
new_stats.__rpc_data[op]))
KeyError: 'SEEK'

Signed-off-by: Scott Mayhew &lt;smayhew@redhat.com&gt;
Signed-off-by: Steve Dickson &lt;steved@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This will prevent a backtrace like this from occurring in 'mountstats
nfsstat' if a new NFSv4 operation is added to the kernel but not to the
Nfsv4ops list in mountstats.py:

Traceback (most recent call last):
  File "/sbin/mountstats", line 988, in &lt;module&gt;
    res = main()
  File "/sbin/mountstats", line 977, in main
    return args.func(args)
  File "/sbin/mountstats", line 792, in nfsstat_command
    v4stats.accumulate_iostats(acc_stats)
  File "/sbin/mountstats", line 566, in accumulate_iostats
    self.__rpc_data[op] = list(map(add, self.__rpc_data[op],
new_stats.__rpc_data[op]))
KeyError: 'SEEK'

Signed-off-by: Scott Mayhew &lt;smayhew@redhat.com&gt;
Signed-off-by: Steve Dickson &lt;steved@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mountstats.man:  Remove a few bogus .R macros</title>
<updated>2015-09-16T15:21:41+00:00</updated>
<author>
<name>Scott Mayhew</name>
<email>smayhew@redhat.com</email>
</author>
<published>2015-09-16T15:19:41+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/nfs-utils.git/commit/?id=f2efa15ef8c083926791195ed1037fd47a5e4e41'/>
<id>f2efa15ef8c083926791195ed1037fd47a5e4e41</id>
<content type='text'>
These have no effect on the rendering of the man page, but they do cause
the following error if you try to pipe or redirect the output:

`R' is a string (producing the registered sign), not a macro.

Signed-off-by: Scott Mayhew &lt;smayhew@redhat.com&gt;
Signed-off-by: Steve Dickson &lt;steved@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These have no effect on the rendering of the man page, but they do cause
the following error if you try to pipe or redirect the output:

`R' is a string (producing the registered sign), not a macro.

Signed-off-by: Scott Mayhew &lt;smayhew@redhat.com&gt;
Signed-off-by: Steve Dickson &lt;steved@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mountstats.man: fixed typo in man page</title>
<updated>2015-08-10T13:58:01+00:00</updated>
<author>
<name>Steve Dickson</name>
<email>steved@redhat.com</email>
</author>
<published>2015-08-10T13:58:01+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/nfs-utils.git/commit/?id=8c7d7fe5577b059130d472d4145a09cf9d4a7ea2'/>
<id>8c7d7fe5577b059130d472d4145a09cf9d4a7ea2</id>
<content type='text'>
Signed-off-by: Steve Dickson &lt;steved@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Steve Dickson &lt;steved@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mountstats: Fix the retrans counter output by the nfsstat command</title>
<updated>2015-06-03T19:02:02+00:00</updated>
<author>
<name>Scott Mayhew</name>
<email>smayhew@redhat.com</email>
</author>
<published>2015-06-03T19:02:02+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/nfs-utils.git/commit/?id=c1395ccf1afcf949f873905253494aeb60b632c9'/>
<id>c1395ccf1afcf949f873905253494aeb60b632c9</id>
<content type='text'>
Signed-off-by: Scott Mayhew &lt;smayhew@redhat.com&gt;
Signed-off-by: Steve Dickson &lt;steved@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Scott Mayhew &lt;smayhew@redhat.com&gt;
Signed-off-by: Steve Dickson &lt;steved@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mountstats: Normalize the mountpoints passed on the command line.</title>
<updated>2015-03-04T13:11:35+00:00</updated>
<author>
<name>Scott Mayhew</name>
<email>smayhew@redhat.com</email>
</author>
<published>2015-03-04T13:11:35+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/nfs-utils.git/commit/?id=e24ba8a24d3ebfa6388a74523e61f2cad179c0c2'/>
<id>e24ba8a24d3ebfa6388a74523e61f2cad179c0c2</id>
<content type='text'>
Normalize the mountpoints passed on the command line so that commands
like 'mountstats /mnt/' succeed rather than fail.

Signed-off-by: Scott Mayhew &lt;smayhew@redhat.com&gt;
Signed-off-by: Steve Dickson &lt;steved@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Normalize the mountpoints passed on the command line so that commands
like 'mountstats /mnt/' succeed rather than fail.

Signed-off-by: Scott Mayhew &lt;smayhew@redhat.com&gt;
Signed-off-by: Steve Dickson &lt;steved@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mountstats: Fix exit code handling</title>
<updated>2015-03-04T13:09:58+00:00</updated>
<author>
<name>Scott Mayhew</name>
<email>smayhew@redhat.com</email>
</author>
<published>2015-03-04T13:09:58+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/nfs-utils.git/commit/?id=7e81d45c4f7a4bbbfe16adb715397a2351526eaf'/>
<id>7e81d45c4f7a4bbbfe16adb715397a2351526eaf</id>
<content type='text'>
When I changed mountstats to use the argparse module, I neglected to
make the subcommand functions return any values even though main() was
looking for them.  Also removed SystemExit from the except clause at
the end of the program since it was causing the program to always exit
with a status of 1.

Signed-off-by: Scott Mayhew &lt;smayhew@redhat.com&gt;
Signed-off-by: Steve Dickson &lt;steved@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When I changed mountstats to use the argparse module, I neglected to
make the subcommand functions return any values even though main() was
looking for them.  Also removed SystemExit from the except clause at
the end of the program since it was causing the program to always exit
with a status of 1.

Signed-off-by: Scott Mayhew &lt;smayhew@redhat.com&gt;
Signed-off-by: Steve Dickson &lt;steved@redhat.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
