btrfs: unify compression ops with workspace_manager
authorDennis Zhou <dennis@kernel.org>
Mon, 4 Feb 2019 20:20:00 +0000 (15:20 -0500)
committerDavid Sterba <dsterba@suse.com>
Mon, 25 Feb 2019 13:13:31 +0000 (14:13 +0100)
commit10b94a51cafb28d47ee6912248ed698c9ac183be
treee8ebc376e669220ab6eff57ddcf94ef260cf5d69
parentca4ac360af94964906149efe166453ac83ae7c43
btrfs: unify compression ops with workspace_manager

Make the workspace_manager own the interface operations rather than
managing index-paired arrays for the workspace_manager and compression
operations.

Reviewed-by: Nikolay Borisov <nborisov@suse.com>
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>
fs/btrfs/compression.c