diff options
| author | Qu Wenruo <wqu@suse.com> | 2025-11-14 13:49:33 +1030 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2025-11-25 01:47:11 +0100 |
| commit | 9ba67fd616d6cfbf8b90c336195819e7494645bb (patch) | |
| tree | a606dcc8d24fd4bae7c6bf4fde1997e70ff15acc /tools/lib/python | |
| parent | 826325b6d091fdf93cc04fb5e8e462409635a469 (diff) | |
btrfs: raid56: prepare recover_vertical() to support bs > ps cases
Currently recover_vertical() assumes that every fs block can be mapped
by one page, this is blocking bs > ps support for raid56.
Prepare recover_vertical() to support bs > ps cases by:
- Introduce recover_vertical_step() helper
Which will recover a full step (min(PAGE_SIZE, sectorsize)).
Now recover_vertical() will do the error check for the specified
sector, do the recover step by step, then do the sector verification.
- Fix a spelling error of get_rbio_vertical_errors()
The old name has a typo: "veritical".
Signed-off-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
