[CHECKER] sync, fsync and mount -o sync all not flush things out properly (hfsplus, 2.6.11)

Junfeng Yang <yjf-FGKo4X94FMn2fBVCVOL8/[email protected]> Sat, 12 Mar 2005 04:11:14 -0800 (PST)
Newsgroups gmane.linux.file-systems.hfsplus.devel,gmane.linux.kernel
Message-ID <[email protected]>
Hi,

We developed a file system checker called FiSC and recently applied it to
hfsplus.  It complains 3 things about hfsplus:

1. sync on hfsplus doesn't actually flush everything out.  Immediate crash
after sync still causes data-loss  (testcase:
http://fisc.stanford.edu/bug13/crash.c)

2. fsync on hfsplus doesn't actually flush out the file.
(http://fisc.stanford.edu/bug14/crash.c)

3. mount -o sync doesn't cause file system operations to be synchronous.
(http://fisc.stanford.edu/bug15/crash.c)

To reproduce these warnings, download the test case and run it.  You might
need to customize the test case according to your local settings.  Let me
know if you need any more information to reproduce the warnings.

Any confirmations/clarifications are appreciated.
-Junfeng



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click