isflush

flush all updates to disk

SYNOPSIS

int isflush( int isfd );

isfd isam file identifier

RETURN

SUCCESS, or a negative value on error, in which case the error code is found in iserrno

NOTES

isflush calls fsync(2) on both the index and data files, which instructs the system to flush all cached updates.

isflush will not return until all data has been written.

if supported by your compiler, fdatasync(2) is used, which does not flush non essential meta data such as file access and modification times, for better performance.