Re: [CHECKER] Does sys_sync (ext2, 2.6.x) flush metadata?

2005-02-11 Thread Bartlomiej Zolnierkiewicz
Hi, On Thu, 10 Feb 2005 23:59:53 -0800 (PST), Junfeng Yang <[EMAIL PROTECTED]> wrote: > > 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 an

Re: [CHECKER] Does sys_sync (ext2, 2.6.x) flush metadata?

2005-02-11 Thread Andi Kleen
Junfeng Yang <[EMAIL PROTECTED]> writes: > 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

Re: [CHECKER] Does sys_sync (ext2, 2.6.x) flush metadata?

2005-02-11 Thread Andrew Morton
Junfeng Yang <[EMAIL PROTECTED]> wrote: > > > 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.

[CHECKER] Does sys_sync (ext2, 2.6.x) flush metadata?

2005-02-11 Thread Junfeng Yang
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)