Bug 1959178

Summary: [RFE] Enhance "Image cache state" section of "rbd status" (persistent writeback cache)
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Ilya Dryomov <idryomov>
Component: RBDAssignee: Ilya Dryomov <idryomov>
Status: CLOSED ERRATA QA Contact: Preethi <pnataraj>
Severity: high Docs Contact: Mary Frances Hull <mhull>
Priority: unspecified    
Version: 5.0CC: ceph-eng-bugs, flucifre, gpatta, mmurthy, owasserm, rmandyam, sostapov, tserlin, vereddy
Target Milestone: ---Keywords: FutureFeature
Target Release: 5.1z1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-16.2.7-104.el8cp Doc Type: Enhancement
Doc Text:
.Users can now view more details in the `Persistent cache state` section With this release, the `rbd status` command provides more details in the `Persistent cache state` section such as whether the cache is present, and other metrics such as the number of bytes used, hits, and misses.
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-05-18 10:38:15 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:    
Bug Blocks: 2085458    

Comment 1 RHEL Program Management 2021-05-10 20:17:14 UTC
Please specify the severity of this bug. Severity is defined here:
https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity.

Comment 3 Ilya Dryomov 2022-03-22 18:12:26 UTC
*** Bug 2066770 has been marked as a duplicate of this bug. ***

Comment 4 Federico Lucifredi 2022-03-29 02:52:06 UTC
let's target 5.1z1 or the async that has been under discussion for April. Assuming, that is, that we have a fix quickly enough to.

Comment 11 Preethi 2022-04-19 09:56:27 UTC
Thanks IIya. was able to get the values for cache misses as below when read is performed when cache is flushed to the OSD. 

    misses: 108
    miss_bytes: 3.4 MiB

Comment 17 errata-xmlrpc 2022-05-18 10:38:15 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 5.1 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-2022:4622