diff options
| author | David Lamparter <equinox@opensourcerouting.org> | 2017-02-08 16:14:10 +0100 |
|---|---|---|
| committer | David Lamparter <equinox@opensourcerouting.org> | 2017-02-09 12:54:25 +0100 |
| commit | 056cfe496e84eed72c4d2226a7a405e5263cdc7a (patch) | |
| tree | a6925f69a2546534b2cdb08cd8cd56624974cabb /tests/lib/cli/test_cli.c | |
| parent | e84aba82ab3ab5192eecaa4a210bf1fcf7aaceda (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 'tests/lib/cli/test_cli.c')
0 files changed, 0 insertions, 0 deletions
