Re: statfs() / statvfs() syscall ballsup...

From: Joel Becker
Date: Fri Oct 10 2003 - 12:21:04 EST


On Fri, Oct 10, 2003 at 12:58:05PM -0400, Chris Friesen wrote:
> > Because you can't force flush/read. You can't say "I need you
> >to go to disk for this."
>
> According to my man pages, this is exactly what msync() is for, no?

msync() forces write(), like fsync(). It doesn't force read().

Joel

--

"Get right to the heart of matters.
It's the heart that matters more."

Joel Becker
Senior Member of Technical Staff
Oracle Corporation
E-mail: joel.becker@xxxxxxxxxx
Phone: (650) 506-8127
-
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/