Lines Matching full:reverse

70 Secondary metadata (e.g. reverse mapping and directory parent pointers) support
429 - Reverse mapping information
570 increases the time cost of persisting changes to disk, and the reverse space
573 reverse mapping features at format time, though this choice dramatically
967 Reverse Mapping
987 Like any system that improves redundancy, the reverse-mapping feature increases
989 However, it has two critical advantages: first, the reverse index is key to
992 Second, the different ondisk storage format of the reverse mapping btree
1013 The information captured in a reverse space mapping record is as follows:
1037 The reverse mapping index plays a key role in the consistency checking process
1048 * The correspondence of an entry in the reverse mapping information.
1050 There are several observations to make about reverse mapping indices:
1052 1. Reverse mappings can provide a positive affirmation of correctness if any of
1060 For example, checking a reverse mapping record for a file extent mapping
1072 This means that forward progress during this part of a scan of the reverse
1075 In summary, reverse mappings play a key role in reconstruction of primary
1211 For the reverse mapping btree, it is possible to mask parts of the key for the
1243 - Does the reverse mapping index list only the appropriate owner as the
1266 - Does the reverse mapping index list no owners of this space?
1310 are there the same number of reverse mapping records for each block as the
1555 reverse mapping and reflink were introduced.
1624 During the design phase of the reverse mapping and reflink features, it was
1625 decided that it was impractical to cram all the reverse mapping updates for a
1630 * A reverse mapping update for the block mapping update
1632 * A reverse mapping update for the freelist fix
1635 * A reverse mapping update for the btree update
1637 * A reverse mapping update for the freelist fix
1640 * A reverse mapping update for the refcount update
1642 * A reverse mapping update for the freelist fix
1646 * A reverse mapping update for the freelist fix
1650 * A reverse mapping update for the freelist fix
1658 work items to cover most reverse mapping updates and all refcount updates.
1672 For example, if a thread performing a copy-on-write has completed a reverse
1907 4. Staging btrees in memory (reverse mapping btrees)
1988 counts, file fork space, and reverse mappings) consists of a set of fixed-size
2039 reverse mapping information.
2211 Conveniently, however, XFS has a library to create and maintain ordered reverse
2580 1. Walk the reverse mapping records to generate ``struct xfs_inobt_rec``
2605 reverse mapping information.
2606 Reverse mapping records with an owner of ``XFS_RMAP_OWN_INOBT`` marks the
2608 Each reverse mapping record with an owner of ``XFS_RMAP_OWN_INODES`` marks the
2642 Reverse mapping records are used to rebuild the reference count information.
2645 Imagine the reverse mapping entries as rectangles representing extents of
2668 1. Walk the reverse mapping records to generate ``struct xfs_refcount_irec``
2669 records for any space having more than one reverse mapping and add them to
2695 generate refcount information from reverse mapping records.
2697 - Until the reverse mapping btree runs out of records:
2709 unprocessed reverse mapping or the next block after the shortest mapping
2714 - Collect all reverse mappings that start at this position from the btree
2723 Reverse mappings are added to the bag using ``xfarray_store_anywhere`` and
2737 1. Walk the reverse mapping records to generate ``struct xfs_bmbt_rec``
2738 records from the reverse mapping records for that inode and fork.
2789 As part of a repair, online fsck relies heavily on the reverse mapping records
2804 2. Survey the reverse mapping data to create a bitmap of space owned by the
2819 4. For each candidate extent, count the number of reverse mapping records for
2831 6. If the region is crosslinked, delete the reverse mapping entry for the
2869 2. For each reverse mapping record with an rmap owner corresponding to the
2881 common case), then step 2 can be performed at the same time as the reverse
2889 1. Walk the reverse mapping records to generate ``struct xfs_alloc_rec_incore``
2890 records from the gaps in the reverse mapping btree.
2907 reverse mapping btree, the new free space btrees, or the AGFL.
2912 First, free space is not explicitly tracked in the reverse mapping records.
2914 space component of the keyspace of the reverse mapping btree.
2929 As part of committing the new btrees, repair must ensure that reverse mappings
2937 Blocks for the free space btrees and the reverse mapping btrees are supplied by
2939 Blocks put onto the AGFL have reverse mapping records with the owner
2942 btrees or the reverse mapping btrees.
2943 When repair walks reverse mapping records to synthesize free space records, it
2960 Case Study: Reaping After Repairing Reverse Mapping Btrees
2963 Old reverse mapping btrees are less difficult to reap after a repair.
2965 btree blocks, and the reverse mapping btree blocks all have reverse mapping
2967 The full process of gathering reverse mapping records and building a new btree
2979 The rest of the process of rebuildng the reverse mapping btree is discussed
2992 1. Create a bitmap for all the space that the reverse mapping data claims is
2997 3. Subtract any space that the reverse mapping data claims is owned by any
3357 Resources are often released in the reverse order, though this is not required.
3761 Case Study: Rebuilding Reverse Mapping Records
3778 Unfortunately, repairs to the reverse mapping btree cannot use the "standard"
3784 scan for reverse mapping records.
3789 scrub, generate reverse mappings for all AG metadata: inodes, btrees, CoW
3880 fail because freeing space will find the extra reverse mappings and abort.
3996 a. When the reverse-mapping btree is enabled, the swap code must keep the
3997 reverse mapping information up to date with every exchange of mappings.
4001 b. Reverse-mapping is critical for the operation of online fsck, so the old
4022 the reverse-mapping extent swap code.
4462 way that the historic lack of reverse space mapping information once hindered
4494 | followed up with the corresponding change to the reverse links. |
4837 and reverse mapping btrees) depend on consistency within the AG headers and
5140 When the reverse mapping btree was later added to XFS, the only way to maintain
5141 the consistency of the fork mappings with the reverse mapping index was to
5240 reverse mapping index from userspace.