etcd/pkg/fileutil
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
..
2016-09-08 00:09:16 -07:00
2016-09-08 00:09:16 -07:00
2017-03-20 15:15:24 -07:00
2016-05-12 20:48:53 -07:00
2017-03-20 15:15:24 -07:00
2016-05-12 20:48:53 -07:00
2016-05-12 20:48:53 -07:00
2017-11-10 18:46:15 -08:00
2016-05-12 20:48:53 -07:00
2017-03-16 07:46:06 -07:00
2017-03-16 07:46:06 -07:00
2016-05-12 20:48:53 -07:00
2016-05-12 20:48:53 -07:00
2016-05-12 20:48:53 -07:00