Adaptive fsync with target latency in seconds.
Switch branches/tags
Nothing to show
Clone or download
Latest commit 00ecd74 May 15, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore initial May 13, 2018
CMakeLists.txt guard hash access with locks May 13, 2018
LICENSE initial May 13, 2018
README.md initial May 13, 2018
autofsync.c log to stderr May 15, 2018
uthash.h initial May 13, 2018

README.md

autofsync

Intercepts write() call, and calls fdatasync() when certain amount of data were written to a file. Limit size is adjusted at run time to keep fdatasync() durations around predefined value. The goal is to express writeback cache size limit in seconds rather than in bytes.

Library is supposed to be injected into applications with the help of LD_PRELOAD.