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)
committerLuca Boccassi <luca.boccassi@gmail.com>
Thu, 14 Nov 2024 13:12:13 +0000 (13:12 +0000)
commitdbf933478f16d68b61150b845c4f897ae3b7a91a
tree0d146084d981426720e19edd3fc0cf5d4a624d9d
parent05df6c341951e40aca02cb116002b05ec2a26c16
shutdown: replace unbounded fsync() with bounded sync_with_progress()

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

Inspired-by: #34289 #34283
(cherry picked from commit b4b66b26620bfaf5818c95d5cffafd85207694e7)
src/shutdown/detach-dm.c
src/shutdown/detach-loopback.c
src/shutdown/detach-md.c