Home
last modified time | relevance | path

Searched +full:scrubber +full:- +full:done (Results 1 – 18 of 18) sorted by relevance

/linux-6.14.4/Documentation/devicetree/bindings/memory-controllers/
Dsnps,dw-umctl2-ddrc.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
4 $id: http://devicetree.org/schemas/memory-controllers/snps,dw-umctl2-ddrc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Synopsys DesignWare Universal Multi-Protocol Memory Controller
10 - Krzysztof Kozlowski <[email protected]>
11 - Michal Simek <[email protected]>
17 16-bits or 32-bits or 64-bits wide.
20 controller. It has an optional SEC/DEC ECC support in 64- and 32-bits
26 - deprecated: true
[all …]
/linux-6.14.4/drivers/md/dm-vdo/
Dslab-depot.c1 // SPDX-License-Identifier: GPL-2.0-only
6 #include "slab-depot.h"
16 #include "memory-alloc.h"
19 #include "string-utils.h"
21 #include "action-manager.h"
22 #include "admin-state.h"
25 #include "data-vio.h"
27 #include "io-submitter.h"
28 #include "physical-zone.h"
29 #include "priority-table.h"
[all …]
/linux-6.14.4/fs/xfs/scrub/
Dscrub.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright (C) 2017-2023 Oracle. All Rights Reserved.
39 * repair on-disk data structures. That task was left to the xfs_check
50 * also be cross-referenced against other btrees to look for potential
53 * It is expected that the checkers responsible for per-AG metadata
55 * metadata structure, and perform any relevant cross-referencing before
60 * Block maps and b-trees rooted in an inode present a special challenge
61 * because they can involve extents from any AG. The general scrubber
62 * structure of lock -> check -> xref -> unlock still holds, but AG
67 * can signal a potential deadlock, in which case the scrubber can jump
[all …]
Drefcount.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright (C) 2017-2023 Oracle. All Rights Reserved.
45 /* Reference count btree scrubber. */
64 * need to find ($refcount - $seen) owners for every block in the
120 if (xchk_should_terminate(refchk->sc, &error)) in xchk_refcountbt_rmap_check()
123 rm_last = rec->rm_startblock + rec->rm_blockcount - 1; in xchk_refcountbt_rmap_check()
124 rc_last = refchk->bno + refchk->len - 1; in xchk_refcountbt_rmap_check()
126 /* Confirm that a single-owner refc extent is a CoW stage. */ in xchk_refcountbt_rmap_check()
127 if (refchk->refcount == 1 && rec->rm_owner != XFS_RMAP_OWN_COW) { in xchk_refcountbt_rmap_check()
128 xchk_btree_xref_set_corrupt(refchk->sc, cur, 0); in xchk_refcountbt_rmap_check()
[all …]
Dialloc.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright (C) 2017-2023 Oracle. All Rights Reserved.
37 return xchk_setup_ag_btree(sc, sc->flags & XCHK_TRY_HARDER); in xchk_setup_ag_iallocbt()
40 /* Inode btree scrubber. */
57 * - The finobt need not have a record if all inodes in the inobt record are
59 * - The finobt need not have a record if all inodes in the inobt record are
61 * - The finobt need not have a record if the inobt record says this is a hole.
73 struct xfs_btree_cur *cur = sc->sa.fino_cur; in xchk_inobt_xref_finobt()
79 ASSERT(xfs_btree_is_fino(cur->bc_ops)); in xchk_inobt_xref_finobt()
89 return -EFSCORRUPTED; in xchk_inobt_xref_finobt()
[all …]
Dcommon.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright (C) 2017-2023 Oracle. All Rights Reserved.
59 * For non-verifier errors (e.g. ENOMEM) we return false to tell the
88 case -EDEADLOCK: in __xchk_process_error()
89 case -ECHRNG: in __xchk_process_error()
92 sc->ip ? sc->ip : XFS_I(file_inode(sc->file)), in __xchk_process_error()
93 sc->sm, *error); in __xchk_process_error()
95 case -ECANCELED: in __xchk_process_error()
104 case -EFSBADCRC: in __xchk_process_error()
105 case -EFSCORRUPTED: in __xchk_process_error()
[all …]
Drtrefcount.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright (c) 2021-2024 Oracle. All Rights Reserved.
44 error = xchk_rtgroup_init(sc, sc->sm->sm_agno, &sc->sr); in xchk_setup_rtrefcountbt()
52 error = xchk_install_live_inode(sc, rtg_refcount(sc->sr.rtg)); in xchk_setup_rtrefcountbt()
56 return xchk_rtgroup_lock(sc, &sc->sr, XCHK_RTGLOCK_ALL); in xchk_setup_rtrefcountbt()
59 /* Realtime Reference count btree scrubber. */
78 * need to find ($refcount - $seen) owners for every block in the
134 if (xchk_should_terminate(refchk->sc, &error)) in xchk_rtrefcountbt_rmap_check()
137 rm_last = rec->rm_startblock + rec->rm_blockcount - 1; in xchk_rtrefcountbt_rmap_check()
138 rc_last = refchk->bno + refchk->len - 1; in xchk_rtrefcountbt_rmap_check()
[all …]
Dmetapath.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright (c) 2023-2024 Oracle. All Rights Reserved.
39 * metadata, this scrubber ensures that the ondisk metadir path points to the
80 if (mpath->dp_ilock_flags) in xchk_metapath_cleanup()
81 xfs_iunlock(mpath->dp, mpath->dp_ilock_flags); in xchk_metapath_cleanup()
82 kfree(mpath->path); in xchk_metapath_cleanup()
97 return -ENOMEM; in xchk_setup_metapath_scan()
108 return -ENOMEM; in xchk_setup_metapath_scan()
111 mpath->sc = sc; in xchk_setup_metapath_scan()
112 sc->buf = mpath; in xchk_setup_metapath_scan()
[all …]
Dquotacheck.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright (c) 2020-2024 Oracle. All Rights Reserved.
84 if (!XFS_IS_QUOTA_ON(sc->mp)) in xchk_setup_quotacheck()
85 return -ENOENT; in xchk_setup_quotacheck()
89 sc->buf = kzalloc(sizeof(struct xqcheck), XCHK_GFP_FLAGS); in xchk_setup_quotacheck()
90 if (!sc->buf) in xchk_setup_quotacheck()
91 return -ENOMEM; in xchk_setup_quotacheck()
113 * per-transaction dqtrx structure to log quota counter updates; and (2) when
119 * failures in the hook code must abort the iscan and the scrubber must notice
149 if (error == -EFBIG) { in xqcheck_update_incore_counts()
[all …]
Drepair.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright (C) 2018-2023 Oracle. All Rights Reserved.
57 * told us to fix it. This function returns -EAGAIN to mean "re-run scrub",
68 trace_xrep_attempt(XFS_I(file_inode(sc->file)), sc->sm, error); in xrep_attempt()
70 xchk_ag_btcur_free(&sc->sa); in xrep_attempt()
71 xchk_rtgroup_btcur_free(&sc->sr); in xrep_attempt()
74 ASSERT(sc->ops->repair); in xrep_attempt()
75 run->repair_attempted = true; in xrep_attempt()
77 error = sc->ops->repair(sc); in xrep_attempt()
78 trace_xrep_done(XFS_I(file_inode(sc->file)), sc->sm, error); in xrep_attempt()
[all …]
Dparent.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright (C) 2017-2023 Oracle. All Rights Reserved.
70 if (!xfs_dir2_namecheck(name->name, name->len)) in xchk_parent_actor()
71 error = -EFSCORRUPTED; in xchk_parent_actor()
75 if (sc->ip->i_ino == ino) in xchk_parent_actor()
76 spc->nlink++; in xchk_parent_actor()
78 if (xchk_should_terminate(spc->sc, &error)) in xchk_parent_actor()
95 if (!xfs_need_iread_extents(&dp->i_df)) in xchk_parent_ilock_dir()
109 * back to the inode being scrubbed. Returns -EAGAIN if we need to revalidate
121 struct xfs_mount *mp = sc->mp; in xchk_parent_validate()
[all …]
Ddir.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright (C) 2017-2023 Oracle. All Rights Reserved.
69 /* Fixed-size array of xchk_dirent structures. */
93 struct xfs_mount *mp = sc->mp; in xchk_dir_check_ftype()
101 if (xfs_mode_to_ftype(VFS_I(ip)->i_mode) != ftype) in xchk_dir_check_ftype()
109 if (xfs_is_metadir_inode(ip) != xfs_is_metadir_inode(sc->ip)) in xchk_dir_check_ftype()
130 if (!xfs_inode_has_attr_fork(ip) || !xfs_need_iread_extents(&ip->i_af)) in xchk_dir_lock_child()
150 struct xfs_scrub *sc = sd->sc; in xchk_dir_parent_pointer()
153 xfs_inode_to_parent_rec(&sd->pptr_rec, sc->ip); in xchk_dir_parent_pointer()
154 error = xfs_parent_lookup(sc->tp, ip, name, &sd->pptr_rec, in xchk_dir_parent_pointer()
[all …]
Dnlinks.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright (c) 2021-2024 Oracle. All Rights Reserved.
63 return -ENOMEM; in xchk_setup_nlinks()
64 xnc->xname.name = xnc->namebuf; in xchk_setup_nlinks()
65 xnc->sc = sc; in xchk_setup_nlinks()
66 sc->buf = xnc; in xchk_setup_nlinks()
92 * in the hook code must abort the iscan and the scrubber must notice the
97 * observations is inode ILOCK -> iscan_lock/xchk_nlink_ctrs lock.
128 if (!xnc->nlinks) in xchk_nlinks_update_incore()
131 error = xfarray_load_sparse(xnc->nlinks, ino, &nl); in xchk_nlinks_update_incore()
[all …]
/linux-6.14.4/mm/
Dmemory-failure.c1 // SPDX-License-Identifier: GPL-2.0-only
7 * hardware as being corrupted usually due to a multi-bit ECC memory or cache
11 * not-yet-corrupted-by-suspicious pages without killing anything.
23 * - You know how to test it.
24 * - You have a test that can be added to mce-test
25 * https://git.kernel.org/cgit/utils/cpu/mce/mce-test.git/
26 * - The case actually shows up as a frequent (top 10) page state in
27 * tools/mm/page-types when running a real workload.
41 #include <linux/page-flags.h>
50 #include <linux/backing-dev.h>
[all …]
/linux-6.14.4/fs/xfs/libxfs/
Dxfs_fs.h1 /* SPDX-License-Identifier: LGPL-2.1 */
3 * Copyright (c) 1995-2005 Silicon Graphics, Inc.
11 * NOTE: This file must be compile-able with C++ compilers.
37 __s64 bmv_block; /* starting block (64-bit daddr_t) */
56 __s64 bmv_block; /* starting block (64-bit daddr_t) */
67 /* bmv_iflags values - set by XFS_IOC_GETBMAPX caller. */
78 /* bmv_oflags values - returned for each non-header segment */
79 #define BMV_OF_PREALLOC 0x1 /* segment = unwritten pre-allocation */
89 #define XFS_FMR_OWN_AG FMR_OWNER('X', 3) /* per-AG metadata */
224 #define XFS_FSOP_GEOM_FLAGS_NLINK (1 << 1) /* 32-bit nlink values */
[all …]
/linux-6.14.4/drivers/edac/
Damd64_edac.c1 // SPDX-License-Identifier: GPL-2.0-only
11 * cleared to prevent re-enabling the hardware by this driver.
20 if (!pvt->flags.zn_regs_v2) in get_umc_reg()
32 /* Per-node stuff */
39 * Valid scrub rates for the K8 hardware memory scrubber. We map the scrubbing
40 * bandwidth to a valid bit pattern. The 'set' operation finds the 'matching-
82 func, PCI_FUNC(pdev->devfn), offset); in __amd64_read_pci_cfg_dword()
95 func, PCI_FUNC(pdev->devfn), offset); in __amd64_write_pci_cfg_dword()
107 amd64_read_pci_cfg(pvt->F1, DCT_CFG_SEL, &reg); in f15h_select_dct()
108 reg &= (pvt->model == 0x30) ? ~3 : ~1; in f15h_select_dct()
[all …]
/linux-6.14.4/fs/btrfs/
Draid56.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2012 Fusion-io All rights reserved.
18 #include "disk-io.h"
21 #include "async-thread.h"
22 #include "file-item.h"
51 bioc->logical, bioc->full_stripe_logical, bioc->size, in dump_bioc()
52 bioc->map_type, bioc->mirror_num, bioc->replace_nr_stripes, in dump_bioc()
53 bioc->replace_stripe_src, bioc->num_stripes); in dump_bioc()
54 for (int i = 0; i < bioc->num_stripes; i++) { in dump_bioc()
56 i, bioc->stripes[i].dev->devid, in dump_bioc()
[all …]
/linux-6.14.4/Documentation/filesystems/xfs/
Dxfs-online-fsck-design.rst1 .. SPDX-License-Identifier: GPL-2.0
8 Heading 3 uses "----"
25 - To help kernel distributors understand exactly what the XFS online fsck
28 - To help people reading the code to familiarize themselves with the relevant
31 - To help developers maintaining the system by capturing the reasons
59 - Provide a hierarchy of names through which application programs can associate
62 - Virtualize physical storage media across those names, and
64 - Retrieve the named data blobs at any time.
66 - Examine resource usage.
79 cross-references different types of metadata records with each other to look
[all …]