-
Notifications
You must be signed in to change notification settings - Fork 2k
Slow import when rebooting with MMP after upgrading to 2.4.1 #18370
Copy link
Copy link
Open
Labels
Type: DefectIncorrect behavior (e.g. crash, hang)Incorrect behavior (e.g. crash, hang)
Description
System information
| Type | Version/Name |
|---|---|
| Distribution Name | Rock Linux |
| Distribution Version | 9.7 |
| Kernel Version | 5.14.0-611.36.1 |
| Architecture | x86_64 |
| OpenZFS Version | 2.4.1 |
Describe the problem you're observing
After upgrading from 2.4.0 to 2.4.1 the time to import a pool with multihost=on from an external JBOD with 60 HDD has increased to ~4 minutes. I suspect this is due to #18177, but it would be nice if that extra safety could be optimized to reduce system boot time.
Describe how to reproduce the problem
Reboot a system with qty 8 external 60-drive JBOD pools as 8 separate zpool with multihost=on and wait for zfs-import-cache.service to add ~30 minutes to the boot time.
Include any warning/errors/backtraces from the system logs
[root@zfsarchive1 ~]# systemctl status zfs-import-cache.service
● zfs-import-cache.service - Import ZFS pools by cache file
Loaded: loaded (/usr/lib/systemd/system/zfs-import-cache.service; enabled; preset: enabled)
Active: active (exited) since Tue 2026-03-17 10:41:42 PDT; 6 days ago
Docs: man:zpool(8)
Main PID: 31263 (code=exited, status=0/SUCCESS)
CPU: 37.298s
Mar 17 10:10:25 zfsarchive1 systemd[1]: Starting Import ZFS pools by cache file...
Mar 17 10:41:42 zfsarchive1 systemd[1]: Finished Import ZFS pools by cache file.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type: DefectIncorrect behavior (e.g. crash, hang)Incorrect behavior (e.g. crash, hang)