#include <db.h> int DB_ENV->get_mp_max_write(DB_ENV *env, int *maxwritep, db_timeout_t *maxwrite_sleepp);
The DB_ENV->get_mp_max_write()
method returns the current maximum
number of sequential write operations and microseconds to pause that the library can schedule when flushing
dirty pages from the cache. These values are set by the
DB_ENV->set_mp_max_write()
method.
The DB_ENV->get_mp_max_write()
method may be called at any time
during the life of the application.
The DB_ENV->get_mp_max_write()
method returns a non-zero error value on failure and 0 on success.
The maxwritep parameter references memory into which the maximum number of sequential write operations is copied.