]> Gentwo Git Trees - linux/.git/commit
btrfs: raid56: prepare generate_pq_vertical() for bs > ps cases
authorQu Wenruo <wqu@suse.com>
Thu, 13 Nov 2025 09:40:38 +0000 (20:10 +1030)
committerDavid Sterba <dsterba@suse.com>
Tue, 25 Nov 2025 00:47:05 +0000 (01:47 +0100)
commit826325b6d091fdf93cc04fb5e8e462409635a469
treefa8af384de5826bdf42ae0dfe0c8ad398f784a52
parent91cd1b586578017e20103771615db75dd8df5727
btrfs: raid56: prepare generate_pq_vertical() for bs > ps cases

Unlike btrfs_calculate_block_csum_pages(), we cannot handle multiple
pages at the same time for P/Q generation.

So here we introduce a new @step_nr, and various helpers to grab the
sub-block page from the rbio, and generate the P/Q stripe page by page.

Signed-off-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/raid56.c