diff options
author | Christoph Hellwig <[email protected]> | 2023-12-07 08:27:08 +0100 |
---|---|---|
committer | Christian Brauner <[email protected]> | 2024-02-01 14:20:13 +0100 |
commit | 410bb2ce611133a11d4d11f0aef4c83f095c3200 (patch) | |
tree | 6a3ccd2115cb922e594b078605f9d6df45862639 /tools/perf/scripts/python/Perf-Trace-Util/lib | |
parent | f525152a0f0ff34eb92b322703d76ba37095f556 (diff) |
iomap: submit ioends immediately
Currently the writeback code delays submitting fill ioends until we
reach the end of the folio. The reason for that is that otherwise
the end I/O handler could clear the writeback bit before we've even
finished submitting all I/O for the folio.
Add a bias to ifs->write_bytes_pending while we are submitting I/O
for a folio so that it never reaches zero until all I/O is completed
to prevent the early writeback bit clearing, and remove the now
superfluous submit_list.
Signed-off-by: Christoph Hellwig <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Darrick J. Wong <[email protected]>
Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib')
0 files changed, 0 insertions, 0 deletions