lkml.org 
[lkml]   [2011]   [May]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [rfc] Ignore Fsync Calls in Laptop_Mode
From
Date
On Mon, 30 May 2011 09:13:27 +0200, Oliver Neukum said:
> Am Montag, 30. Mai 2011, 03:53:18 schrieb david@lang.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().
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2011-05-30 14:59    [W:0.166 / U:0.312 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site