Re: [PATCH] mm/filemap: don't revert iter on -EIOCBQUEUED

From: Christoph Hellwig
Date: Mon Jan 11 2021 - 03:06:33 EST


On Sat, Jan 09, 2021 at 04:00:32PM +0000, Pavel Begunkov wrote:
> Currently, if I/O is enqueued for async execution direct paths of
> generic_file_{read,write}_iter() will always revert the iter. There are
> no users expecting that, and that is also costly. Leave iterators as is
> on -EIOCBQUEUED.

Looks good,

Reviewed-by: Christoph Hellwig <hch@xxxxxx>