[oe] [meta-oe][PATCH] lvm2: enable option o_direct
Wenlin Kang
wenlin.kang at windriver.com
Wed Sep 28 05:17:06 UTC 2016
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 <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 \
Please ignore this, I will re-send the new patch.
--
Thanks,
Wenlin Kang
More information about the Openembedded-devel
mailing list