
Macros | |
| #define | MODULE_CONFIG_KEY "disk-buffer" |
| #define | DEFAULT_TRUNCATE_SIZE_RATIO_V3_X (0.1) |
| #define | DEFAULT_TRUNCATE_SIZE_RATIO_V4_X (1) |
| #define | DEFAULT_PREALLOC FALSE |
| #define | DEFAULT_STATS_FREQ (300) |
Functions | |
| DiskQueueConfig * | disk_queue_config_new (GlobalConfig *cfg) |
| DiskQueueConfig * | disk_queue_config_get (GlobalConfig *cfg) |
| void | disk_queue_config_set_truncate_size_ratio (GlobalConfig *cfg, gdouble truncate_size_ratio) |
| gdouble | disk_queue_config_get_truncate_size_ratio (GlobalConfig *cfg) |
| gboolean | disk_queue_config_is_truncate_size_ratio_set_explicitly (GlobalConfig *cfg) |
| void | disk_queue_config_set_prealloc (GlobalConfig *cfg, gboolean prealloc) |
| gboolean | disk_queue_config_get_prealloc (GlobalConfig *cfg) |
| gboolean | disk_queue_config_is_prealloc_set_explicitly (GlobalConfig *cfg) |
| void | disk_queue_config_set_stats_freq (GlobalConfig *cfg, gint stats_freq) |
| gboolean | disk_queue_config_get_stats_freq (GlobalConfig *cfg) |
| gboolean | disk_queue_config_is_stats_freq_set_explicitly (GlobalConfig *cfg) |
| #define DEFAULT_PREALLOC FALSE |
| #define DEFAULT_STATS_FREQ (300) |
| #define DEFAULT_TRUNCATE_SIZE_RATIO_V3_X (0.1) |
| #define DEFAULT_TRUNCATE_SIZE_RATIO_V4_X (1) |
| #define MODULE_CONFIG_KEY "disk-buffer" |
| DiskQueueConfig* disk_queue_config_get | ( | GlobalConfig * | cfg | ) |
| gboolean disk_queue_config_get_prealloc | ( | GlobalConfig * | cfg | ) |
| gboolean disk_queue_config_get_stats_freq | ( | GlobalConfig * | cfg | ) |
| gdouble disk_queue_config_get_truncate_size_ratio | ( | GlobalConfig * | cfg | ) |
| gboolean disk_queue_config_is_prealloc_set_explicitly | ( | GlobalConfig * | cfg | ) |
| gboolean disk_queue_config_is_stats_freq_set_explicitly | ( | GlobalConfig * | cfg | ) |
| gboolean disk_queue_config_is_truncate_size_ratio_set_explicitly | ( | GlobalConfig * | cfg | ) |
| DiskQueueConfig* disk_queue_config_new | ( | GlobalConfig * | cfg | ) |
| void disk_queue_config_set_prealloc | ( | GlobalConfig * | cfg, |
| gboolean | prealloc | ||
| ) |
| void disk_queue_config_set_stats_freq | ( | GlobalConfig * | cfg, |
| gint | stats_freq | ||
| ) |
| void disk_queue_config_set_truncate_size_ratio | ( | GlobalConfig * | cfg, |
| gdouble | truncate_size_ratio | ||
| ) |