Re: [PATCH 05/11] btrfs: add helper methods for workspace manager init and cleanup

From: Nikolay Borisov
Date: Tue Jan 29 2019 - 02:58:37 EST




On 28.01.19 Ð. 23:24 Ñ., Dennis Zhou wrote:
> Workspace manager init and cleanup code is open coded inside a for loop
> over the compression types. This forces each compression type to rely on
> the same workspace manager implementation. This patch creates helper
> methods that will be the generic implementation for btrfs workspace
> management.
>
> Signed-off-by: Dennis Zhou <dennis@xxxxxxxxxx>

Reviewed-by: Nikolay Borisov <nborisov@xxxxxxxx>