diff options
author | 2021-01-26 16:33:45 +0800 | |
---|---|---|
committer | 2021-02-08 22:59:01 +0100 | |
commit | 6869b0a8be775e920be54ee9b69a743ca20d8332 (patch) | |
tree | 659659446542261708a6591d4a0f88e718f5ed7c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | btrfs: make concurrent fsyncs wait less when waiting for a transaction commit (diff) | |
download | wireguard-linux-6869b0a8be775e920be54ee9b69a743ca20d8332.tar.xz wireguard-linux-6869b0a8be775e920be54ee9b69a743ca20d8332.zip |
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 <josef@toxicpanda.com>
Signed-off-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions