diff options
author | 2024-03-08 13:40:30 +1030 | |
---|---|---|
committer | 2024-08-01 17:15:05 +0200 | |
commit | 33eb1e5db351e2c0e652d878b66b8a6d4d013135 (patch) | |
tree | 3ede032027c8bb9bd449d284902cca321196cf60 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | btrfs: initialize location to fix -Wmaybe-uninitialized in btrfs_lookup_dentry() (diff) | |
download | linux-rng-33eb1e5db351e2c0e652d878b66b8a6d4d013135.tar.xz linux-rng-33eb1e5db351e2c0e652d878b66b8a6d4d013135.zip |
btrfs: factor out stripe length calculation into a helper
Currently there are two locations which need to calculate the real
length of a stripe (which can be at the end of a chunk, and the chunk
size may not always be 64K aligned).
Factor them into a helper as we're going to have a third user soon.
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions