Lines Matching +full:re +full:- +full:enabled
1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright (C) 2017-2023 Oracle. All Rights Reserved.
39 if (likely(++widget->resched_nr < 100)) in xchk_maybe_relax()
41 widget->resched_nr = 0; in xchk_maybe_relax()
43 if (unlikely(widget->next_resched <= jiffies)) { in xchk_maybe_relax()
45 widget->next_resched = XCHK_RELAX_NEXT; in xchk_maybe_relax()
48 if (widget->interruptible && fatal_signal_pending(current)) in xchk_maybe_relax()
49 return -EINTR; in xchk_maybe_relax()
57 * to back out gracefully if there isn't enough memory. Force-cast to avoid
73 ST_PERAG, /* per-AG metadata */
74 ST_FS, /* per-FS metadata */
75 ST_INODE, /* per-inode metadata */
91 * Re-scrub the metadata we repaired, in case there's extra work that
93 * the ->scrub function pointer, assuming that the regular scrub is
147 * the file that scrub was called with if we're checking file-based fs
148 * metadata (e.g. rt bitmaps) or if we're doing a scrub-by-handle for
167 /* buffer target for in-memory btrees; also freed at teardown. */
186 * or repaired. We will use this mask to update the in-core fs health
200 /* State tracking for single-AG operations. */
210 #define XCHK_FSGATES_DRAIN (1U << 2) /* defer ops draining enabled */
212 #define XCHK_FSGATES_QUOTA (1U << 4) /* quota live update enabled */
213 #define XCHK_FSGATES_DIRENTS (1U << 5) /* directory live update enabled */
214 #define XCHK_FSGATES_RMAP (1U << 6) /* rmapbt live update enabled */
220 * are only enabled for this particular online fsck. When not in use, the
222 * must be enabled during scrub setup and can only be torn down afterwards.
241 * We /could/ terminate a scrub/repair operation early. If we're not
243 * Note that we're careful not to make any judgements about *error.
250 if (xchk_maybe_relax(&sc->relax)) { in xchk_should_terminate()
252 *error = -EINTR; in xchk_should_terminate()
260 return -ENOENT; in xchk_nothing()
306 /* cross-referencing helpers */