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(-) -- 1.8.5.1 -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html