Re: fsync for only part of a file

Jason Thorpe <thorpej-DZEk9q7Sfju/3pe1ocb+swC/[email protected]> Sat, 13 Sep 2003 10:25:49 -0700
Newsgroups gmane.os.bsd.api.general
Message-ID <[email protected]>
On Saturday, September 13, 2003, at 10:23  AM, Gary Duzan wrote:

>    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

Looks like simply using the AIX API for this would be sensible.

Thanks for pointing it out :-)

         -- Jason R. Thorpe <thorpej-DZEk9q7Sfju/3pe1ocb+swC/[email protected]>


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