lkml.org 
[lkml]   [2005]   [Feb]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
DateThu, 10 Feb 2005 23:59:53 -0800 (PST)
FromJunfeng Yang <>
Subject[CHECKER] Does sys_sync (ext2, 2.6.x) flush metadata?

Hi,

We're working on a file system checker and have a question regarding what
sys_sync actually does. It appears to us that sys_sync should sync both
data and metadata, and wait until both data and metadata hit the disk
before it returns. Is this true for all the file systems (especially
ext2) for kernel 2.6.x? I've gotten many "error" traces for ext2, where
directory entries are not flushed to disk after sys_sync. In other words,
even if users do call sys_sync, a crash after sys_sync call can still
cause file losses. Is this intended?

Thanks,
-Junfeng

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

\
 
 \ /
  Last update: 2005-03-22 14:10    [from the cache]
©2003-2010