Home
last modified time | relevance | path

Searched hist:"3907 ce293d68c614ce64a77fad6fca04aac30d83" (Results 1 – 1 of 1) sorted by relevance

/linux/fs/btrfs/
H A Draid56.cdiff 3907ce293d68c614ce64a77fad6fca04aac30d83 Fri Apr 01 13:23:30 CEST 2022 Qu Wenruo <wqu@suse.com> 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>