btrfs compression: reuse recently used workspace
Add compression `workspace' in free_workspace() to `idle_workspace' list head, instead of tail. So we have better chances to reuse most recently used `workspace'. Signed-off-by:Sergey Senozhatsky <sergey.senozhatsky@gmail.com> Reviewed-by:
David Sterba <dsterba@suse.cz> Signed-off-by:
Chris Mason <clm@fb.com>
Showing
Please register or sign in to comment