diff options
author | Darrick J. Wong <djwong@kernel.org> | 2024-01-31 11:47:14 -0800 |
---|---|---|
committer | Chandan Babu R <chandanbabu@kernel.org> | 2024-02-17 09:18:53 +0530 |
commit | 1149314a16f7972743c66988b2ac19767009325e (patch) | |
tree | 8193ebc7bc0b561ec1276d21a440ff8cef47f9f9 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 57b98393b812ddaf9cf33a0d57d70b25cabfed66 (diff) |
xfs: disable sparse inode chunk alignment check when there is no alignment
While testing a 64k-blocksize filesystem, I noticed that xfs/709 fails
to rebuild the inode btree with a bunch of "Corruption remains"
messages. It turns out that when the inode chunk size is smaller than a
single filesystem block, no block alignments constraints are necessary
for inode chunk allocations, and sb_spino_align is zero. Hence we can
skip the check.
Fixes: dbfbf3bdf639 ("xfs: repair inode btrees")
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Chandan Babu R <chandanbabu@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions