diff options
| author | Matthew Wilcox (Oracle) <[email protected]> | 2024-02-15 07:36:42 +0100 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2024-02-23 17:48:36 -0800 |
| commit | b1793929b7dc17842a5e4377796b005d3efd61bc (patch) | |
| tree | cd6784ec220ef5e3121ee6a8c5fe56d6c5ac26c1 /tools/perf/scripts/python | |
| parent | f946e0d22e22813ef78af000486d1d7332cf14e4 (diff) | |
writeback: factor folio_prepare_writeback() out of write_cache_pages()
Reduce write_cache_pages() by about 30 lines; much of it is commentary,
but it all bundles nicely into an obvious function.
[[email protected]: rename should_writeback_folio to folio_prepare_writeback per Jan]
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Matthew Wilcox (Oracle) <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Brian Foster <[email protected]>
Reviewed-by: Jan Kara <[email protected]>
Acked-by: Dave Chinner <[email protected]>
Cc: Christian Brauner <[email protected]>
Cc: David Howells <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions