summaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2023-12-07 10:27:08 +0300
committerChristian Brauner <brauner@kernel.org>2024-02-01 16:20:13 +0300
commit410bb2ce611133a11d4d11f0aef4c83f095c3200 (patch)
tree6a3ccd2115cb922e594b078605f9d6df45862639 /scripts/generate_rust_analyzer.py
parentf525152a0f0ff34eb92b322703d76ba37095f556 (diff)
downloadlinux-410bb2ce611133a11d4d11f0aef4c83f095c3200.tar.xz
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 <hch@lst.de> Link: https://lore.kernel.org/r/20231207072710.176093-13-hch@lst.de Reviewed-by: Darrick J. Wong <djwong@kernel.org> Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions