btrfs: prepare raid56 and scrub to support bs > ps cases
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | btrfs: prepare raid56 to support bs > ps casesfs/ fs/ fs/ | +115 | 0 replies | |
| 2/2 | btrfs: prepare scrub to support bs > ps casesfs/ fs/ fs/ | +35 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] btrfs: prepare raid56 and scrub to support bs > ps cases
After the previous compression bs > ps preparation, this series focus on raid56 and scrub.
Both raid56 and scrub are using a page array storing their stripes.
Thankfully both are already using physical memory addresses for checksum calculation, thus there are no internal code to do the checksum handling.
Just convert the involved arraies (and some RAID56 internal page related members) to folio arraies will handle most thing properly.
Now the remaining code is mostly encoded write, which shares some infrastructure with send, which makes the conversion more complex than I thought.
Qu Wenruo (2):
btrfs: prepare raid56 to support bs > ps cases
btrfs: prepare scrub to support bs > ps cases
fs/btrfs/misc.h | 5 ++ fs/btrfs/raid56.c | 180 +++++++++++++++++++++++----------------------- fs/btrfs/raid56.h | 26 ++++--- fs/btrfs/scrub.c | 51 +++++++------ 4 files changed, 142 insertions(+), 120 deletions(-)
Signature · 1 line
2.50.1