head 1.2; access; symbols RPM_4_2_1:1.1.1.5 RPM_4_2:1.1.1.5 RPM_4_1_1:1.1.1.5 RPM_4_1:1.1.1.4 RPM_4_0_5:1.1.1.3 RPM_4_0_4:1.1.1.2 RPM_4_0_3:1.1.1.1 RPM:1.1.1; locks; strict; comment @# @; 1.2 date 2008.01.02.09.52.56; author rse; state dead; branches; next 1.1; commitid z4cpSiAhOCXk5PLs; 1.1 date 2001.07.23.20.45.36; author rse; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2001.07.23.20.45.36; author rse; state Exp; branches; next 1.1.1.2; 1.1.1.2 date 2002.01.08.00.30.08; author rse; state Exp; branches; next 1.1.1.3; 1.1.1.3 date 2003.01.18.13.48.57; author rse; state Exp; branches; next 1.1.1.4; 1.1.1.4 date 2001.12.06.00.07.59; author rse; state Exp; branches; next 1.1.1.5; 1.1.1.5 date 2003.01.18.14.04.57; author rse; state Exp; branches; next ; desc @@ 1.2 log @remove the ancient RPM 4.2.1 source tree copy @ text @
memp_fsync |
![]() ![]() |
#include <db.h>int memp_fsync(DB_MPOOLFILE *mpf);
The memp_fsync function writes all pages associated with the DB_MPOOLFILE, which were marked as modified using memp_fput or memp_fset, back to the source file. If any of the modified pages are also pinned (that is, this or another process currently refers to them), memp_fsync will ignore them.
The memp_fsync function returns a non-zero error value on failure, 0 on success, and returns DB_INCOMPLETE if there were pages that were modified but that memp_fsync was unable to write immediately.
The memp_fsync function may fail and return a non-zero error for errors specified for other Berkeley DB and C library or system functions. If a catastrophic error has occurred, the memp_fsync function may fail and return DB_RUNRECOVERY, in which case all subsequent Berkeley DB calls will fail in the same way.
![]() ![]() |
Copyright Sleepycat Software @ 1.1 log @Initial revision @ text @d1 1 a1 1 @ 1.1.1.1 log @Import: RPM 4.0.3 @ text @@ 1.1.1.2 log @Import: RPM 4.0.4 @ text @d1 1 a1 1 d6 1 a6 1
The DB_MPOOLFILE->sync function writes all pages associated with the DB_MPOOLFILE, which were marked as modified using DB_MPOOLFILE->put or DB_MPOOLFILE->set, back to the source file. If d32 1 a32 1 another process currently refers to them), DB_MPOOLFILE->sync will d34 2 a35 2
The DB_MPOOLFILE->sync function returns a non-zero error value on failure, 0 on success, and returns DB_INCOMPLETE if there were pages that were modified but that DB_MPOOLFILE->sync was unable to write immediately. d37 2 a38 2
The DB_MPOOLFILE->sync function may fail and return a non-zero error for errors specified for other Berkeley DB and C library or system functions. If a catastrophic error has occurred, the DB_MPOOLFILE->sync function may fail and return d44 9 a52 15 DB_ENV->memp_fcreate, DB_MPOOLFILE->close, DB_MPOOLFILE->get, DB_MPOOLFILE->open, DB_MPOOLFILE->put, DB_MPOOLFILE->set, DB_MPOOLFILE->sync, DB_ENV->memp_register, DB_MPOOLFILE->set_clear_len, DB_MPOOLFILE->set_fileid, DB_MPOOLFILE->set_ftype, DB_MPOOLFILE->set_lsn_offset, DB_MPOOLFILE->set_pgcookie, DB_ENV->memp_stat, DB_ENV->memp_sync, d54 1 a54 1 DB_ENV->memp_trickle. @ 1.1.1.3 log @Import: RPM 4.0.5 @ text @d1 2 a2 2 a3 1 d28 2 a29 2
The DB_MPOOLFILE->sync method writes all pages associated with the DB_MPOOLFILE, which were marked as modified using d34 2 a35 1
The DB_MPOOLFILE->sync method returns a non-zero error value on failure and 0 on success. d37 4 a40 6
The DB_MPOOLFILE->sync method may fail and return a non-zero error for errors specified for other Berkeley DB and C library or system functions. If a catastrophic error has occurred, the DB_MPOOLFILE->sync method may fail and return DB_RUNRECOVERY, in which case all subsequent Berkeley DB calls will fail in the same way.
The DB_MPOOLFILE->sync function writes all pages associated with the DB_MPOOLFILE, which were marked as modified using d35 1 a35 2
The DB_MPOOLFILE->sync function returns a non-zero error value on failure, 0 on success, and returns DB_INCOMPLETE if there were pages that were modified but that DB_MPOOLFILE->sync was unable to write immediately. d37 6 a42 4
The DB_MPOOLFILE->sync function may fail and return a non-zero error for errors specified for other Berkeley DB and C library or system functions. If a catastrophic error has occurred, the DB_MPOOLFILE->sync function may fail and return DB_RUNRECOVERY, in which case all subsequent Berkeley DB calls will fail in the same way. d44 1 a44 19 DB_ENV->set_cachesize, DB_ENV->set_mp_mmapsize, DB_ENV->memp_fcreate, DB_MPOOLFILE->close, DB_MPOOLFILE->get, DB_MPOOLFILE->open, DB_MPOOLFILE->put, DB_MPOOLFILE->set, DB_MPOOLFILE->sync, DB_ENV->memp_register, DB_MPOOLFILE->set_clear_len, DB_MPOOLFILE->set_fileid, DB_MPOOLFILE->set_ftype, DB_MPOOLFILE->set_lsn_offset, DB_MPOOLFILE->set_pgcookie, DB_ENV->memp_stat, DB_ENV->memp_sync, and DB_ENV->memp_trickle. @ 1.1.1.5 log @Import: RPM 4.1.1 @ text @d1 2 a2 2 a3 1 d28 2 a29 2
The DB_MPOOLFILE->sync method writes all pages associated with the DB_MPOOLFILE, which were marked as modified using d34 2 a35 1
The DB_MPOOLFILE->sync method returns a non-zero error value on failure and 0 on success. d37 4 a40 6
The DB_MPOOLFILE->sync method may fail and return a non-zero error for errors specified for other Berkeley DB and C library or system functions. If a catastrophic error has occurred, the DB_MPOOLFILE->sync method may fail and return DB_RUNRECOVERY, in which case all subsequent Berkeley DB calls will fail in the same way.