mirror_zfs/man
Alexander Motin 135103a648 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
2026-02-05 13:48:30 -08:00
..
man1 Enable zhack to work properly with 4k sector size disks 2025-09-10 15:01:32 -07:00
man4 Defer async destroys on pool import 2026-02-05 13:48:30 -08:00
man5 manuals: Audit/bump dates for last content change 2025-09-09 17:04:19 -07:00
man7 Add knob to disable slow io notifications 2025-11-12 13:07:14 -08:00
man8 Add BRT support to zpool prefetch command 2025-11-12 13:07:09 -08:00
Makefile.am man: add silent rules for mancheck 2025-09-17 16:33:52 -07:00