GFS_PIO_DATASYNC(3)
β¨ NAME β¨
gfs_pio_datasync β bestie, this one dumps your file's data out of memory and onto the disk, fr fr πΎβ¨
πΈ SYNOPSIS πΈ
#include <gfarm/gfarm.h>
gfarm_error_t gfs_pio_datasync(GFS_File gf);
π DESCRIPTION π
okay so. gfs_pio_datasync flushes all that data just vibing in memory for your gf, and then it waits β like, actually waits β for the I/O to finish before it comes back to you. no rushing, no "yeah sure it's done", it's giving patient main character energy π«Ά
the one thing it does not do is update the metadata stat info. nope, not its job. if you want the metadata updated too, that's a whole different function: gfs_pio_sync, which handles the metadata on top of the contents. so like, gfs_pio_datasync = data only, gfs_pio_sync = data + metadata. iykyk π
π RETURN VALUES π
GFARM_ERR_NO_ERRORβ it ate and left no crumbs. the function terminated successfully β¨GFARM_ERR_NO_MEMORYβ not enough memory was available π tragic, honestly- Others β some other error happened that isn't either of the above. the reason gets shown by
gfarm_error_string(3), so go check that π
π¦ SEE ALSO π¦
gfs_pio_sync(3), gfs_pio_create(3), gfs_pio_open(3), gfs_pio_write(3), gfs_pio_flush(3)
and that's the whole page, bestie π this was Gfarm, dated 20 Jun 2019 β go sync something, ily, bye ππ
π¦ where this page comes from
- debian bookworm: libgfarm-dev 2.7.20+dfsg-1+b2 Β· BSD-like
- debian trixie: libgfarm-dev 2.7.20+dfsg-1.2+b1 Β· BSD-like
- ubuntu jammy: libgfarm-dev 2.7.17+dfsg-1build2 Β· BSD-like
- ubuntu noble: libgfarm-dev 2.7.20+dfsg-1.1ubuntu1 Β· BSD-like
- ubuntu questing: libgfarm-dev 2.7.20+dfsg-1.2
- ubuntu resolute: libgfarm-dev 2.7.20+dfsg-1.3 Β· BSD-like
- ubuntu stonking: libgfarm-dev 2.7.20+dfsg-1.3build1 Β· BSD-like
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms