diff options
| author | Qu Wenruo <[email protected]> | 2022-04-01 11:23:30 +0000 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2022-05-16 15:03:15 +0000 |
| commit | 3907ce293d68c614ce64a77fad6fca04aac30d83 (patch) | |
| tree | c9be268bf14b61855fe057b322a810001f510d0a /fs/btrfs/async-thread.h | |
| parent | btrfs: raid56: make steal_rbio() subpage compatible (diff) | |
| download | kernel-3907ce293d68c614ce64a77fad6fca04aac30d83.tar.gz kernel-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 <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/async-thread.h')
0 files changed, 0 insertions, 0 deletions
