All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe][PATCH] lvm2: enable option o_direct
@ 2016-09-28  5:39 Wenlin Kang
  0 siblings, 0 replies; 3+ messages in thread
From: Wenlin Kang @ 2016-09-28  5:39 UTC (permalink / raw)
  To: openembedded-devel

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@windriver.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 \
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [meta-oe][PATCH] lvm2: enable option o_direct
  2016-09-27  9:45 Wenlin Kang
@ 2016-09-28  5:17 ` Wenlin Kang
  0 siblings, 0 replies; 3+ messages in thread
From: Wenlin Kang @ 2016-09-28  5:17 UTC (permalink / raw)
  To: openembedded-devel

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@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



^ permalink raw reply	[flat|nested] 3+ messages in thread

* [meta-oe][PATCH] lvm2: enable option o_direct
@ 2016-09-27  9:45 Wenlin Kang
  2016-09-28  5:17 ` Wenlin Kang
  0 siblings, 1 reply; 3+ messages in thread
From: Wenlin Kang @ 2016-09-27  9:45 UTC (permalink / raw)
  To: openembedded-devel

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@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



^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-09-28  5:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-28  5:39 [meta-oe][PATCH] lvm2: enable option o_direct Wenlin Kang
  -- strict thread matches above, loose matches on Subject: below --
2016-09-27  9:45 Wenlin Kang
2016-09-28  5:17 ` Wenlin Kang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.