mirror of
https://github.com/kata-containers/kata-containers.git
synced 2026-07-02 07:02:16 +00:00
This commit is just a enhancement without any functionality changes. Replace the sequential loop in handle_multi_layer_erofs_group with join_all-based concurrent mounting. Base device paths and mount directories are pre-resolved before spawning futures to avoid lock contention. On partial failure, successfully mounted layers are unmounted and dm-verity devices cleaned up before propagating the error. Signed-off-by: Alex Lyn <alex.lyn@antgroup.com>