Skip to content

Cleanup metadata page reading path

Nikolay Borisov linux-btrfs 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest9 patches 8 repliesIn review
  2. v110 patches 16 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9btrfs: Remove btree_readpagefs/btrfs/disk-io.c+0 -61 reply
2/9btrfs: Simplify metadata pages readingfs/btrfs/extent_io.c+10 -111 reply
3/9btrfs: Remove btree_get_extentfs/btrfs/disk-io.c fs/btrfs/disk-io.h+0 -500 replies
4/9btrfs: Remove btrfs_get_extent indirection from __do_readpagefs/btrfs/extent_io.c fs/btrfs/extent_io.h fs/btrfs/inode.c+14 -220 replies
5/9btrfs: Remove mirror_num argument from extent_read_full_pagefs/btrfs/extent_io.c fs/btrfs/extent_io.h fs/btrfs/inode.c+5 -50 replies
6/9btrfs: Promote extent_read_full_page to btrfs_readpagefs/btrfs/extent_io.c fs/btrfs/extent_io.h fs/btrfs/inode.c+16 -190 replies
7/9btrfs: Sink mirror_num argument in extent_read_full_pagefs/btrfs/extent_io.c fs/btrfs/extent_io.h fs/btrfs/inode.c+4 -52 replies
8/9btrfs: Sink read_flags argument into extent_read_full_pagefs/btrfs/extent_io.c fs/btrfs/extent_io.h fs/btrfs/inode.c+4 -40 replies
9/9btrfs: Sink mirror_num argument in __do_readpagefs/btrfs/extent_io.c+5 -60 replies

Reviews trailers per patch

8 of 9 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchJosef BacikJohannes ThumshirnQu Wenruo
SeriesR-b R-b
1/9R-b
2/9R-b
3/9R-b
4/9
5/9R-b
6/9R-b
7/9R-b
8/9R-b
9/9R-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.

Read the v2 thread

Cover letter [PATCH v2 0/9] Cleanup metadata page reading path

Here is v2 of the metadata readout cleanups [0]. This series incorporates the feedback I received, namely:

* Added justification why removing btree_readpage is safe in Patch 1
* Dropped Patch 2 (pg_offset remove from btrfs_get_extent) as Qu intends on using it in his subpage blocksize work.
* Add a comment about caller's responsibility for cleanup in Patch 3
* Added RB for patches which haven't changed since v1 and got RB by Josef.

[0] https://lore.kernel.org/linux-btrfs/[email protected]/T/#t

Nikolay Borisov (9):
btrfs: Remove btree_readpage
btrfs: Simplify metadata pages reading
btrfs: Remove btree_get_extent
btrfs: Remove btrfs_get_extent indirection from __do_readpage
btrfs: Remove mirror_num argument from extent_read_full_page
btrfs: Promote extent_read_full_page to btrfs_readpage
btrfs: Sink mirror_num argument in extent_read_full_page
btrfs: Sink read_flags argument into extent_read_full_page
btrfs: Sink mirror_num argument in __do_readpage

 fs/btrfs/disk-io.c   | 53 ---------------------------------
 fs/btrfs/disk-io.h   |  3 --
 fs/btrfs/extent_io.c | 71 +++++++++++++++-----------------------------
 fs/btrfs/extent_io.h |  6 ++--
 fs/btrfs/inode.c     |  9 +++++-
 5 files changed, 36 insertions(+), 106 deletions(-)

--
2.17.1