diff options
author | 2022-04-01 19:23:30 +0800 | |
---|---|---|
committer | 2022-05-16 17:03:15 +0200 | |
commit | 3907ce293d68c614ce64a77fad6fca04aac30d83 (patch) | |
tree | c9be268bf14b61855fe057b322a810001f510d0a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | btrfs: raid56: make steal_rbio() subpage compatible (diff) | |
download | linux-dev-3907ce293d68c614ce64a77fad6fca04aac30d83.tar.xz linux-dev-3907ce293d68c614ce64a77fad6fca04aac30d83.zip |
btrfs: raid56: make alloc_rbio_essential_pages() subpage compatible
The non-compatible part is only the bitmap iteration part, now the
bitmap size is extended to rbio::stripe_nsectors, not the old
rbio::stripe_npages.
Since we're here, also slightly improve the function by:
- Rename @i to @stripe
- Rename @bit to @sectornr
- Move @page and @index into the inner loop
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