Re: [PATCH v1 03/14] mm: add noio support in filemap_get_pages

Matthew Wilcox
2022-02-14T20:57:39Z

On Mon, Feb 14, 2022 at 09:43:52AM -0800, Stefan Roesch wrote:
> This adds noio support for async buffered writes in filemap_get_pages.
> The idea is to handle the failure gracefully and return -EAGAIN if we
> can't get the memory quickly.

I don't understand why this helps you. filemap_get_pages() is for
reads, not writes.