From 4b59be870e9e67f05e490532782f716dd82bd719 Mon Sep 17 00:00:00 2001 From: Thomas Schoebel-Theuer Date: Tue, 6 Aug 2013 13:01:09 +0200 Subject: [PATCH] copy: speedup by making overlap the default Since commit 62e2f5944ba, aio prevents races on the length of a transaction logfile. Thefore, we can safely enable IO parallelism at writes fired off by copy. The old behaviour was a serious IO bottleneck. --- kernel/mars_copy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/mars_copy.c b/kernel/mars_copy.c index 76380452..6587fd55 100644 --- a/kernel/mars_copy.c +++ b/kernel/mars_copy.c @@ -32,7 +32,7 @@ #include "mars_copy.h" -int mars_copy_overlap = 0; +int mars_copy_overlap = 1; EXPORT_SYMBOL_GPL(mars_copy_overlap); int mars_copy_read_prio = MARS_PRIO_NORMAL;