Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pkg/archive: sync files before issuing the fadvise syscall
Linux ignores fadvise for dirty pages so we need to make sure we sync to have them marked as clean before discarding Ref: https://github.com/torvalds/linux/blob/v4.13/mm/truncate.c#L489-L493 Signed-off-by: Petros Angelatos <petrosagg@gmail.com>
- Loading branch information