#19196·zfs

在启动时 zpool 卡死,多个 z_wr_iss 内核线程处于 100% CPU 使用率

作者: stuartthebruce创建于 2026年9月26日更新于 2026年9月28日
标签Type: Defect
Currently while `zpool import -T` is running all 60 HDD are reporting ~160 r/s for the last 6 days running,

[root@zfs9 ~]# time zpool import -N -T 445159297 scratch

[root@zfs9 ~]# top
top - 09:51:33 up 6 days, 11:50,  2 users,  load average: 8.27, 9.06, 9.04
Tasks: 1031 total,   1 running, 1030 sleeping,   0 stopped,   0 zombie
%Cpu(s):  0.0 us,  3.0 sy,  0.0 ni, 93.2 id,  3.5 wa,  0.1 hi,  0.2 si,  0.0 st
MiB Mem : 385085.6 total, 105942.4 free, 229198.5 used,  49944.8 buff/cache
MiB Swap:      0.0 total,      0.0 free,      0.0 used. 152149.8 avail Mem 
 
    PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND                  
 106436 root      20   0 9543276  19552   5740 D  25.2   0.0   4063:54 zpool                    
3295201 root       0 -20       0      0      0 S   4.3   0.0  16:33.64 z_rd_int_5               
 107104 root       0 -20       0      0      0 S   4.0   0.0 518:02.90 z_rd_int_0               
 107105 root       0 -20       0      0      0 S   4.0   0.0 518:07.38 z_rd_int_1               
 107106 root       0 -20       0      0      0 S   4.0   0.0 518:13.92 z_rd_int_2         

[root@zfs9 ~]# iostat -xzm 
Linux 4.18.0-553.164.1.el8_10.x86_64 (zfs9) 	09/26/2026 	_x86_64_	(72 CPU)
avg-cpu:  %user   %nice %system %iowait  %steal   %idle
           0.01    0.00    4.65    6.23    0.00
…