diff options
author | Darrick J. Wong <djwong@kernel.org> | 2023-10-16 09:31:11 -0700 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2023-10-17 16:24:22 -0700 |
commit | a684c538bc14410565e8939393089670fa1e19dd (patch) | |
tree | e94ddb75372a96b28b4d0c84d4f19fe8579650a9 /scripts/generate_rust_analyzer.py | |
parent | 13928113fc5b5e79c91796290a99ed991ac0efe2 (diff) |
xfs: convert xfs_extlen_t to xfs_rtxlen_t in the rt allocator
In most of the filesystem, we use xfs_extlen_t to store the length of a
file (or AG) space mapping in units of fs blocks. Unfortunately, the
realtime allocator also uses it to store the length of a rt space
mapping in units of rt extents. This is confusing, since one rt extent
can consist of many fs blocks.
Separate the two by introducing a new type (xfs_rtxlen_t) to store the
length of a space mapping (in units of realtime extents) that would be
found in a file.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions