Home
last modified time | relevance | path

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

/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/fs/xfs/scrub/
Dscrub.c1 // SPDX-License-Identifier: GPL-2.0+
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
63 * (directories and attributes) we follow the same btree-scrubbing
[all …]
Drefcount.c1 // SPDX-License-Identifier: GPL-2.0+
28 /* Reference count btree scrubber. */
47 * need to find ($refcount - $seen) owners for every block in the
103 if (xchk_should_terminate(refchk->sc, &error)) in xchk_refcountbt_rmap_check()
106 rm_last = rec->rm_startblock + rec->rm_blockcount - 1; in xchk_refcountbt_rmap_check()
107 rc_last = refchk->bno + refchk->len - 1; in xchk_refcountbt_rmap_check()
109 /* Confirm that a single-owner refc extent is a CoW stage. */ in xchk_refcountbt_rmap_check()
110 if (refchk->refcount == 1 && rec->rm_owner != XFS_RMAP_OWN_COW) { in xchk_refcountbt_rmap_check()
111 xchk_btree_xref_set_corrupt(refchk->sc, cur, 0); in xchk_refcountbt_rmap_check()
115 if (rec->rm_startblock <= refchk->bno && rm_last >= rc_last) { in xchk_refcountbt_rmap_check()
[all …]
Dialloc.c1 // SPDX-License-Identifier: GPL-2.0+
35 return xchk_setup_ag_btree(sc, ip, sc->flags & XCHK_TRY_HARDER); in xchk_setup_ag_iallocbt()
38 /* Inode btree scrubber. */
52 * If we're checking the finobt, cross-reference with the inobt.
66 if (sc->sm->sm_type == XFS_SCRUB_TYPE_FINOBT) in xchk_iallocbt_chunk_xref_other()
67 pcur = &sc->sa.ino_cur; in xchk_iallocbt_chunk_xref_other()
69 pcur = &sc->sa.fino_cur; in xchk_iallocbt_chunk_xref_other()
75 if (((irec->ir_freecount > 0 && !has_irec) || in xchk_iallocbt_chunk_xref_other()
76 (irec->ir_freecount == 0 && has_irec))) in xchk_iallocbt_chunk_xref_other()
80 /* Cross-reference with the other btrees. */
[all …]
/kernel/linux/linux-6.6/fs/xfs/scrub/
Dscrub.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright (C) 2017-2023 Oracle. All Rights Reserved.
32 * repair on-disk data structures. That task was left to the xfs_check
43 * also be cross-referenced against other btrees to look for potential
46 * It is expected that the checkers responsible for per-AG metadata
48 * metadata structure, and perform any relevant cross-referencing before
53 * Block maps and b-trees rooted in an inode present a special challenge
54 * because they can involve extents from any AG. The general scrubber
55 * structure of lock -> check -> xref -> unlock still holds, but AG
60 * 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.
39 struct xfs_mount *mp = sc->mp; in xchk_setup_rtsummary()
48 error = xfile_create(descr, mp->m_rsumsize, &sc->xfile); in xchk_setup_rtsummary()
58 sc->buf = kvmalloc(mp->m_sb.sb_blocksize, XCHK_GFP_FLAGS); in xchk_setup_rtsummary()
59 if (!sc->buf) in xchk_setup_rtsummary()
60 return -ENOMEM; in xchk_setup_rtsummary()
62 error = xchk_install_live_inode(sc, mp->m_rsumip); in xchk_setup_rtsummary()
68 * careful to unlock it ourselves when we are done with the rtbitmap in xchk_setup_rtsummary()
72 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 …]
/kernel/linux/linux-5.10/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/vm/page-types when running a real workload.
38 #include <linux/page-flags.h>
39 #include <linux/kernel-page-flags.h>
[all …]
/kernel/linux/linux-5.10/fs/xfs/
Dxfs_icache.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2000-2005 Silicon Graphics, Inc.
45 if (inode_init_always(mp->m_super, VFS_I(ip))) { in xfs_inode_alloc()
51 VFS_I(ip)->i_mode = 0; in xfs_inode_alloc()
52 VFS_I(ip)->i_state = 0; in xfs_inode_alloc()
55 ASSERT(atomic_read(&ip->i_pincount) == 0); in xfs_inode_alloc()
56 ASSERT(ip->i_ino == 0); in xfs_inode_alloc()
59 ip->i_ino = ino; in xfs_inode_alloc()
60 ip->i_mount = mp; in xfs_inode_alloc()
61 memset(&ip->i_imap, 0, sizeof(struct xfs_imap)); in xfs_inode_alloc()
[all …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/fs/btrfs/
Draid56.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2012 Fusion-io All rights reserved.
17 #include "disk-io.h"
20 #include "async-thread.h"
170 /* allocated with real_stripes-many pointers for finish_*() calls */
173 /* allocated with stripe_npages-many bits for finish_*() calls */
193 btrfs_init_work(&rbio->work, work_func, NULL, NULL); in start_async_work()
194 btrfs_queue_work(rbio->fs_info->rmw_workers, &rbio->work); in start_async_work()
210 if (info->stripe_hash_table) in btrfs_alloc_stripe_hash_table()
222 return -ENOMEM; in btrfs_alloc_stripe_hash_table()
[all …]
/kernel/linux/linux-5.10/drivers/edac/
Damd64_edac.c1 // SPDX-License-Identifier: GPL-2.0-only
9 * cleared to prevent re-enabling the hardware by this driver.
18 /* Per-node stuff */
25 * Valid scrub rates for the K8 hardware memory scrubber. We map the scrubbing
26 * bandwidth to a valid bit pattern. The 'set' operation finds the 'matching-
68 func, PCI_FUNC(pdev->devfn), offset); in __amd64_read_pci_cfg_dword()
81 func, PCI_FUNC(pdev->devfn), offset); in __amd64_write_pci_cfg_dword()
93 amd64_read_pci_cfg(pvt->F1, DCT_CFG_SEL, &reg); in f15h_select_dct()
94 reg &= (pvt->model == 0x30) ? ~3 : ~1; in f15h_select_dct()
96 amd64_write_pci_cfg(pvt->F1, DCT_CFG_SEL, reg); in f15h_select_dct()
[all …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-6.6/Documentation/filesystems/
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 …]