diff options
| author | Christoph Hellwig <[email protected]> | 2023-05-31 08:04:50 +0200 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2023-06-19 13:59:34 +0200 |
| commit | 36614a3beba33a05ad78d4dcb9aa1d00e8a7d01f (patch) | |
| tree | 2cbf0230f1705d9dec2565d81206402853a6d53c /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 5cead5422a0e3d13b0bcee986c0f5c4ebb94100b (diff) | |
btrfs: fix range_end calculation in extent_write_locked_range
The range_end field in struct writeback_control is inclusive, just like
the end parameter passed to extent_write_locked_range. Not doing this
could cause extra writeout, which is harmless but suboptimal.
Fixes: 771ed689d2cd ("Btrfs: Optimize compressed writeback and reads")
CC: [email protected] # 5.9+
Reviewed-by: Josef Bacik <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions