VictoriaMetrics/lib/fs
Aliaksandr Valialkin e19b53748a
lib/fs: lazily open the file at ReaderAt on the first access
This should significantly reduce the number of open ReaderAt files
on VictoriaMetrics and VictoriaLogs startup.

The open files can be tracked via vm_fs_readers metric
2024-02-06 21:10:00 +02:00
..
fscore all: allow dynamically reading *AuthKey flag values from files and urls 2024-01-22 01:23:23 +02:00
dir_remover.go lib/mergeset: atomically remove part dirs 2022-09-13 15:56:33 +03:00
fadvise_darwin.go app/vmselect/promql: follow-up for ce4f26db02 2024-01-16 22:13:13 +02:00
fadvise_openbsd.go lib/fs: fix GOOS=openbsd build by adding fadviseSequentialRead implementation. 2020-10-05 23:32:28 +03:00
fadvise_solaris.go fixes solaris build (#1345) 2021-06-04 11:56:06 +03:00
fadvise_unix.go all: cleanup: remove // +build ... lines, since they are no longer needed after Go1.17, and the minimum supported Go version for VictoriaMetrics source code is Go1.20 2023-11-13 19:15:42 +01:00
fs.go all: allow dynamically reading *AuthKey flag values from files and urls 2024-01-22 01:23:23 +02:00
fs_nix.go all: cleanup: remove // +build ... lines, since they are no longer needed after Go1.17, and the minimum supported Go version for VictoriaMetrics source code is Go1.20 2023-11-13 19:15:42 +01:00
fs_openbsd.go lib/fs: move common code outside arch-specific implementations of mustRemoveDirAtomic() 2023-05-09 22:56:40 -07:00
fs_solaris.go lib/fs: move common code outside arch-specific implementations of mustRemoveDirAtomic() 2023-05-09 22:56:40 -07:00
fs_test.go all: allow dynamically reading *AuthKey flag values from files and urls 2024-01-22 01:23:23 +02:00
fs_unix.go all: cleanup: remove // +build ... lines, since they are no longer needed after Go1.17, and the minimum supported Go version for VictoriaMetrics source code is Go1.20 2023-11-13 19:15:42 +01:00
fs_windows.go lib/fs: move common code outside arch-specific implementations of mustRemoveDirAtomic() 2023-05-09 22:56:40 -07:00
reader_at.go lib/fs: lazily open the file at ReaderAt on the first access 2024-02-06 21:10:00 +02:00
reader_at_test.go all: use os.{Read|Write}File instead of ioutil.{Read|Write}File 2022-08-21 23:55:20 +03:00
reader_at_timing_test.go all: use os.{Read|Write}File instead of ioutil.{Read|Write}File 2022-08-21 23:55:20 +03:00