Skip to content

btrfs: migrate the remaining functions exposed by a full fstests with larger metadata folios

Qu Wenruo linux-btrfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2btrfs: migrate eb_bitmap_offset() to folio interfacesfs/btrfs/extent_io.c+10 -120 replies
2/2btrfs: migrate btrfs_repair_io_failure() to folio interfacesfs/btrfs/bio.c fs/btrfs/bio.h fs/btrfs/disk-io.c+20 -120 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] btrfs: migrate the remaining functions exposed by a full fstests with larger metadata folios

[REPO]
This patchset along with all the previous migrations (and the final enablement patch) can be found here:

https://github.com/adam900710/linux/tree/eb_memory

With all the previous migrations (although only tested without larger folios), we are finally just one step away from enabling larger folio support for btrfs metadata.

During my local full fstests runs with larger metadata folios, there are only two bugs hit, all related to some code path not yet handling folios correct:

- eb_bitmap_offset()
- btrfs_repair_eb_io_failure()

Otherwise my local branch can already pass local fstests without new regressions.

So here is the final (and I hope is the last) migrations for involed metadata code path, before the final patch enabling larger folio support.

Qu Wenruo (2):
btrfs: migrate eb_bitmap_offset() to folio interfaces
btrfs: migrate btrfs_repair_io_failure() to folio interfaces

 fs/btrfs/bio.c       | 15 +++++++++++----
 fs/btrfs/bio.h       |  4 ++--
 fs/btrfs/disk-io.c   | 13 +++++++------
 fs/btrfs/extent_io.c | 22 ++++++++++------------
 4 files changed, 30 insertions(+), 24 deletions(-)
Signature · 1 line
2.43.0