Patchwork [1/2] berkeleydb: use O_DIRECT

login
register
mail settings
Submitter Gustavo Zacarias
Date April 25, 2012, 2:30 p.m.
Message ID <1335364233-21057-1-git-send-email-gustavo@zacarias.com.ar>
Download mbox | patch
Permalink /patch/154959/
State Accepted
Commit 9f160affcc78e8e503d1e0d082b10f8c6209fed1
Headers show

Comments

Gustavo Zacarias - April 25, 2012, 2:30 p.m.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 package/berkeleydb/berkeleydb.mk |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
Peter Korsgaard - April 25, 2012, 2:45 p.m.
>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:

 Gustavo> Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>

Committed both, thanks.

Patch

diff --git a/package/berkeleydb/berkeleydb.mk b/package/berkeleydb/berkeleydb.mk
index bb3fd5d..b2b0a45 100644
--- a/package/berkeleydb/berkeleydb.mk
+++ b/package/berkeleydb/berkeleydb.mk
@@ -28,6 +28,7 @@  define BERKELEYDB_CONFIGURE_CMDS
 		--disable-compat185 \
 		$(SHARED_STATIC_LIBS_OPTS) \
 		--with-pic \
+		--enable-o_direct \
 	)
 	$(SED) 's/\.lo/.o/g' $(@D)/build_unix/Makefile
 endef