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

Johannes Thumshirn Johannes.Thumshirn at wdc.com
Thu Feb 20 20:42:19 AEDT 2020


On 19/02/2020 22:03, Matthew Wilcox wrote:
> From: "Matthew Wilcox (Oracle)" <willy at infradead.org>
> 
> 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))) {




More information about the Linux-erofs mailing list