shutdown: teach sync_with_progress() to optionally sync a specific fd only
authorLennart Poettering <lennart@poettering.net>
Mon, 9 Sep 2024 15:49:33 +0000 (17:49 +0200)
committerLuca Boccassi <luca.boccassi@gmail.com>
Thu, 14 Nov 2024 13:12:13 +0000 (13:12 +0000)
commit05df6c341951e40aca02cb116002b05ec2a26c16
tree55b580b43b42d818634b0af4dc463997f014bfcf
parent489cf962ada63e3d26d8f91b589aff170bc65317
shutdown: teach sync_with_progress() to optionally sync a specific fd only

This is preparation for reusing the logic for syncing DM and other
devices with a timeout applied.

(cherry picked from commit 13b5225d6278af15e84ebd1889f04cfe81b47787)
src/shared/async.c
src/shared/async.h
src/shutdown/shutdown.c
src/shutdown/shutdown.h [new file with mode: 0644]