Re: True fsync() in Linux (on IDE)

From: Hans Reiser
Date: Sat Mar 20 2004 - 06:05:11 EST


Chris Mason wrote:

On Fri, 2004-03-19 at 15:48, Hans Reiser wrote:


Chris Mason wrote:



and I was imprecise, I should have asked, does fsync flush the disk cache regardless of what mount options are set or data/metadata touched in the 2.6 patches?





Forgive my relentlessness, is the answer to the above yes?



Yes ;-) One goal of the 2.6 patches is to make it possible for higher
levels to easily insert flushes when needed. The reiserfs fsync and
ext3 fsync code will both do this.


will do it, or do do it?

I realized I wasn't clear about device mapper and md earlier, both need
extra work to aggregate the flushes down to the drives. They don't yet
support flushing.

-chris






Sounds like things are very much unfinished and you guys need more time before these patches are ready for inclusion. We need to get reiser4 to use this stuff. Zam, put that in your todo list.

--
Hans

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