diff options
author | 2019-02-04 15:20:03 -0500 | |
---|---|---|
committer | 2019-02-25 14:13:32 +0100 | |
commit | 92ee55303616a18135be91deff51799a5de81f9a (patch) | |
tree | 0a0ae5969e1992e5693fa6d90d30ae9c54b94b6d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | btrfs: add compression interface in (get/put)_workspace (diff) | |
download | linux-dev-92ee55303616a18135be91deff51799a5de81f9a.tar.xz linux-dev-92ee55303616a18135be91deff51799a5de81f9a.zip |
btrfs: move to function pointers for get/put workspaces
The previous patch added generic helpers for get_workspace() and
put_workspace(). Now, we can migrate ownership of the workspace_manager
to be in the compression type code as the compression code itself
doesn't care beyond being able to get a workspace. The init/cleanup and
get/put methods are abstracted so each compression algorithm can decide
how they want to manage their workspaces.
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Dennis Zhou <dennis@kernel.org>
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