[oe-commits] [meta-openembedded] 46/66: lvm2: enable option o_direct

git at git.openembedded.org git at git.openembedded.org
Mon Oct 3 17:32:01 UTC 2016


martin_jansa pushed a commit to branch master-next
in repository meta-openembedded.

commit 2f0a2956b51aec762ca4c84692a474372b13bc07
Author: Wenlin Kang <wenlin.kang at windriver.com>
AuthorDate: Tue Sep 27 17:45:02 2016 +0800

    lvm2: enable option o_direct
    
    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>
    Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
 meta-oe/recipes-support/lvm2/lvm2.inc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta-oe/recipes-support/lvm2/lvm2.inc b/meta-oe/recipes-support/lvm2/lvm2.inc
index d66daf8..74b7211 100644
--- a/meta-oe/recipes-support/lvm2/lvm2.inc
+++ b/meta-oe/recipes-support/lvm2/lvm2.inc
@@ -20,16 +20,17 @@ inherit autotools-brokensep pkgconfig systemd
 
 PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)} \
                    thin-provisioning-tools \
+                   odirect \
 "
 
 PACKAGECONFIG[readline] = "--enable-readline,--disable-readline,readline"
 PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux"
 PACKAGECONFIG[thin-provisioning-tools] = "--with-thin=internal,--with-thin=none,,thin-provisioning-tools"
+PACKAGECONFIG[odirect] = "--enable-o_direct,--disable-o_direct"
 
 # Unset user/group to unbreak install.
 EXTRA_OECONF = "--with-user= \
                 --with-group= \
-                --disable-o_direct \
                 --enable-realtime \
                 --enable-applib \
                 --enable-cmdlib \

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list