AsyncIO.fsync

Issues a fsync request, blocking the fiber connected to the provided suspended_job until the request finishes.

Synchronize a file's in-core state with storage device.

class AsyncIO
void
fsync

Parameters

fd int

file descriptor to perform fsync on

suspended_job JobNotification

JobNotification instance to block the fiber on

Throws

ErrnoException with appropriate errno set in the case of failure

Meta