]> git.ipfire.org Git - thirdparty/util-linux.git/commit
fadvise: (tests) sync data to disk before dropping pages
authorThomas Weißschuh <thomas@t-8ch.de>
Sun, 16 Apr 2023 08:16:53 +0000 (10:16 +0200)
committerThomas Weißschuh <thomas@t-8ch.de>
Mon, 17 Apr 2023 07:32:35 +0000 (09:32 +0200)
commitb1c68750d9d05b7879eb4da772239a542d454d39
tree7c4363e86d11fa8505532d61123874245ca7eeca
parent439b01551fdf038d5ae550eb53cf95adeed1235b
fadvise: (tests) sync data to disk before dropping pages

The test fails if pages are not dropped because they are not yet written
back to disk.
So force a writeback before continuing.

Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
tests/ts/fadvise/drop