diff options
| author | David Lamparter <equinox@opensourcerouting.org> | 2017-02-08 16:14:10 +0100 |
|---|---|---|
| committer | David Lamparter <equinox@opensourcerouting.org> | 2017-02-09 14:25:55 +0100 |
| commit | 1520d0aca9acf42faf0433cbe8f66ef9cd97bd0e (patch) | |
| tree | 253490726e4fca72b9391e81dbf146b0e005cad2 /ospfclient/ospf_apiclient.c | |
| parent | cf80f28161ec05430723d6fb7bc5928bdc21f825 (diff) | |
lib: use fsync() for config writes, plug fd leak
sync() has a HUGE impact on systems that perform actual I/O, i.e. real
servers...
Also, we were leaking a fd on each config write ever since
c5e69a0 "lib/vty: add separate output fd support to VTYs"
(by myself :( ...)
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'ospfclient/ospf_apiclient.c')
0 files changed, 0 insertions, 0 deletions
