mirror_zfs/man
Alexander Motin f72fd378c8 Defer async destroys on pool import
We've observed a number of cases when pool import stuck for many
minutes due to large async destroy trying to load DDT or BRT from
HDD pool.  While proper destroy dosage is a separate problem,
lets give import process a chance to complete before that at all.
It may be not enough if there is a lot of ZIL to replay, but that
is harder to cover, since those are in separate syscalls.

Code investigation shown that we already have this mechanism used
for scrub/resilver, so this patch converts SCAN_IMPORT_WAIT_TXGS
into a tunable and applies it to async destroys also.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Alexander Motin <alexander.motin@TrueNAS.com>
Closes #18033
2025-12-11 18:44:46 -08:00
..
man1 Enable zhack to work properly with 4k sector size disks 2025-09-10 11:13:55 -07:00
man4 Defer async destroys on pool import 2025-12-11 18:44:46 -08:00
man5 manuals: Audit/bump dates for last content change 2025-08-28 16:26:16 -07:00
man7 Add knob to disable slow io notifications 2025-11-11 10:42:17 -08:00
man8 Add BRT support to zpool prefetch command 2025-11-10 16:16:22 -08:00
Makefile.am man: add silent rules for mancheck 2025-09-17 08:10:32 -07:00