Skip to content

btrfs: fix inefficiencies when reading extent buffers and some cleanups

[email protected] linux-btrfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4btrfs: avoid unnecessary btree search restarts when reading nodefs/btrfs/ctree.c+19 -110 replies
2/4btrfs: release upper nodes when reading stale btree node from diskfs/btrfs/ctree.c+19 -90 replies
3/4btrfs: update outdated comment for read_block_for_search()fs/btrfs/ctree.c+6 -50 replies
4/4btrfs: remove trivial wrapper btrfs_read_buffer()fs/btrfs/ctree.c fs/btrfs/disk-io.c fs/btrfs/disk-io.h +2 more+13 -200 replies

Reviews trailers per patch

None of the 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchJosef Bacik
SeriesR-b
1/4
2/4
3/4
4/4

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

Read the v1 thread

Cover letter [PATCH 0/4] btrfs: fix inefficiencies when reading extent buffers and some cleanups

From: Filipe Manana <[email protected]>

Fix a couple inefficiencies when reading an extent buffer while searching a btree plus a couple cleanups in the same area. Spotted while working on other stuff, but this is separate and independent enough to be in its own small patchset.

Filipe Manana (4):
btrfs: avoid unnecessary btree search restarts when reading node
btrfs: release upper nodes when reading stale btree node from disk
btrfs: update outdated comment for read_block_for_search()
btrfs: remove trivial wrapper btrfs_read_buffer()

 fs/btrfs/ctree.c    | 57 ++++++++++++++++++++++++++++++---------------
 fs/btrfs/disk-io.c  | 16 ++++---------
 fs/btrfs/disk-io.h  |  4 ++--
 fs/btrfs/qgroup.c   |  2 +-
 fs/btrfs/tree-log.c |  9 +++----
 5 files changed, 50 insertions(+), 38 deletions(-)
Signature · 1 line
2.33.0