Re: [PATCH v7 14/24] btrfs: Convert from readpages to readahead

From: Johannes Thumshirn
Date: Thu Feb 20 2020 - 04:42:25 EST


On 19/02/2020 22:03, Matthew Wilcox wrote:
> From: "Matthew Wilcox (Oracle)" <willy@xxxxxxxxxxxxx>
>
> Use the new readahead operation in btrfs. Add a
> readahead_for_each_batch() iterator to optimise the loop in the XArray.


OK I must admit I haven't followed this series closely, but what
happened to said readahead_for_each_batch()?

As far as I can see it's now:

[...]
> + while ((nr = readahead_page_batch(rac, pagepool))) {