Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 01 May 1999 00:21:48 -0700
From:      David Greenman <dg@root.com>
To:        Andre Oppermann <oppermann@pipeline.ch>
Cc:        mjacob@feral.com, Greg Lehey <grog@lemis.com>, Brad Knowles <brad@shub-internet.org>, FreeBSD current users <FreeBSD-current@FreeBSD.ORG>
Subject:   Re: Porting Greg Lehey's rawio.c from FreeBSD to Linux... 
Message-ID:  <199905010721.AAA25403@implode.root.com>
In-Reply-To: Your message of "Sat, 01 May 1999 09:14:09 %2B0200." <372AA9C1.4ABC9C1B@pipeline.ch> 

next in thread | previous in thread | raw e-mail | index | archive | help
>Matthew Jacob wrote:
>> For raw pattern testing Linux has a special challenge since you right
>> directly into the buffer cache. There *is* a BLKFLSBUF ioctl that can try
>> and force a flush but this probably ought to be written to use O_FSYNC- I
>> think that the ll_rw code might use it or an fsync could be done...
>
>Linux' fsync() works only on directories, not on files.

   Huh? That doesn't make any sense. The "f" in fsync() stands for "file".

-DG

David Greenman
Co-founder/Principal Architect, The FreeBSD Project - http://www.freebsd.org
Creator of high-performance Internet servers - http://www.terasolutions.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199905010721.AAA25403>