summaryrefslogtreecommitdiff
path: root/server/stables.c
diff options
context:
space:
mode:
authorShawn Routhier <sar@isc.org>2013-11-08 12:00:02 -0800
committerShawn Routhier <sar@isc.org>2013-11-08 12:00:02 -0800
commitcde11a4cdb79f5447f4459d156d759620949539f (patch)
treea60d2ae9c54752c05043d37a301a326bcaad1a7c /server/stables.c
parent1534fff7c5365805408d050c2f17d9b983e0fb3b (diff)
downloadisc-dhcp-cde11a4cdb79f5447f4459d156d759620949539f.tar.gz
[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.
Diffstat (limited to 'server/stables.c')
-rw-r--r--server/stables.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/stables.c b/server/stables.c
index 36335c76..37758cc1 100644
--- a/server/stables.c
+++ b/server/stables.c
@@ -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 }
};