diff options
| author | Matthew Wilcox (Oracle) <[email protected]> | 2024-02-15 07:36:43 +0100 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2024-02-23 17:48:36 -0800 |
| commit | 751e0d559c62a87dc828af22c3c58dc078c734e3 (patch) | |
| tree | 532b088cc1f4e64212b9ffdb389e35efc2a254d7 /tools/perf/scripts/python | |
| parent | b1793929b7dc17842a5e4377796b005d3efd61bc (diff) | |
writeback: factor writeback_get_batch() out of write_cache_pages()
This simple helper will be the basis of the writeback iterator. To make
this work, we need to remember the current index and end positions in
writeback_control.
[[email protected]: heavily rebased, add helpers to get the tag and end index, don't keep the end index in struct writeback_control]
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