diff options
| author | Christoph Hellwig <hch@lst.de> | 2024-02-15 07:36:40 +0100 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2024-02-23 17:48:36 -0800 |
| commit | 5d899d43ed293b854fa4f6adc3138fd6fa12aecf (patch) | |
| tree | 78a5b857337df6ae10b3cb45cb1acb35c485ba59 /tools/perf/scripts/python/bin/export-to-sqlite-record | |
| parent | writeback: also update wbc->nr_to_write on writeback failure (diff) | |
| download | linux-5d899d43ed293b854fa4f6adc3138fd6fa12aecf.tar.gz linux-5d899d43ed293b854fa4f6adc3138fd6fa12aecf.zip | |
writeback: only update ->writeback_index for range_cyclic writeback
mapping->writeback_index is only [1] used as the starting point for
range_cyclic writeback, so there is no point in updating it for other
types of writeback.
[1] except for btrfs_defrag_file which does really odd things with
mapping->writeback_index. But btrfs doesn't use write_cache_pages at all,
so this isn't relevant here.
Link: https://lkml.kernel.org/r/20240215063649.2164017-6-hch@lst.de
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>
Cc: "Matthew Wilcox (Oracle)" <willy@infradead.org>
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
