[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.02.1105301102110.5766@asgard.lang.hm>
Date: Mon, 30 May 2011 11:03:10 -0700 (PDT)
From: david@...g.hm
To: Valdis.Kletnieks@...edu
cc: Oliver Neukum <oneukum@...e.de>,
"D. Jansen" <d.g.jansen@...glemail.com>,
Theodore Tso <tytso@....edu>, akpm@...ux-foundation.org,
linux-kernel@...r.kernel.org, Dave Chinner <david@...morbit.com>,
njs@...ox.com, bart@...wel.tk
Subject: Re: [rfc] Ignore Fsync Calls in Laptop_Mode
On Mon, 30 May 2011, Valdis.Kletnieks@...edu wrote:
> On Mon, 30 May 2011 09:13:27 +0200, Oliver Neukum said:
>> Am Montag, 30. Mai 2011, 03:53:18 schrieb david@...g.hm:
>
>>> if what you are wanting is the ability to say 'these things must be
>>> written before these other things to keep them from being corrupted, but I
>>> don't care when they get written (or if they get lost in a crash)' then
>>> what you want isn't fsync, it's a barrier.
>>
>> Yes, but where is the problem?
>
> The problem is that *from userspace*, the closest approximation to a barrier
> is fsync().
good point, there really should be some way of doing a barrier from
userspace.
David Lang
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists