diff options
| author | Pavel Begunkov <[email protected]> | 2021-02-24 12:01:45 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2021-02-24 13:38:27 -0800 |
| commit | ab2125df921d991a3c8a4fdcfe617ef6cad6b484 (patch) | |
| tree | 162a4f8e7c945d4ec69f8c5272ef1baee99a43d2 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 1f7ef657740344541645349a8bece90cbff898f5 (diff) | |
mm/filemap: don't revert iter on -EIOCBQUEUED
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.
Link: https://lkml.kernel.org/r/f5247b60e7abbd2ff850cd108491f53a2e0c501a.1610207781.git.asml.silence@gmail.com
Signed-off-by: Pavel Begunkov <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Cc: Al Viro <[email protected]>
Cc: Jens Axboe <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions