Home
last modified time | relevance | path

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

/linux-6.8/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 <krzk@kernel.org>
11 - Michal Simek <michal.simek@amd.com>
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.8/fs/xfs/scrub/
Dscrub.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright (C) 2017-2023 Oracle. All Rights Reserved.
30 * repair on-disk data structures. That task was left to the xfs_check
41 * also be cross-referenced against other btrees to look for potential
44 * It is expected that the checkers responsible for per-AG metadata
46 * metadata structure, and perform any relevant cross-referencing before
51 * Block maps and b-trees rooted in an inode present a special challenge
52 * because they can involve extents from any AG. The general scrubber
53 * structure of lock -> check -> xref -> unlock still holds, but AG
58 * can signal a potential deadlock, in which case the scrubber can jump
[all …]
Drtsummary.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright (C) 2017-2023 Oracle. All Rights Reserved.
52 struct xfs_mount *mp = sc->mp; in xchk_setup_rtsummary()
57 rts = kvzalloc(struct_size(rts, words, mp->m_blockwsize), in xchk_setup_rtsummary()
60 return -ENOMEM; in xchk_setup_rtsummary()
61 sc->buf = rts; in xchk_setup_rtsummary()
68 error = xfile_create(descr, mp->m_rsumsize, &sc->xfile); in xchk_setup_rtsummary()
77 error = xchk_install_live_inode(sc, mp->m_rsumip); in xchk_setup_rtsummary()
87 * careful to unlock it ourselves when we are done with the rtbitmap in xchk_setup_rtsummary()
91 xfs_ilock(mp->m_rbmip, XFS_ILOCK_SHARED | XFS_ILOCK_RTBITMAP); in xchk_setup_rtsummary()
[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(cur->bc_btnum == XFS_BTNUM_FINO); in xchk_inobt_xref_finobt()
89 return -EFSCORRUPTED; in xchk_inobt_xref_finobt()
[all …]
Drefcount.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright (C) 2017-2023 Oracle. All Rights Reserved.
33 /* Reference count btree scrubber. */
52 * need to find ($refcount - $seen) owners for every block in the
108 if (xchk_should_terminate(refchk->sc, &error)) in xchk_refcountbt_rmap_check()
111 rm_last = rec->rm_startblock + rec->rm_blockcount - 1; in xchk_refcountbt_rmap_check()
112 rc_last = refchk->bno + refchk->len - 1; in xchk_refcountbt_rmap_check()
114 /* Confirm that a single-owner refc extent is a CoW stage. */ in xchk_refcountbt_rmap_check()
115 if (refchk->refcount == 1 && rec->rm_owner != XFS_RMAP_OWN_COW) { in xchk_refcountbt_rmap_check()
116 xchk_btree_xref_set_corrupt(refchk->sc, cur, 0); in xchk_refcountbt_rmap_check()
[all …]
Ddir.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright (C) 2017-2023 Oracle. All Rights Reserved.
45 struct xfs_mount *mp = sc->mp; in xchk_dir_check_ftype()
53 if (xfs_mode_to_ftype(VFS_I(ip)->i_mode) != ftype) in xchk_dir_check_ftype()
72 struct xfs_mount *mp = dp->i_mount; in xchk_dir_actor()
78 offset = xfs_dir2_db_to_da(mp->m_dir_geo, in xchk_dir_actor()
79 xfs_dir2_dataptr_to_db(mp->m_dir_geo, dapos)); in xchk_dir_actor()
87 return -ECANCELED; in xchk_dir_actor()
91 if (!xfs_dir2_namecheck(name->name, name->len)) { in xchk_dir_actor()
93 return -ECANCELED; in xchk_dir_actor()
[all …]
Drepair.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright (C) 2018-2023 Oracle. All Rights Reserved.
42 * told us to fix it. This function returns -EAGAIN to mean "re-run scrub",
53 trace_xrep_attempt(XFS_I(file_inode(sc->file)), sc->sm, error); in xrep_attempt()
55 xchk_ag_btcur_free(&sc->sa); in xrep_attempt()
58 ASSERT(sc->ops->repair); in xrep_attempt()
59 run->repair_attempted = true; in xrep_attempt()
61 error = sc->ops->repair(sc); in xrep_attempt()
62 trace_xrep_done(XFS_I(file_inode(sc->file)), sc->sm, error); in xrep_attempt()
63 run->repair_ns += xchk_stats_elapsed_ns(repair_start); in xrep_attempt()
[all …]
/linux-6.8/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.8/fs/btrfs/
Draid56.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2012 Fusion-io All rights reserved.
19 #include "disk-io.h"
22 #include "async-thread.h"
23 #include "file-item.h"
79 bitmap_free(rbio->error_bitmap); in free_raid_bio_pointers()
80 kfree(rbio->stripe_pages); in free_raid_bio_pointers()
81 kfree(rbio->bio_sectors); in free_raid_bio_pointers()
82 kfree(rbio->stripe_sectors); in free_raid_bio_pointers()
83 kfree(rbio->finish_pointers); in free_raid_bio_pointers()
[all …]
/linux-6.8/drivers/edac/
Damd64_edac.c1 // SPDX-License-Identifier: GPL-2.0-only
9 * cleared to prevent re-enabling the hardware by this driver.
18 if (!pvt->flags.zn_regs_v2) in get_umc_reg()
31 /* Per-node stuff */
38 * Valid scrub rates for the K8 hardware memory scrubber. We map the scrubbing
39 * bandwidth to a valid bit pattern. The 'set' operation finds the 'matching-
81 func, PCI_FUNC(pdev->devfn), offset); in __amd64_read_pci_cfg_dword()
94 func, PCI_FUNC(pdev->devfn), offset); in __amd64_write_pci_cfg_dword()
106 amd64_read_pci_cfg(pvt->F1, DCT_CFG_SEL, &reg); in f15h_select_dct()
107 reg &= (pvt->model == 0x30) ? ~3 : ~1; in f15h_select_dct()
[all …]
/linux-6.8/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 …]