gfs_pio_sync
output a file's data on memroy to disk
- Provided by: libgfarm-dev (Version: 2.7.20+dfsg-1.1ubuntu1)
- Source: gfarm
- Report a bug
output a file's data on memroy to disk
#include <gfarm/gfarm.h>
gfarm_error_t gfs_pio_sync(GFS_File gf);
The function gfs_pio_sync flushes data on memory of the gf, and waits for the I/O to complete before returning. It also updates metadtata stat information, while another function gfs_pio_datasync does not update the metadata.
GFARM_ERR_NO_ERROR
GFARM_ERR_NO_MEMORY
Others
gfs_pio_datasync(3), gfs_pio_create(3), gfs_pio_open(3), gfs_pio_write(3), gfs_pio_flush(3)