diff options
| author | Jan Kara <[email protected]> | 2023-02-28 00:13:14 -0500 |
|---|---|---|
| committer | Theodore Ts'o <[email protected]> | 2023-03-23 10:06:07 -0400 |
| commit | c8e8e16dbbf0840e6f41575c3d6158bd331218bc (patch) | |
| tree | 982c6b05792d3971ceb92deab1405d4c27f10bc0 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 9462f770eda85b754e82b089d8a0d195fa160837 (diff) | |
ext4: Use nr_to_write directly in mpage_prepare_extent_to_map()
When looking up extent of pages to map in mpage_prepare_extent_to_map()
we count how many pages we still need to find in a copy of
wbc->nr_to_write counter. With more complex page handling for
data=journal mode, it will be easier to use wbc->nr_to_write directly so
that we don't forget to carry over changes back to nr_to_write counter.
Signed-off-by: Jan Kara <[email protected]>
Signed-off-by: Theodore Ts'o <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions