All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Łukasz Mierzwa" <prymitive@pcserwis.net>
To: "reiserfs-list@namesys.com" <reiserfs-list@namesys.com>
Subject: Re: any way to disable fsync?
Date: Wed, 12 Jul 2006 06:48:14 +0200	[thread overview]
Message-ID: <op.tcj7mozad4os1z@localhost> (raw)
In-Reply-To: <BAYC1-PASMTP0152E46B1E5184F223039DBF680@CEZ.ICE>

Dnia Wed, 12 Jul 2006 01:41:10 +0200, Toby Thain <toby@smartgames.ca>  
napisa³:

>
> On 11-Jul-06, at 5:57 PM, Valdis.Kletnieks@vt.edu wrote:
>
>> On Tue, 11 Jul 2006 23:03:12 +0200, =?iso-8859-2?B? 
>> o3VrYXN6IE1pZXJ6d2E=?= said:
>>> I got problem with apps that are calling fsync, it makes my hard drive
>>> flush like mad and it slows down things quite a lot.
>>
>> Several have posted how to bypass it.  I'll pose the opposite side:
>>
>> Usually, applications call fsync() because they're pretty sure that if
>> the disk and in-memory copies aren't lined up, a crash at that point  
>> could
>> result in data loss and/or corruption.
>>
>> So sqlite calls fsync() - probably because if it *doesn't*, and your
>> system crashes/reboots, you *will* lose that sqlite database.
>
> Absolutely; it's required for commit semantics. :-)
>
>>
>> Your data, your decision.
>

I know it's there to keep data integrity but what should I do when it  
makes some apps unusable? Becouse it really hurts amarok for me and  
without disabling it in sqlite code amarok I can't call it listening to  
music. I can always patch one or few apps and live with it but what if  
half of my apps will do it?
Anyway I'm goint to work now so I won't be having this problem for next 8  
hours.

      parent reply	other threads:[~2006-07-12  4:48 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-11 21:03 any way to disable fsync? Łukasz Mierzwa
2006-07-11 21:14 ` Jonathan Briggs
2006-07-11 21:42 ` Hans Reiser
2006-07-11 21:57 ` Valdis.Kletnieks
2006-07-11 23:41   ` Toby Thain
2006-07-11 23:41     ` Toby Thain
2006-07-12  0:04       ` Hans Reiser
2006-07-12  3:14         ` Valdis.Kletnieks
2006-07-12  5:47           ` Hans Reiser
2006-07-12  4:48       ` Łukasz Mierzwa [this message]

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=op.tcj7mozad4os1z@localhost \
    --to=prymitive@pcserwis.net \
    --cc=reiserfs-list@namesys.com \
    /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 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.