Skip to content

btrfs: enable large folios for data reloc inodes

Qu Wenruo linux-btrfs 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3btrfs: reloc: unconditionally invalidate the page cache for each clusterfs/btrfs/relocation.c+8 -500 replies
2/3btrfs: output more info when btrfs_subpage_assert() failedfs/btrfs/subpage.c+3 -20 replies
3/3btrfs: enable large data folios for data reloc inodefs/btrfs/btrfs_inode.h fs/btrfs/relocation.c+13 -150 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/3] btrfs: enable large folios for data reloc inodes

Although large data folios are enabled for experimental builds, data reloc inodes are excluded due to the cluster folio handling are still done in fixed page size.

But data reloc inodes fit large folios better than regular inodes, as each relocation cluster is one or more file extents that are contiguous in their logical addresses.

This series will enable large folios for data reloc inodes by:

- Simplify the handling of cluster boundary folio invalidation This patch has been sent to the list already, but it's the dependency of the series.

- Enhance the output of btrfs_subpage_assert()
As it easily caught a lot of bugs in the relocation code that are still using PAGE_SIZE

- Enable large folios for data reloc inodes
The last patch that remove the PAGE_SIZE usage and fixed PAGE_SIZE itearation of data reloc inodes.

Qu Wenruo (3):
btrfs: reloc: unconditionally invalidate the page cache for each
cluster
btrfs: output more info when btrfs_subpage_assert() failed
btrfs: enable large data folios for data reloc inode

 fs/btrfs/btrfs_inode.h |  4 ---
 fs/btrfs/relocation.c  | 82 +++++++++++-------------------------------
 fs/btrfs/subpage.c     |  5 +--
 3 files changed, 24 insertions(+), 67 deletions(-)
Signature · 1 line
2.50.0