Re: fsync for only part of a file

Alan Barrett <[email protected]> Sat, 13 Sep 2003 19:20:18 +0200
Newsgroups gmane.os.bsd.api.general
Message-ID <[email protected]>
On Fri, 12 Sep 2003, wrstuden-DZEk9q7Sfju/3pe1ocb+swC/[email protected] wrote:
> I'd like to add a version of fsync(2) which only synchronizes part of the
> on disk and in-core data of a file. I am soliciting input on the name of
> this call, and the general format of the functionality.

This looks more like a variant of fdatasync() than a variant of fsync().

I suggest calling it fdatasync_region().

--apb (Alan Barrett)

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