diff options
| author | Qu Wenruo <wqu@suse.com> | 2025-03-17 17:40:47 +1030 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2025-05-15 14:30:42 +0200 |
| commit | a4a636a43741c2706868fb97dff9a83d398ac9e3 (patch) | |
| tree | 10e0889e74c1e914e5a63413ebd980fe3a5525f0 /tools/perf/scripts/python | |
| parent | btrfs: send: remove the again label inside put_file_data() (diff) | |
| download | linux-a4a636a43741c2706868fb97dff9a83d398ac9e3.tar.gz linux-a4a636a43741c2706868fb97dff9a83d398ac9e3.zip | |
btrfs: send: prepare put_file_data() for large data folios
Currently put_file_data() can only accept a page sized folio. However
the function itself is not that complex, it's just copying data from
filemap folio into the send buffer.
Make it support large data folios:
- Change the loop to use file offset instead of page index
- Calculate @pg_offset and @cur_len after getting the folio
- Remove the "WARN_ON(folio_order(folio));" line
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')
0 files changed, 0 insertions, 0 deletions
