Commit f1121b9
Merge tag 'scrub-detect-inobt-gaps-6.4_2023-04-11' of git://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux into guilt/xfs-for-next
xfs: detect incorrect gaps in inode btree [v24.5]
This series continues the corrections for a couple of problems I found
in the inode btree scrubber. The first problem is that we don't
directly check the inobt records have a direct correspondence with the
finobt records, and vice versa. The second problem occurs on
filesystems with sparse inode chunks -- the cross-referencing we do
detects sparseness, but it doesn't actually check the consistency
between the inobt hole records and the rmap data.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Dave Chinner <david@fromorbit.com>3 files changed
Lines changed: 269 additions & 88 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1978 | 1978 | | |
1979 | 1979 | | |
1980 | 1980 | | |
1981 | | - | |
1982 | | - | |
1983 | 1981 | | |
1984 | 1982 | | |
1985 | 1983 | | |
| |||
2643 | 2641 | | |
2644 | 2642 | | |
2645 | 2643 | | |
2646 | | - | |
2647 | | - | |
2648 | | - | |
2649 | | - | |
2650 | | - | |
2651 | | - | |
2652 | | - | |
| 2644 | + | |
| 2645 | + | |
| 2646 | + | |
| 2647 | + | |
| 2648 | + | |
| 2649 | + | |
| 2650 | + | |
2653 | 2651 | | |
2654 | 2652 | | |
2655 | | - | |
2656 | | - | |
2657 | | - | |
2658 | | - | |
2659 | | - | |
| 2653 | + | |
| 2654 | + | |
| 2655 | + | |
2660 | 2656 | | |
2661 | | - | |
2662 | 2657 | | |
2663 | | - | |
| 2658 | + | |
| 2659 | + | |
| 2660 | + | |
| 2661 | + | |
| 2662 | + | |
| 2663 | + | |
2664 | 2664 | | |
2665 | | - | |
| 2665 | + | |
| 2666 | + | |
| 2667 | + | |
2666 | 2668 | | |
2667 | 2669 | | |
2668 | | - | |
2669 | | - | |
2670 | | - | |
2671 | | - | |
2672 | | - | |
| 2670 | + | |
| 2671 | + | |
2673 | 2672 | | |
2674 | | - | |
2675 | | - | |
2676 | | - | |
2677 | | - | |
2678 | | - | |
| 2673 | + | |
| 2674 | + | |
| 2675 | + | |
| 2676 | + | |
| 2677 | + | |
| 2678 | + | |
2679 | 2679 | | |
2680 | 2680 | | |
2681 | 2681 | | |
| 2682 | + | |
| 2683 | + | |
2682 | 2684 | | |
2683 | | - | |
| 2685 | + | |
| 2686 | + | |
| 2687 | + | |
2684 | 2688 | | |
2685 | 2689 | | |
2686 | 2690 | | |
| |||
2689 | 2693 | | |
2690 | 2694 | | |
2691 | 2695 | | |
2692 | | - | |
| 2696 | + | |
2693 | 2697 | | |
2694 | | - | |
2695 | | - | |
| 2698 | + | |
| 2699 | + | |
| 2700 | + | |
| 2701 | + | |
2696 | 2702 | | |
2697 | | - | |
2698 | | - | |
| 2703 | + | |
| 2704 | + | |
2699 | 2705 | | |
2700 | | - | |
| 2706 | + | |
| 2707 | + | |
| 2708 | + | |
| 2709 | + | |
| 2710 | + | |
| 2711 | + | |
| 2712 | + | |
| 2713 | + | |
| 2714 | + | |
| 2715 | + | |
| 2716 | + | |
2701 | 2717 | | |
2702 | 2718 | | |
2703 | 2719 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | | - | |
100 | | - | |
101 | | - | |
| 99 | + | |
| 100 | + | |
102 | 101 | | |
103 | 102 | | |
104 | 103 | | |
| |||
0 commit comments