lkml.org 
[lkml]   [1999]   [Jul]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: weird ext2 sync behaviour
Hi,

On Mon, 5 Jul 1999 17:25:45 +0000 (GMT), "imel..."
<imel96@puspa.cs.ui.ac.id> said:

> so every new file has 'S' bit set, which is not what i
> want. i think i understand why the behaviour is but it's
> not right from "want to have metadata straight" pov.

The +S bit only applies to directory updates. If a directory has the +S
bit set then name updates in that directory are all synchronous. The
flag is inherited by subdirs. The fact that regular files inherit it
too doesn't matter: you still need to open(O_SYNC) explicitly to get
synchronous metadata updates for regular files.

--Stephen

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:52    [W:0.044 / U:1.720 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site