aboutsummaryrefslogtreecommitdiff
path: root/TEST
diff options
context:
space:
mode:
authorAlan Somers <asomers@gmail.com>2022-11-08 20:38:08 +0000
committerGitHub <noreply@github.com>2022-11-08 20:38:08 +0000
commite197bb24f1857c823b44c2175b2318c472d79731 (patch)
tree87a4270cce2391822dfeb63eb2ef9b5d21ffe9ed /TEST
parentf224eddf922a33ca4b86d83148e9e6fa155fc290 (diff)
downloadsrc-e197bb24f1857c823b44c2175b2318c472d79731.tar.gz
src-e197bb24f1857c823b44c2175b2318c472d79731.zip
Optionally skip zil_close during zvol_create_minor_impl
If there were no zil entries to replay, skip zil_close. zil_close waits for a transaction to sync. That can take several seconds, for example during pool import of a resilvering pool. Skipping zil_close can cut the time for "zpool import" from 2 hours to 45 seconds on a resilvering pool with a thousand zvols. Reviewed-by: Richard Yao <richard.yao@alumni.stonybrook.edu> Reviewed-by: Alexander Motin <mav@FreeBSD.org> Reviewed-by: Ryan Moeller <ryan@iXsystems.com> Sponsored-by: Axcient Closes #13999 Closes #14015
Diffstat (limited to 'TEST')
0 files changed, 0 insertions, 0 deletions