Bug 2076541

Summary: Document Enhanced "Image cache state" section of "rbd status" (persistent writeback cache) in block device guide under section 2.19
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Preethi <pnataraj>
Component: DocumentationAssignee: Ranjini M N <rmandyam>
Documentation sub component: Block Device Guide QA Contact: Preethi <pnataraj>
Status: CLOSED CURRENTRELEASE Docs Contact:
Severity: high    
Priority: unspecified CC: rmandyam, vereddy
Version: 5.0   
Target Milestone: ---   
Target Release: 5.1z1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-05-27 10:59:28 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:

Description Preethi 2022-04-19 10:09:49 UTC
Describe the issue: Document Enhanced "Image cache state" section of "rbd status" (persistent writeback cache) in block device guide under section 2.19

Describe the task you were trying to accomplish:
We need update the new changes made for rbd cache status in the block device guide under section 2.19

below BZs for reference

https://bugzilla.redhat.com/show_bug.cgi?id=1959178
https://docs.ceph.com/en/latest/rbd/rbd-persistent-write-log-cache/

rbd status output reference:
$ rbd status rbd/foo
Watchers:
        watcher=10.10.0.102:0/1061883624 client.25496 cookie=140338056493088
Persistent cache state:
        host: sceph9
        path: /mnt/nvme0/rbd-pwl.rbd.101e5824ad9a.pool
        size: 1 GiB
        mode: ssd
        stats_timestamp: Sun Apr 10 13:26:32 2022
        present: true   empty: false    clean: false
        allocated: 509 MiB
        cached: 501 MiB
        dirty: 338 MiB
        free: 515 MiB
        hits_full: 1450 / 61%
        hits_partial: 0 / 0%
        misses: 924
        hit_bytes: 192 MiB / 66%
        miss_bytes: 97 MiB


Suggestions for improvement:

Document URL: https://access.redhat.com/documentation/en-us/red_hat_ceph_storage/5/html-single/block_device_guide/index#persistent-write-log-cache_block

Chapter/Section Number and Title: 2.19

Product Version: ceph version 
ceph version 16.2.7-105.el8cp

Environment Details:

Any other versions of this document that also needs this update:

Additional information:

Comment 2 Preethi 2022-04-19 12:03:01 UTC
Thanks Ranjini for the quick implementation. Looks good

Regards,
Preethi