Gyu-Ho Lee 962976f2df pkg/fileutil: fix preallocate under OS X kernel
ftruncate changes st_blocks, and following fallocate
syscalls would return EINVAL when allocated block size
is already greater than requested block size
(e.g. st_blocks==8, requested blocks are 2).

Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-12-14 10:36:57 -08:00
..
2017-06-21 14:33:15 -07:00
2016-05-12 20:48:53 -07:00
2017-01-20 01:47:56 -08:00
2015-11-17 20:54:10 -08:00
2016-09-29 15:29:38 +08:00
2017-11-10 18:46:15 -08:00
2016-05-12 20:48:53 -07:00
2017-08-30 20:07:14 +05:30
2017-11-10 18:46:15 -08:00
2016-05-12 20:48:53 -07:00
2017-11-10 18:46:15 -08:00
2017-11-10 18:46:15 -08:00
2017-11-10 18:46:15 -08:00
2014-10-26 16:28:48 -07:00

pkg/ is a collection of utility packages used by etcd without being specific to etcd itself. A package belongs here only if it could possibly be moved out into its own repository in the future.