diff options
| author | Qu Wenruo <[email protected]> | 2021-01-26 16:33:45 +0800 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2021-02-08 22:59:01 +0100 |
| commit | 6869b0a8be775e920be54ee9b69a743ca20d8332 (patch) | |
| tree | 659659446542261708a6591d4a0f88e718f5ed7c /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | d0c2f4fa555e70324ec2a129b822ab58f172cc62 (diff) | |
btrfs: merge PAGE_CLEAR_DIRTY and PAGE_SET_WRITEBACK to PAGE_START_WRITEBACK
PAGE_CLEAR_DIRTY and PAGE_SET_WRITEBACK are two defines used in
__process_pages_contig(), to let the function know to clear page dirty
bit and then set page writeback.
However page writeback and dirty bits are conflicting (at least for
sector size == PAGE_SIZE case), this means these two have to be always
updated together.
This means we can merge PAGE_CLEAR_DIRTY and PAGE_SET_WRITEBACK to
PAGE_START_WRITEBACK.
Reviewed-by: Josef Bacik <[email protected]>
Signed-off-by: Qu Wenruo <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions