btrfs: make extent buffer memory continuous
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 4 repliesIn review
Changes in v1 from the cover letter
- Rebased to the latest misc-next branch Just a small conflicts in extent_buffer_memmove().
- Further cleanup the extent buffer bitmap operations
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | btrfs: warn on tree blocks which are not nodesize alignedfs/ fs/ | +15 | 2 replies | |
| 2/3 | btrfs: map uncontinuous extent buffer pages into virtual address spacefs/ fs/ | +77 | 1 reply | |
| 3/3 | btrfs: utilize the physically/virtually continuous extent buffer memoryfs/ fs/ fs/ | +47 | 0 replies |
Reviews trailers per patch
1 of 3 patches has a Reviewed-by or Acked-by.
| Patch | Anand Jain |
|---|---|
| 1/3 | R-b |
| 2/3 | |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/3] btrfs: make extent buffer memory continuous
[CHANGELOG]RFC->v1:
- Rebased to the latest misc-next branch Just a small conflicts in extent_buffer_memmove().
- Further cleanup the extent buffer bitmap operations
[REPO]
https://github.com/adam900710/linux/tree/eb_page_cleanups
This includes the submitted extent buffer accessors cleanup as the dependency.
[BACKGROUND]
We have a lot of extent buffer code addressing the cross-page accesses, on the other hand, other filesystems like XFS is mapping its xfs_buf into kernel virtual address space, so that they can access the content of xfs_buf without bothering the page boundaries.
[OBJECTIVE]
This patchset is mostly learning from the xfs_buf, to greatly simplify the extent buffer accessors.
Now all the extent buffer accessors are turned into wrappers of memcpy()/memcmp()/memmove().
For now, it can pass test cases from btrfs group without new regressions.
Qu Wenruo (3):
btrfs: warn on tree blocks which are not nodesize aligned
btrfs: map uncontinuous extent buffer pages into virtual address space
btrfs: utilize the physically/virtually continuous extent buffer
memory
fs/btrfs/disk-io.c | 18 +-- fs/btrfs/extent_io.c | 360 +++++++++++++------------------------------ fs/btrfs/extent_io.h | 17 ++ fs/btrfs/fs.h | 7 + 4 files changed, 139 insertions(+), 263 deletions(-)
Signature · 1 line
2.41.0