prometheus/tsdb/fileutil
Tobias Klauser b5b3bc34da
tsdb/fileutil: Use FcntlFstore from golang.org/x/sys/unix (#7949)
Direct syscalls using syscall.Syscall(SYS_*, ...) should no longer be
used on darwin, see [1]. Instead, use the FcntlFstore libSystem wrapper
provided by the golang.org/x/sys/unix package to implement
preallocFixed.

[1] https://golang.org/doc/go1.12#darwin

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
2020-09-19 10:57:13 +01:00
..
dir.go Compute WAL size and use it during retention size checks (#5886) 2019-11-12 09:40:16 +07:00
dir_unix.go Moving tsdb into its own subdirectory 2019-08-13 13:58:49 +05:30
dir_windows.go Moving tsdb into its own subdirectory 2019-08-13 13:58:49 +05:30
fileutil.go Make file permissions set to allow for wider umask options. (#7782) 2020-08-12 23:23:17 +02:00
flock.go Moving tsdb into its own subdirectory 2019-08-13 13:58:49 +05:30
flock_plan9.go Make file permissions set to allow for wider umask options. (#7782) 2020-08-12 23:23:17 +02:00
flock_solaris.go Make file permissions set to allow for wider umask options. (#7782) 2020-08-12 23:23:17 +02:00
flock_test.go Removed extra tsdb/testutil after merge. 2019-08-14 10:12:32 +01:00
flock_unix.go Make file permissions set to allow for wider umask options. (#7782) 2020-08-12 23:23:17 +02:00
flock_windows.go Moving tsdb into its own subdirectory 2019-08-13 13:58:49 +05:30
mmap.go Live m-mapping of chunks on disk (#6830) 2020-03-19 22:03:44 +05:30
mmap_386.go Moving tsdb into its own subdirectory 2019-08-13 13:58:49 +05:30
mmap_amd64.go Moving tsdb into its own subdirectory 2019-08-13 13:58:49 +05:30
mmap_unix.go Moving tsdb into its own subdirectory 2019-08-13 13:58:49 +05:30
mmap_windows.go Moving tsdb into its own subdirectory 2019-08-13 13:58:49 +05:30
preallocate.go Moving tsdb into its own subdirectory 2019-08-13 13:58:49 +05:30
preallocate_darwin.go tsdb/fileutil: Use FcntlFstore from golang.org/x/sys/unix (#7949) 2020-09-19 10:57:13 +01:00
preallocate_linux.go Moving tsdb into its own subdirectory 2019-08-13 13:58:49 +05:30
preallocate_other.go Moving tsdb into its own subdirectory 2019-08-13 13:58:49 +05:30
sync.go Moving tsdb into its own subdirectory 2019-08-13 13:58:49 +05:30
sync_darwin.go Moving tsdb into its own subdirectory 2019-08-13 13:58:49 +05:30
sync_linux.go Moving tsdb into its own subdirectory 2019-08-13 13:58:49 +05:30