2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-31 22:35:25 +00:00

[master] Add option to suppress the use of fsync when writing lease files

The option is dont-use-async <flag> and it defaults to disabled.
This commit is contained in:
Shawn Routhier
2013-11-08 12:00:02 -08:00
parent 1534fff7c5
commit cde11a4cdb
6 changed files with 136 additions and 127 deletions

View File

@@ -267,6 +267,7 @@ static struct option server_options[] = {
#endif /* LDAP_USE_SSL */
#endif /* LDAP_CONFIGURATION */
{ "dhcp-cache-threshold", "B", &server_universe, 78, 1 },
{ "dont-use-fsync", "f", &server_universe, 79, 1 },
{ NULL, NULL, NULL, 0, 0 }
};