On 2016年09月27日 17:45, Wenlin Kang wrote:
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 <[email protected]>
---
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 \
Please ignore this, I will re-send the new patch.
--
Thanks,
Wenlin Kang
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel