Sergey Senozhatsky
2014-Jun-24 15:00 UTC
[PATCH] btrfs compression: reuse recently used workspace
Hello, Whenever possible, find_workspace() returns the first idle workspace; and free_workspace() puts workspace to idle list tail. Put workspace to head of idle list instead. Hopefully, this will let to reuse most recently used workspace and avoid workspace->mem, ->buf, ->cbuf address translations. p.s. This patch is theoretical, no testing has been performed in order to support this patch. Sergey Senozhatsky (1): btrfs compression: reuse recently used workspace fs/btrfs/compression.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.0.0.548.ge727dec -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html