btrfs: raid56: part 1, refactor/cleanup
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | btrfs: raid56: properly handle the error when unable to find the missing stripefs/ | +4 | 0 replies | |
| 2/5 | btrfs: raid56: avoid double freeing for rbio if full_stripe_write() failedfs/ | +7 | 0 replies | |
| 3/5 | btrfs: raid56: cleanup for function __free_raid_bio()fs/ | +30 | 0 replies | |
| 4/5 | btrfs: raid56: allocate memory separately for rbio pointersfs/ | +24 | 0 replies | |
| 5/5 | btrfs: raid56: make it more explicit that cache rbio should have all its data sectors uptodatefs/ | +51 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/5] btrfs: raid56: part 1, refactor/cleanup
This is the cleanup/refactor part for the incoming RAID56 feature, which will do data checksum verification during RMW cycle to address destructive RMW.
The important parts of the cleanup are:
- Make pointer members of btrfs_raid_bio to be allocated separately This will make later expanding (csum_buf and csum_bitmap) easier.
- Make it explicit that all cached rbio should have all its data sectors uptodate
This means, if we steal one rbio, all the data sectors should be uptodate.
Qu Wenruo (5):
btrfs: raid56: properly handle the error when unable to find the
missing stripe
btrfs: raid56: avoid double freeing for rbio if full_stripe_write()
failed
btrfs: raid56: cleanup for function __free_raid_bio()
btrfs: raid56: allocate memory separately for rbio pointers
btrfs: raid56: make it more explicit that cache rbio should have all
its data sectors uptodate
fs/btrfs/raid56.c | 189 +++++++++++++++++++++++++++------------------- 1 file changed, 113 insertions(+), 76 deletions(-)
Signature · 1 line
2.37.3