Bug 1527938
| Summary: | mountstats: Use correct RDMA terminology | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Steve Dickson <steved> | ||||
| Component: | nfs-utils | Assignee: | Steve Dickson <steved> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Yongcheng Yang <yoyang> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 7.5 | CC: | bfields, extras-qa, jlayton, rhandlin, steved, xzhou, yoyang, zlang | ||||
| Target Milestone: | rc | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | nfs-utils-1.3.0-0.55.el7 | Doc Type: | If docs needed, set a value | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | 1527675 | Environment: | |||||
| Last Closed: | 2018-10-30 11:48:04 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Bug Depends On: | 1527675 | ||||||
| Bug Blocks: | |||||||
| Attachments: |
|
||||||
|
Description
Steve Dickson
2017-12-20 14:10:33 UTC
commit fcf9bcfe32f96038b4f544cb5297210f87c0544a
Author: Chuck Lever <chuck.lever>
Date: Wed Dec 20 09:08:50 2017 -0500
mountstats: Use correct RDMA terminology
commit 6742ba53ae79b83ce7ca098901144c372c428668 (tag: nfs-utils-2-2-2-rc2)
Author: Chuck Lever <chuck.lever>
Date: Wed Dec 6 14:25:25 2017 -0500
mountstats: Add option to pretty-print xprt statistics
Hi Steve, should this issue wait for 7.6 or try to get in 7.5 now? (In reply to Yongcheng Yang from comment #3) > Hi Steve, should this issue wait for 7.6 or try to get in 7.5 now? The blocker flags is not acked so I can not do the commit... So this will have to wait until 7.6... but I will attach the backported patch Created attachment 1389068 [details]
The back ported patches
Deferring to 7.6 now :) Have verified this options "-x|--xprt" is available in nfs-utils-1.3.0-0.55.el7 now:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[root@test-rhel7 ~]# rpm -q nfs-utils
nfs-utils-1.3.0-0.55.el7.x86_64
[root@test-rhel7 ~]# man mountstats | col -b | grep xprt
mountstats [-h|--help] [-v|--version] [-f|--file infile] [-S|--since sincefile] [ [-n|--nfs] | [-r|--rpc] | [-R|--raw] | [-x|--xprt] ]
-x, --xprt
[root@test-rhel7 ~]# man mountstats | col -b | grep -A 1 xprt
mountstats [-h|--help] [-v|--version] [-f|--file infile] [-S|--since sincefile] [ [-n|--nfs] | [-r|--rpc] | [-R|--raw] | [-x|--xprt] ]
[mountpoint]...
--
-x, --xprt
Display only the transport statistics
[root@test-rhel7 ~]# mountstats -x
Stats for test-rhel7.redhat.com:/export_test mounted on /mnt/1:
Transport protocol: tcp
Source port: 882
Bind count: 0
Connect count: 1
Connect time: 0 seconds
Idle time: 32 seconds
RPC requests: 32
RPC replies: 32
XIDs not found: 0
Max slots: 2
Avg backlog length: 0
Avg send queue length: 0
Avg pending queue length: 0
[root@test-rhel7 ~]# mountstats --xprt /mnt/1
Stats for test-rhel7.redhat.com:/export_test mounted on /mnt/1:
Transport protocol: tcp
Source port: 882
Bind count: 0
Connect count: 1
Connect time: 0 seconds
Idle time: 1 seconds
RPC requests: 33
RPC replies: 33
XIDs not found: 0
Max slots: 2
Avg backlog length: 0
Avg send queue length: 0
Avg pending queue length: 0
[root@test-rhel7 ~]# mountstats mountstats -h
usage: mountstats mountstats [-h] [-v] [-f INFILE] [-S SINCEFILE]
[-n | -r | -R | -x]
[mountpoint [mountpoint ...]]
positional arguments:
mountpoint Display statistics for this mountpoint. More than one
may be specified. If absent, statistics for all NFS
mountpoints will be generated.
optional arguments:
-h, --help show this help message and exit
-v, --version show program's version number and exit
-f INFILE, --file INFILE
Read stats from infile instead of
/proc/self/mountstats
-S SINCEFILE, --since SINCEFILE
Show difference between current stats and those in
SINCEFILE
-n, --nfs Display only the NFS statistics
-r, --rpc Display only the RPC statistics
-R, --raw Display only the raw statistics
-x, --xprt Display only the xprt statistics
[root@test-rhel7 ~]#
Moving to VERIFIED according to comment #7. Will include this test as regression check. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2018:3311 |