• Darrick J. Wong's avatar
    xfs: add secondary and indirect classes to the health tracking system · 4e587917
    Darrick J. Wong authored
    Establish two more classes of health tracking bits:
    
     * Indirect problems, which suggest problems in other health domains
       that we weren't able to preserve.
    
     * Secondary problems, which track state that's related to primary
       evidence of health problems; and
    
    The first class we'll use in an upcoming patch to record in the AG
    health status the fact that we ran out of memory and had to inactivate
    an inode with defective metadata.  The second class we use to indicate
    that repair knows that an inode is bad and we need to fix it later.
    Signed-off-by: default avatarDarrick J. Wong <djwong@kernel.org>
    Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
    4e587917
xfs_health.h 9.79 KB