lkml.org 
[lkml]   [2000]   [Nov]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Linux-2.4.0-test10
Date
Followup to:  <20001104194937.E3423@wonderland.linux.it>
By author: "Marco d'Itri" <md@Linux.IT>
In newsgroup: linux.dev.kernel
>
> On Nov 02, "Stephen C. Tweedie" <sct@redhat.com> wrote:
>
> >2.2 O_SYNC is actually broken too --- it doesn't sync all metadata (in
> >particular, it doesn't update the inode), but I'd rather fix that for
> >2.4 rather than change 2.2, as the main users of O_SYNC, databases,
> >are writing to preallocated files anyway.
> What about fsync(2)? Will it update metadata too?
>

It better. fdatasync(), if implemented, is allowed to skip that
requirement.

-hpa
--
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:45    [W:0.093 / U:7.876 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site