All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] btrfs: small cleanups mostly for subpage cases
@ 2023-05-30  1:45 Qu Wenruo
  2023-05-30  1:45 ` [PATCH v2 1/3] btrfs: make alloc_extent_buffer() handle previously uptodate range more efficient for subpage Qu Wenruo
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Qu Wenruo @ 2023-05-30  1:45 UTC (permalink / raw)
  To: linux-btrfs

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(-)

-- 
2.40.1


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2023-05-31  4:33 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-30  1:45 [PATCH v2 0/3] btrfs: small cleanups mostly for subpage cases Qu Wenruo
2023-05-30  1:45 ` [PATCH v2 1/3] btrfs: make alloc_extent_buffer() handle previously uptodate range more efficient for subpage Qu Wenruo
2023-05-30  5:41   ` Christoph Hellwig
2023-05-30  1:45 ` [PATCH v2 2/3] btrfs: use the same @uptodate variable for end_bio_extent_readpage() Qu Wenruo
2023-05-30  5:41   ` Christoph Hellwig
2023-05-30  6:06   ` Anand Jain
2023-05-30  1:45 ` [PATCH v2 3/3] btrfs: remove processed_extent infrastructure Qu Wenruo
2023-05-30  5:43   ` Christoph Hellwig
2023-05-30  6:19     ` Qu Wenruo
2023-05-30 23:35       ` Qu Wenruo
2023-05-31  4:33         ` Christoph Hellwig
2023-05-30 12:48 ` [PATCH v2 0/3] btrfs: small cleanups mostly for subpage cases David Sterba

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.