libeatmydata
libeatmydata copied to clipboard
libeatmydata - because fsync() should be a no-op
Distributions are now rebuilding 32bit archs and defining _TIME_BITS=64 _FILE_OFFSET_BITS=64 to be able to use the redefined 64-bit time and file functions from glibc. Undefine _TIME_BITS here too, to prevent...
Thanks to a [tip-off](https://github.com/Homebrew/homebrew-core/issues/136873#issuecomment-1664959303) from @carlocab I did a simple test to see if eatmydata actually eats my data on macos: > `eatmydata` relies on `DYLD_FORCE_FLAT_NAMESPACE` and `DYLD_INSERT_LIBRARIES`, which, in...
Pardon the silly question: what is the foo argument? As in how do I use this? Would it be the 'bin' to run?
Building on FreeBSD 11.4 fails with: ``` --- libeatmydata/la-libeatmydata.lo --- CC libeatmydata/la-libeatmydata.lo libeatmydata/libeatmydata.c:181:21: error: use of undeclared identifier 'O_DSYNC' flags &= ~(O_SYNC|O_DSYNC); ``` `O_DSYNC` does not exist on FreeBSD.
The eatmydata wrapper uses readlink -f which is not supported on all versions of macOS - the simplest workaround is to use readlink from coreutils. I will take a look...
It's harmless, but with 3dea342f64a73a271d24779474d1b304b8f5618c, we get: ``` x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/sys-fs/libeatmydata-131/work/libeatmydata-131 -O2 -pipe -march=native -fdiagnostics-color=always -frecord-gcc-switches -Wreturn-type -ggdb3 -Werror=implicit-function-declaration -Werror=implicit-int -c -o libeatmydata/test/tst-cancel4.o /var/tmp/portage/sys-fs/libeatmydata-131/work/libeatmydata-131/libeatmydata/test/tst-cancel4.c /var/tmp/portage/sys-fs/libeatmydata-131/work/libeatmydata-131/libeatmydata/test/tst-cancel4.c:28: warning: "_GNU_SOURCE" redefined 28...
A macOS counterpart of O_DIRECT. This should be helpful for e.g. TokuDB and RocksDB testsuites.
I was discussing EMD with some data reliability experts, found we agreed it would be a good idea to do a single sync() before exiting and we wondered why this...
After 9159bc125bfb8989a5dbc2ce103312c2aa8906f5 build fails on OpenBSD 6.9 with: ``` CC libeatmydata/la-libeatmydata.lo libeatmydata/libeatmydata.c:55: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' libeatmydata/libeatmydata.c:56: error: expected '=', ',', ';', 'asm' or...
Hi Stewart, Thank you for this gem. FYI, Arch/Manjaro has `libeatmydata` as a 1st class citizen package (https://archlinux.org/packages/community/x86_64/libeatmydata). May I suggest providing a man page? I came across one at...