Skip to content

btrfs: add large folio support to read-repair and defrag

Qu Wenruo linux-btrfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2btrfs: prepare btrfs_end_repair_bio() for larger data foliosfs/btrfs/bio.c+54 -72 replies
2/2btrfs: enable larger data folios support for defragfs/btrfs/defrag.c+42 -301 reply

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchFilipe Manana
1/2
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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