gfs_pio_sync(3)

gfs_pio_sync3

Output a file's data on memroy to disk

Usage

#include <gfarm/gfarm.h>

gfarm_error_t gfs_pio_sync(GFS_File gf);

Overview

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.

Return values

GFARM_ERR_NO_ERROR

The function terminated successfully.

GFARM_ERR_NO_MEMORY

Insufficient memory was available.

Others

An error except the above occurred. The reason is shown by gfarm_error_string(3).

Releases

5 releases since Debian 6.0 (Squeeze); the text changed 1 time.

  1. 6.0–7
  2. 11–13

From libgfarm-dev 2.7.20+dfsg-1.2+b1 in Debian 13 (Trixie). Parsed by carta from the page's man source.