aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorQu Wenruo <wqu@suse.com>2024-11-07 14:35:07 +1030
committerDavid Sterba <dsterba@suse.com>2025-01-13 14:53:15 +0100
commita883120b2d19630d3be56bc9649a71299ccbf95d (patch)
tree6e507ab65afaa41cb412bef01d94ffa1517a5c57 /tools/perf/scripts/python/export-to-postgresql.py
parentbtrfs: improve the warning and error message for btrfs_remove_qgroup() (diff)
downloadwireguard-linux-a883120b2d19630d3be56bc9649a71299ccbf95d.tar.xz
wireguard-linux-a883120b2d19630d3be56bc9649a71299ccbf95d.zip
btrfs: open-code btrfs_copy_from_user()
The function btrfs_copy_from_user() handles the folio dirtying for buffered write. The original design is to allow that function to handle multiple folios, but since commit c87c299776e4 ("btrfs: make buffered write to copy one page a time") there is no need to support multiple folios. So here open-code btrfs_copy_from_user() to copy_folio_from_iter_atomic() and flush_dcache_folio() calls. The short-copy check and revert are still kept as-is. 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