From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] sqlite: add option to disable fsync
Date: Thu, 11 Sep 2014 23:53:12 +0200 [thread overview]
Message-ID: <20140911235312.215338f2@free-electrons.com> (raw)
In-Reply-To: <1410450212-30718-2-git-send-email-bos@je-eigen-domein.nl>
Dear Floris Bos,
On Thu, 11 Sep 2014 17:43:32 +0200, Floris Bos wrote:
> For use-cases in which performance is more important than data integrity.
>
> Signed-off-by: Floris Bos <bos@je-eigen-domein.nl>
> ---
> package/sqlite/Config.in | 8 ++++++++
> package/sqlite/sqlite.mk | 4 ++++
> 2 files changed, 12 insertions(+)
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Only one small nitpick below, which can probably be fixed when Peter
applies the patch.
>
> diff --git a/package/sqlite/Config.in b/package/sqlite/Config.in
> index fe6cc08..298f1ca 100644
> --- a/package/sqlite/Config.in
> +++ b/package/sqlite/Config.in
> @@ -53,4 +53,12 @@ config BR2_PACKAGE_SQLITE_SECURE_DELETE
> http://www.sqlite.org/pragma.html#pragma_secure_delete
> for additional information.
>
> +config BR2_PACKAGE_SQLITE_NO_SYNC
> + bool "Disable fsync"
> + help
> + By default SQLite forces all database transactions to storage
> + immediately using fsync() to protect against data loss in case
> + of power failure.
> + This option turns this behavior off resulting in higher performance
> + especially when using slow flash storage.
> endif
Missing new line before "endif".
Thanks,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
next prev parent reply other threads:[~2014-09-11 21:53 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-11 15:43 [Buildroot] [PATCH 1/1] dropbear: add extra build customization options Floris Bos
2014-09-11 15:43 ` [Buildroot] [PATCH 1/1] sqlite: add option to disable fsync Floris Bos
2014-09-11 21:53 ` Thomas Petazzoni [this message]
2014-09-13 21:51 ` Peter Korsgaard
2015-02-03 14:04 ` [Buildroot] [PATCH 1/1] dropbear: add extra build customization options Thomas Petazzoni
2015-02-03 17:53 ` Floris Bos
2015-02-03 19:30 ` Thomas Petazzoni
2015-02-04 15:35 ` Floris Bos
2015-02-04 15:40 ` Thomas Petazzoni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140911235312.215338f2@free-electrons.com \
--to=thomas.petazzoni@free-electrons.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox