Bug 2130117

Summary: cephfs-top: wrong/infinitely changing wsp values
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Neeraj Pratap Singh <neesingh>
Component: CephFSAssignee: Neeraj Pratap Singh <neesingh>
Status: CLOSED ERRATA QA Contact: julpark
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.0CC: ceph-eng-bugs, cephqe-warriors, ekristov, gfarnum, hyelloji, jcollin, kdreyer
Target Milestone: ---Keywords: Rebase
Target Release: 6.0   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: ceph-17.2.5-1.el9cp Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: 2120497 Environment:
Last Closed: 2023-03-20 18:58:17 UTC Type: ---
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: 2120497    
Bug Blocks:    

Description Neeraj Pratap Singh 2022-09-27 09:06:45 UTC
+++ This bug was initially created as a clone of Bug #2120497 +++

Description of problem:
wsp(MB/s) field in cephfs-top shows wrong and negative values changing infinitely.

Steps to reproduce:
1. Create two filesystems and mount them as client1 and client2.
2. run cephfs-top.
3. Write something to client1 only.
4. Both client1 and client2 shows changing wsp values, even if there is no IO in client2.

client1 shows changing positive values and client2 shows changing negative values. This continues infinitely since the write starts and doesn't stop when the write ends. However, this issue is not observed in 'perf stats' output.

Version-Release number of selected component (if applicable):
5.3z1

How reproducible:
Always

Steps to reproduce:
1. Create two filesystems and mount them as client1 and client2.
2. run cephfs-top.
3. Write something to client1 only.
4. Both client1 and client2 shows changing wsp values, even if there is no IO in client2.

Actual results:
wsp(MB/s) field in cephfs-top shows wrong and negative values changing infinitely.

Expected results:
wsp(MB/s) field in cephfs-top show calculated values correctly and only when there is an IO on a particular client.

Additional info:

Comment 2 Ken Dreyer (Red Hat) 2022-10-26 21:39:24 UTC
This one was upstream in v17.2.5

Comment 16 errata-xmlrpc 2023-03-20 18:58:17 UTC
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 (Red Hat Ceph Storage 6.0 Bug Fix update), 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-2023:1360