diff options
author | Darrick J. Wong <djwong@kernel.org> | 2023-12-15 21:03:41 +0300 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2023-12-15 21:03:41 +0300 |
commit | 41991cf298919de211c63251d72266aff70ecad0 (patch) | |
tree | 53ca8f9316ee3c27375bff35e08863af241fbec1 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | dbbdbd0086320a026903ca34efedb6abf55230ed (diff) | |
download | linux-41991cf298919de211c63251d72266aff70ecad0.tar.xz |
xfs: check rt bitmap file geometry more thoroughly
I forgot that the superblock tracks the number of blocks that are in the
realtime bitmap, and that the rt bitmap file can have more blocks mapped
to the data fork than sb_rbmblocks if growfsrt fails.
So. Add to the rtbitmap scrubber an explicit check that sb_rextents and
sb_rbmblocks are correct, then adjust the rtbitmap i_size checks to
allow for the growfsrt failure case. Finally, flag post-eof blocks in
the rtbitmap.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions