diff options
author | Alan Somers <[email protected]> | 2022-11-08 13:38:08 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2022-11-08 12:38:08 -0800 |
commit | e197bb24f1857c823b44c2175b2318c472d79731 (patch) | |
tree | 87a4270cce2391822dfeb63eb2ef9b5d21ffe9ed /lib/libzfs/libzfs.abi | |
parent | f224eddf922a33ca4b86d83148e9e6fa155fc290 (diff) |
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 <[email protected]>
Reviewed-by: Alexander Motin <[email protected]>
Reviewed-by: Ryan Moeller <[email protected]>
Sponsored-by: Axcient
Closes #13999
Closes #14015
Diffstat (limited to 'lib/libzfs/libzfs.abi')
0 files changed, 0 insertions, 0 deletions