Re: fsync for only part of a file
Andrew Brown <[email protected]> Sun, 14 Sep 2003 12:46:10 -0400
| Newsgroups | gmane.os.bsd.api.general |
|---|---|
| Message-ID | <[email protected]> |
On Sat, Sep 13, 2003 at 10:25:49AM -0700, Jason Thorpe wrote: >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 :-) and the lseek()-like whence argument that was suggested could easily be folded into the flags here, since they're only using one bit. :) -- |-----< "CODE WARRIOR" >-----| [email protected] * "ah! i see you have the internet twofsonet-X5LO1RRdYLVWk0Htik3J/[email protected] (Andrew Brown) that goes *ping*!" werdna-aTR67+QfzahWk0Htik3J/[email protected] * "information is power -- share the wealth." --------------------------------------------------------------------- The BSD APIs Discussion Mailing List To unsubscribe: send "unsubscribe bsd-api-discuss" to majordomo-of7zbby7T3pWk0Htik3J/[email protected]