Re: fsync for only part of a file

Gary Duzan <[email protected]> Sat, 13 Sep 2003 13:23:00 -0400
Newsgroups gmane.os.bsd.api.general
Message-ID <[email protected]>
In Message <3AEA168C-E609-11D7-9312-000A957650EC-DZEk9q7Sfju/3pe1ocb+swC/[email protected]> ,
   Jason Thorpe <thorpej-DZEk9q7Sfju/3pe1ocb+swC/[email protected]> wrote:

=>
=>On Saturday, September 13, 2003, at 09:35  AM, Perry E. Metzger wrote:
=>
=>> fsyncreg (for region).
=>
=>fsyncreg() is a pretty counter-intuitive name.  fsync_range() would be 
=>a lot better than fsyncreg().

   FWIW, AIX has fsync_range(int, int, off_t, off_t). The second
int specifies whether to sync all the data or just the metadata
for the range.

http://publib16.boulder.ibm.com/pseries/en_US/libs/basetrf1/fsync.htm

					Gary D. Duzan



---------------------------------------------------------------------
The BSD APIs Discussion Mailing List
To unsubscribe:
send "unsubscribe bsd-api-discuss" to majordomo-of7zbby7T3pWk0Htik3J/[email protected]