Skip to content

btrfs: reada: Avoid many times of empty loop

Zhao Lei linux-btrfs 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10btrfs: reada: Avoid many times of empty loopfs/btrfs/reada.c+1 -10 replies
2/10btrfs: reada: Move is_need_to_readahead contition earlierfs/btrfs/reada.c+9 -110 replies
3/10btrfs: reada: add all reachable mirrors into reada device listfs/btrfs/reada.c+9 -110 replies
4/10btrfs: reada: bypass adding extent when all zone failedfs/btrfs/reada.c+5 -00 replies
5/10btrfs: reada: Remove level argument in severial functionsfs/btrfs/reada.c+6 -90 replies
6/10btrfs: reada: move reada_extent_put to place after __readahead_hook()fs/btrfs/reada.c+2 -20 replies
7/10btrfs: reada: Pass reada_extent into __readahead_hook directlyfs/btrfs/reada.c+24 -210 replies
8/10btrfs: reada: Use fs_info instead of root in __readahead_hook's argumentfs/btrfs/ctree.h fs/btrfs/disk-io.c fs/btrfs/reada.c+24 -250 replies
9/10btrfs: reada: Jump into cleanup in direct way for __readahead_hook()fs/btrfs/reada.c+21 -190 replies
10/10btrfs: reada: Fix a debug code typofs/btrfs/reada.c+3 -80 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/10] btrfs: reada: Avoid many times of empty loop

This is some cleanup, bugfix and enhance for reada, tested by a script running scrub and relatice trace log.

Zhao Lei (10):
btrfs: reada: Avoid many times of empty loop
btrfs: reada: Move is_need_to_readahead contition earlier
btrfs: reada: add all reachable mirrors into reada device list
btrfs: reada: bypass adding extent when all zone failed
btrfs: reada: Remove level argument in severial functions
btrfs: reada: move reada_extent_put() to place after

    __readahead_hook()

btrfs: reada: Pass reada_extent into __readahead_hook() directly
btrfs: reada: Use fs_info instead of root in __readahead_hook's
argument
btrfs: reada: Jump into cleanup in direct way for __readahead_hook()
btrfs: reada: Fix a debug code typo

 fs/btrfs/ctree.h   |   4 +-
 fs/btrfs/disk-io.c |  22 +++----
 fs/btrfs/reada.c   | 173 ++++++++++++++++++++++++++---------------------------
 3 files changed, 98 insertions(+), 101 deletions(-)
Signature · 1 line
1.8.5.1