Lines Matching refs:sick_mask
31 * 1. Create a "sick_mask" field in the scrub context. When we're setting up a
34 * sick_mask value if they choose.
39 * 3. If the scrubber finds that A is clean, use sick_mask to clear the incore
42 * 4. If the scrubber finds that A is corrupt, use sick_mask to set the incore
51 * use sick_mask to clear the incore sick flags. This should have the effect
55 * use sick_mask to set the incore sick flags. This should have no externally
66 * of 5-7 still apply, but with a sick_mask that covers everything being
81 unsigned int sick_mask;
118 return type_to_health_flag[scrub_type].sick_mask;
132 sc->sick_mask |= mask;
175 * sick_mask, no matter whether this is a first scan or an
179 * sick_mask as healthy.
200 if (!sc->sick_mask)
209 xfs_ag_mark_corrupt(pag, sc->sick_mask);
211 xfs_ag_mark_healthy(pag, sc->sick_mask);
218 unsigned int mask = sc->sick_mask;
230 xfs_inode_mark_healthy(sc->ip, sc->sick_mask);
234 xfs_fs_mark_corrupt(sc->mp, sc->sick_mask);
236 xfs_fs_mark_healthy(sc->mp, sc->sick_mask);
240 xfs_rt_mark_corrupt(sc->mp, sc->sick_mask);
242 xfs_rt_mark_healthy(sc->mp, sc->sick_mask);
257 unsigned int mask = (*curp)->bc_ops->sick_mask;
270 * If we just repaired some AG metadata, sc->sick_mask will reflect all
277 mask &= ~sc->sick_mask;