]> git.ipfire.org Git - thirdparty/systemd.git/commit
udev: scan partitions and trigger synthetic change events in child process 36685/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 10 Mar 2025 13:44:02 +0000 (22:44 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 10 Mar 2025 20:55:51 +0000 (05:55 +0900)
commit9c47b1527eb2debae32bcae2c73a26ccc84973cc
treecf69261f119c3f1c7c4a1684a030b996062bfeba
parentee9ff3902b2d2a523e6ff63d92dda152bcb5170c
udev: scan partitions and trigger synthetic change events in child process

Rereading partition table may take longer on slow disk. The main process
should not be blocked by the operation. Let's fork a child process and
do that on the child.

Prompted by #36624 and #36269.
src/udev/udev-manager.c
src/udev/udev-manager.h