[oe] [meta-oe][PATCH] lvm2: enable option o_direct
Wenlin Kang
wenlin.kang at windriver.com
Tue Sep 27 09:45:02 UTC 2016
During some lvm operations, e.g, create many volumes, we notice
a quite big degradation in performance with o_direct disabled,
if enabled the performance get much better, so, here we should
enable this option.
Signed-off-by: Wenlin Kang <wenlin.kang at windriver.com>
---
meta-oe/recipes-support/lvm2/lvm2.inc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta-oe/recipes-support/lvm2/lvm2.inc b/meta-oe/recipes-support/lvm2/lvm2.inc
index d66daf8..c6d91b0 100644
--- a/meta-oe/recipes-support/lvm2/lvm2.inc
+++ b/meta-oe/recipes-support/lvm2/lvm2.inc
@@ -29,7 +29,7 @@ PACKAGECONFIG[thin-provisioning-tools] = "--with-thin=internal,--with-thin=none,
# Unset user/group to unbreak install.
EXTRA_OECONF = "--with-user= \
--with-group= \
- --disable-o_direct \
+ --enable-o_direct \
--enable-realtime \
--enable-applib \
--enable-cmdlib \
--
2.7.4
More information about the Openembedded-devel
mailing list