diff options
| author | Christoph Hellwig <[email protected]> | 2024-02-15 07:36:40 +0100 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2024-02-23 17:48:36 -0800 |
| commit | 5d899d43ed293b854fa4f6adc3138fd6fa12aecf (patch) | |
| tree | 78a5b857337df6ae10b3cb45cb1acb35c485ba59 /tools/perf/scripts/python | |
| parent | 9810325854a31cdba9917674201616d748178161 (diff) | |
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/[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]>
Cc: "Matthew Wilcox (Oracle)" <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions