shutdown: replace unbounded fsync() with bounded sync_with_progress()
authorLennart Poettering <lennart@poettering.net>
Mon, 9 Sep 2024 15:53:03 +0000 (17:53 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 9 Sep 2024 17:12:31 +0000 (19:12 +0200)
commitb4b66b26620bfaf5818c95d5cffafd85207694e7
tree1311c34205104952f4120d3b5ee19054b1db3ce8
parent13b5225d6278af15e84ebd1889f04cfe81b47787
shutdown: replace unbounded fsync() with bounded sync_with_progress()

Let's put a time-out on this syncing.

Inspired-by: #34289 #34283
src/shutdown/detach-dm.c
src/shutdown/detach-loopback.c
src/shutdown/detach-md.c