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

From: Chris Mason
Date: Fri Mar 19 2004 - 15:59:41 EST


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.

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


-
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/