diff options
| author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2024-02-15 07:36:43 +0100 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2024-02-23 17:48:36 -0800 |
| commit | 751e0d559c62a87dc828af22c3c58dc078c734e3 (patch) | |
| tree | 532b088cc1f4e64212b9ffdb389e35efc2a254d7 /tools/perf/scripts/python/bin/export-to-sqlite-record | |
| parent | writeback: factor folio_prepare_writeback() out of write_cache_pages() (diff) | |
| download | linux-751e0d559c62a87dc828af22c3c58dc078c734e3.tar.gz linux-751e0d559c62a87dc828af22c3c58dc078c734e3.zip | |
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.
[hch@lst.de: 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/20240215063649.2164017-9-hch@lst.de
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Acked-by: Dave Chinner <dchinner@redhat.com>
Cc: Christian Brauner <brauner@kernel.org>
Cc: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-sqlite-record')
0 files changed, 0 insertions, 0 deletions
