btrfs: enable large folios for data reloc inodes
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | btrfs: reloc: unconditionally invalidate the page cache for each clusterfs/ | +8 | 0 replies | |
| 2/3 | btrfs: output more info when btrfs_subpage_assert() failedfs/ | +3 | 0 replies | |
| 3/3 | btrfs: enable large data folios for data reloc inodefs/ fs/ | +13 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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