diff options
author | Qu Wenruo <wqu@suse.com> | 2021-07-26 14:34:56 +0800 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2021-08-23 13:19:04 +0200 |
commit | f47960f49e59b9d77bd2919c3513dbbe088c3908 (patch) | |
tree | 1fb578a1fb0b8dbceaa755f12bea0e86f34e00f3 /tools/perf/scripts/python/syscall-counts.py | |
parent | a6e66e6f8c1b685e11b778bef614480a9c1a5278 (diff) |
btrfs: reloc: factor out relocation page read and dirty part
In function relocate_file_extent_cluster(), we have a big loop for
marking all involved page delalloc.
That part is long enough to be contained in one function, so this patch
will move that code chunk into a new function, relocate_one_page().
This also provides enough space for later subpage work.
Signed-off-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions