btrfs: add large folio support to read-repair and defrag
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | btrfs: prepare btrfs_end_repair_bio() for larger data foliosfs/ | +54 | 2 replies | |
| 2/2 | btrfs: enable larger data folios support for defragfs/ | +42 | 1 reply |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | Filipe Manana |
|---|---|
| 1/2 | |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/2] btrfs: add large folio support to read-repair and defrag
These two patches are originally in a series of ASSERT()s cleanup, but later since I'm able to enable large data folios for testing, one bug is exposed in the first patch, thus these two are not yet merged into for-next branch.
Now with full fstests able to run on my local large data folios branch, I can eventually verify the behavior of those two patches.
The first patch is to add extra calculation to convert the bio_vec (no matter single page or multi page) to a proper folio and offset inside the folio.
The second patch is to add large folios support to defrag, which only needs minor changes.
Qu Wenruo (2):
btrfs: prepare btrfs_end_repair_bio() for larger data folios
btrfs: enable larger data folios support for defrag
fs/btrfs/bio.c | 61 ++++++++++++++++++++++++++++++++++----- fs/btrfs/defrag.c | 72 +++++++++++++++++++++++++++-------------------- 2 files changed, 96 insertions(+), 37 deletions(-)
Signature · 1 line
2.49.0