]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon/PGMap: DIRTY field as N/A in `df detail` when cache tier not in use
authorDeepika Upadhyay <dupadhya@redhat.com>
Wed, 23 Jun 2021 05:12:38 +0000 (10:42 +0530)
committerDeepika Upadhyay <dupadhya@redhat.com>
Fri, 20 Aug 2021 04:22:37 +0000 (09:52 +0530)
commitb47d7e8e46d466684ceba38e2eccd32246852330
treee021494feea7fa3fc1e6cac0a5617936825edfd3
parent39aebff86be5ef88eb5797eb77d473b680f4acaa
mon/PGMap: DIRTY field as N/A in `df detail` when cache tier not in use

    'ceph df detail' reports a column for DIRTY objects under POOLS even
    though cache tiers not being used.  In replicated or EC pool all objects
    in the pool are reported as logically DIRTY as they have never been
    flushed .
    we display N/A for DIRTY objects if the pool is not a cache tier.

Signed-off-by: Deepika Upadhyay <dupadhya@redhat.com>
(cherry picked from commit fafebb1824eb474dbbeb4137c033954d45b508af)
src/mon/PGMap.cc