aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorFilipe Manana <fdmanana@suse.com>2021-09-16 11:32:12 +0100
committerDavid Sterba <dsterba@suse.com>2021-10-26 19:08:02 +0200
commiteb10d85ee77f09e5f77aeafd58765cad1e11fb59 (patch)
treef05cf22b7b554f783ab03186e2490098fc5579d9 /tools/perf/scripts/python/export-to-postgresql.py
parentbtrfs: remove redundant log root assignment from log_dir_items() (diff)
downloadwireguard-linux-eb10d85ee77f09e5f77aeafd58765cad1e11fb59.tar.xz
wireguard-linux-eb10d85ee77f09e5f77aeafd58765cad1e11fb59.zip
btrfs: factor out the copying loop of dir items from log_dir_items()
In preparation for the next change, move the loop that processes a leaf and copies its directory items to the log, into a separate helper function. This makes the next change simpler and it also helps making log_dir_items() a bit shorter (specially after the next change). This patch is part of a patchset comprised of the following 5 patches: btrfs: remove root argument from btrfs_log_inode() and its callees btrfs: remove redundant log root assignment from log_dir_items() btrfs: factor out the copying loop of dir items from log_dir_items() btrfs: insert items in batches when logging a directory when possible btrfs: keep track of the last logged keys when logging a directory This is patch 3/5. The change log of the last patch (5/5) has performance results. Signed-off-by: Filipe Manana <fdmanana@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