diff options
| author | Shawn Bohrer <[email protected]> | 2012-01-10 15:07:35 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2012-01-10 16:30:43 -0800 |
| commit | ad8a1b558e6c76fb53901956d3c8f29b82a4ccfa (patch) | |
| tree | 48eae18bf9392cf373adb296301ccf02301da3f1 /tools/perf/scripts/python/check-perf-trace.py | |
| parent | fc8d8620d39dbbaf412b1b9247d77d196d92adb9 (diff) | |
fadvise: only initiate writeback for specified range with FADV_DONTNEED
Previously POSIX_FADV_DONTNEED would start writeback for the entire file
when the bdi was not write congested. This negatively impacts performance
if the file contains dirty pages outside of the requested range. This
change uses __filemap_fdatawrite_range() to only initiate writeback for
the requested range.
Signed-off-by: Shawn Bohrer <[email protected]>
Acked-by: Johannes Weiner <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions