scrub.h (160b5a784525e8a44902873f1938e1f4d77fe112) | scrub.h (4860a05d2475d6f50de79f168beb893cc0066a6e) |
---|---|
1// SPDX-License-Identifier: GPL-2.0+ 2/* 3 * Copyright (C) 2017 Oracle. All Rights Reserved. 4 * Author: Darrick J. Wong <darrick.wong@oracle.com> 5 */ 6#ifndef __XFS_SCRUB_SCRUB_H__ 7#define __XFS_SCRUB_SCRUB_H__ 8 --- 52 unchanged lines hidden (view full) --- 61 struct xfs_trans *tp; 62 struct xfs_inode *ip; 63 void *buf; 64 uint ilock_flags; 65 66 /* See the XCHK/XREP state flags below. */ 67 unsigned int flags; 68 | 1// SPDX-License-Identifier: GPL-2.0+ 2/* 3 * Copyright (C) 2017 Oracle. All Rights Reserved. 4 * Author: Darrick J. Wong <darrick.wong@oracle.com> 5 */ 6#ifndef __XFS_SCRUB_SCRUB_H__ 7#define __XFS_SCRUB_SCRUB_H__ 8 --- 52 unchanged lines hidden (view full) --- 61 struct xfs_trans *tp; 62 struct xfs_inode *ip; 63 void *buf; 64 uint ilock_flags; 65 66 /* See the XCHK/XREP state flags below. */ 67 unsigned int flags; 68 |
69 /* 70 * The XFS_SICK_* flags that correspond to the metadata being scrubbed 71 * or repaired. We will use this mask to update the in-core fs health 72 * status with whatever we find. 73 */ 74 unsigned int sick_mask; 75 |
|
69 /* State tracking for single-AG operations. */ 70 struct xchk_ag sa; 71}; 72 73/* XCHK state flags grow up from zero, XREP state flags grown down from 2^31 */ 74#define XCHK_TRY_HARDER (1 << 0) /* can't get resources, try again */ 75#define XCHK_HAS_QUOTAOFFLOCK (1 << 1) /* we hold the quotaoff lock */ 76#define XREP_ALREADY_FIXED (1 << 31) /* checking our repair work */ --- 71 unchanged lines hidden --- | 76 /* State tracking for single-AG operations. */ 77 struct xchk_ag sa; 78}; 79 80/* XCHK state flags grow up from zero, XREP state flags grown down from 2^31 */ 81#define XCHK_TRY_HARDER (1 << 0) /* can't get resources, try again */ 82#define XCHK_HAS_QUOTAOFFLOCK (1 << 1) /* we hold the quotaoff lock */ 83#define XREP_ALREADY_FIXED (1 << 31) /* checking our repair work */ --- 71 unchanged lines hidden --- |