1
0
mirror of https://github.com/restic/restic.git synced 2024-06-30 08:20:55 +02:00
restic/internal/fs
greatroar 7080fed7ae Set O_NOATIME flag on Linux
Citing Kerrisk, The Linux Programming Interface:

    The O_NOATIME flag is intended for use by indexing and backup
    programs. Its use can significantly reduce the amount of disk
    activity, because repeated disk seeks back and forth across the
    disk are not required to read the contents of a file and to update
    the last access time in the file’s i-node[.]

restic used to do this, but the functionality was removed along with the
fadvise call in #670.
2022-02-06 15:00:34 +01:00
..
const_unix.go fs: Add interface and FS implementations 2018-04-22 11:37:05 +02:00
const_windows.go fs: Add interface and FS implementations 2018-04-22 11:37:05 +02:00
const.go fs: Add O_NONBLOCK 2018-04-30 15:34:58 +02:00
deviceid_unix.go Run goimports 2017-07-23 14:21:03 +02:00
deviceid_windows.go Run goimports 2017-07-23 14:21:03 +02:00
doc.go Moves files 2017-07-23 14:19:13 +02:00
file_unix.go Remove OS-specific versions of fs.MkdirAll 2020-09-21 14:21:32 +02:00
file_windows.go Remove OS-specific versions of fs.MkdirAll 2020-09-21 14:21:32 +02:00
file.go Set O_NOATIME flag on Linux 2022-02-06 15:00:34 +01:00
fs_local_vss.go Add more error handling 2021-01-30 20:19:47 +01:00
fs_local.go fs: Add interface and FS implementations 2018-04-22 11:37:05 +02:00
fs_reader_test.go simplified string sorting by using a more suitable function 2019-06-30 23:20:32 +03:00
fs_reader.go Remove stray Printf from internal/fs 2020-09-21 14:21:32 +02:00
fs_track.go fs: Add interface and FS implementations 2018-04-22 11:37:05 +02:00
helpers.go Simplify os.ModeType|os.ModeCharDevice => os.ModeType 2020-09-21 14:21:32 +02:00
interface.go Remove io.Writer from fs.File 2020-09-21 14:21:32 +02:00
path_prefix_test.go fs: Make HasPathPrefix work with relative paths 2018-01-05 17:38:52 +01:00
path_prefix.go fs: Make HasPathPrefix work with relative paths 2018-01-05 17:38:52 +01:00
setflags_linux_test.go Set O_NOATIME flag on Linux 2022-02-06 15:00:34 +01:00
setflags_linux.go Set O_NOATIME flag on Linux 2022-02-06 15:00:34 +01:00
setflags_other.go Set O_NOATIME flag on Linux 2022-02-06 15:00:34 +01:00
stat_bsd.go Examine file ctime when checking if files have changed. 2019-04-23 21:54:35 -05:00
stat_test.go fs: Add interface and FS implementations 2018-04-22 11:37:05 +02:00
stat_unix.go Examine file ctime when checking if files have changed. 2019-04-23 21:54:35 -05:00
stat_windows.go Examine file ctime when checking if files have changed. 2019-04-23 21:54:35 -05:00
stat.go Examine file ctime when checking if files have changed. 2019-04-23 21:54:35 -05:00
vss_windows.go vss: fix DeleteSnapshots() and GetSnapshotProperties() on 386 2020-11-12 19:31:00 +01:00
vss.go vss: fix potential crash (not reachable in restic) (#3045) 2020-11-04 22:14:18 +01:00