Skip to content

btrfs: small cleanups mostly for subpage cases

Qu Wenruo linux-btrfs 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 8 repliesIn review
  2. v13 patches 0 repliesSuperseded

Changes in v2 from the cover letter

- Fix an offset-by-one bug in the 3rd patch
Unlock extent range end is inclusive.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3btrfs: make alloc_extent_buffer() handle previously uptodate range more efficient for subpagefs/btrfs/extent_io.c+1 -11 reply
2/3btrfs: use the same @uptodate variable for end_bio_extent_readpage()fs/btrfs/extent_io.c+1 -12 replies
3/3btrfs: remove processed_extent infrastructurefs/btrfs/extent_io.c+9 -784 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchChristoph HellwigAnand Jain
1/3R-b
2/3R-b R-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/3] btrfs: small cleanups mostly for subpage cases

Changelog:
v2:
- Fix an offset-by-one bug in the 3rd patch
Unlock extent range end is inclusive.

During my hunt on the subpage uptodate desync bugs reported from Matt, I exposed several PageUptodate usage which results inefficiency for subpage cases.

Those two are fixed in the first two patches.

Furthermore I found processed_extent infrastructure is no longer needed especially after all the csum verification is moved to storage layer (or bio.c inside btrfs), we can easily unlock the full range without the need for the infrastructure.

Thus the last patch would delete the processed_extent infrastructure completely.

Qu Wenruo (3):
btrfs: make alloc_extent_buffer() handle previously uptodate range
more efficient for subpage
btrfs: use the same @uptodate variable for end_bio_extent_readpage()
btrfs: remove processed_extent infrastructure

 fs/btrfs/extent_io.c | 89 +++++---------------------------------------
 1 file changed, 10 insertions(+), 79 deletions(-)
Signature · 1 line
2.40.1