Cleanup io_tree arguments in extent read/write path
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest8 patches 13 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | btrfs: remove extent_page_data::treefs/ | +2 | 2 replies | |
| 2/8 | btrfs: drop argument tree from submit_extent_pagefs/ | +5 | 4 replies | |
| 3/8 | btrfs: add assertions for tree == inode->io_tree to extent IO helpersfs/ fs/ | +12 | 1 reply | |
| 4/8 | btrfs: drop argument tree from btrfs_lock_and_flush_ordered_rangefs/ fs/ fs/ +2 more | +8 | 1 reply | |
| 5/8 | btrfs: sink argument tree to extent_read_full_pagefs/ fs/ fs/ +1 more | +7 | 1 reply | |
| 6/8 | btrfs: sink argument tree to __extent_read_full_pagefs/ | +4 | 1 reply | |
| 7/8 | btrfs: sink arugment tree to contiguous_readpagesfs/ | +3 | 1 reply | |
| 8/8 | btrfs: sink argument tree to __do_readpagefs/ | +4 | 1 reply |
Reviews trailers per patch
All 8 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Anand Jain | Nikolay Borisov | Johannes Thumshirn |
|---|---|---|---|
| Series | R-b | ||
| 1/8 | R-b | R-b | |
| 2/8 | R-b | R-b | |
| 3/8 | R-b | ||
| 4/8 | R-b | ||
| 5/8 | R-b | ||
| 6/8 | R-b | ||
| 7/8 | R-b | ||
| 8/8 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH 0/8] Cleanup io_tree arguments in extent read/write path
The io_tree is passed to several functions that do extent page read/write, but there's a lot of redundancy and things can be simplified.
David Sterba (8):
btrfs: remove extent_page_data::tree
btrfs: drop argument tree from submit_extent_page
btrfs: add assertions for tree == inode->io_tree to extent IO helpers
btrfs: drop argument tree from btrfs_lock_and_flush_ordered_range
btrfs: sink argument tree to extent_read_full_page
btrfs: sink argument tree to __extent_read_full_page
btrfs: sink arugment tree to contiguous_readpages
btrfs: sink argument tree to __do_readpage
fs/btrfs/disk-io.c | 4 +--- fs/btrfs/extent_io.c | 50 ++++++++++++++++------------------------- fs/btrfs/extent_io.h | 4 ++-- fs/btrfs/file.c | 2 +- fs/btrfs/inode.c | 6 ++--- fs/btrfs/ordered-data.c | 8 +++---- fs/btrfs/ordered-data.h | 3 +-- 7 files changed, 29 insertions(+), 48 deletions(-)
Signature · 1 line
2.25.0