lvm2: enable option o_direct
PATCH 1/1 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 <[email protected]>
--- meta-oe/recipes-support/lvm2/lvm2.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-support/lvm2/lvm2.inc +1 -1
@@ -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 \
Signature · 1 line
2.7.4
Quoted 15 lines · Wenlin Kang
During some lvm operations, e.g, create many volumes, we notice a quite big degradation in performance with
o_directdisabled, 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(-)meta-oe/recipes-support/lvm2/lvm2.inc +0
-0
meta-oe/recipes-support/lvm2/lvm2.inc PACKAGECONFIG[thin-provisioning-tools] = "--with-thin=internal,--with-thin=none, · line 35
Quoted 8 lines
meta-oe/recipes-support/lvm2/lvm2.inc +1
-1@@ -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.
Signature · 2 lines
Thanks, Wenlin Kang