]> git-server-git.apps.pok.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 02:38:39 +0000 (08:08 +0530)
commitbec7bd0d96040bf30954eed07bdf2178f8ff4d17
treec7236ec5e9aac02f4c262e85e35d129f6921a6ae
parentc49b405518045e46ed935a5fdee34c742ba33d90
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