public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [CHECKER] Do ext2, jfs and reiserfs respect mount -o sync/dirsync option?
@ 2005-03-04  6:33 Junfeng Yang
  2005-03-04  7:16 ` Matt Mackall
                   ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: Junfeng Yang @ 2005-03-04  6:33 UTC (permalink / raw)
  To: Linux Kernel Mailing List, ext2-devel, jfs-discussion, reiser; +Cc: mc


Hi,

FiSC (our file system checker) emits several warnings on ext2, jfs and
reiserfs, complaining that diretories or files are lost while FiSC
believes they should already be persistent on disk. (ext3 behaves
correctly.)

All warnings boil down to a single cause:  when these file systems are
mounted -o sync or dirsync, dirty blocks are still written out
asynchronously.  It appears to me that these mount options don't have any
effect on these file systems.  Is this the intended behavior?

man mount shows:

              sync   All  I/O to the file system should be done
synchronously.

              dirsync
                     All directory updates within the file  system  should
be
                     done  synchronously.   This  affects the following
system
                     calls: creat, link, unlink, symlink, mkdir, rmdir,
mknod
                     and rename.

Any clafirication on this would be very helpful,

-Junfeng


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2005-03-19 22:35 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-04  6:33 [CHECKER] Do ext2, jfs and reiserfs respect mount -o sync/dirsync option? Junfeng Yang
2005-03-04  7:16 ` Matt Mackall
2005-03-04  7:34 ` Jan Engelhardt
2005-03-04  8:01   ` Junfeng Yang
2005-03-07 17:29   ` Alan Cox
2005-03-07 22:29     ` Junfeng Yang
2005-03-04  8:43 ` [MC] " Junfeng Yang
2005-03-04  9:11   ` Andrew Morton
2005-03-04  9:44     ` Junfeng Yang
2005-03-04 10:27       ` Lars Marowsky-Bree
2005-03-04 11:20         ` Andrew Morton
2005-03-04 23:03           ` Junfeng Yang
2005-03-04 23:29             ` Andrew Morton
2005-03-08  0:31             ` Bernd Eckenfels
2005-03-19 22:34               ` Florian Weimer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox