Subject: Re: File system performance on i386
To: David Brownlee <abs@netbsd.org>
From: Christoph Hellwig <chhellwig@gmx.net>
List: tech-perform
Date: 02/25/2001 17:35:30
On Fri, Feb 23, 2001 at 07:18:03PM +0000, David Brownlee wrote:
> 
> 	For important data the program has the option of using fsync(),
> 	IIRC this doesn't do anything on ext2fs under linux, which was
> 	an unpleasant surprise.

Look at the source - the ext2 fsync traverses a double linked list of dirty
buffers, schedules an IO on them and wait until it is finished - exactly
what fsync() should do.

	Christoph

-- 
Whip me.  Beat me.  Make me maintain AIX.