kaniko/pkg/snapshot
zhouhaibing089 e65bce193d
snapshotter: use syncfs system call (#2816)
`sync` system call triggers a full page cache sync which may not always
work, especially in kubernetes environment where it is easy to be
interfered by others. I have seen several cases where a broken nfs mount
is blocking kaniko from doing its job.

With `syncfs`, it only writes cache back to disk for the current
filesystem that is used by kaniko which is supposed to be more reliable.
2023-10-30 16:59:40 -07:00
..
layered_map.go fix: Refactor `LayersMap` to correct old strange code behavior (#2066) 2022-05-17 20:30:58 -04:00
layered_map_test.go Fix Integration tests (#2425) 2023-03-21 12:30:54 -04:00
snapshot.go snapshotter: use syncfs system call (#2816) 2023-10-30 16:59:40 -07:00
snapshot_test.go Don't write whiteout files to directories that were replaced with files or links (#2590) 2023-06-22 10:45:47 -07:00