Without doing that there is a race window on export when history log write by completed rebuild dirties transaction beyond final, triggering assertion.
Closes #16714
Types of changes
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Performance enhancement (non-breaking change which improves efficiency)
[ ] Code cleanup (non-breaking change which makes code smaller or more readable)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Library ABI change (libzfs, libzfs_core, libnvpair, libuutil and libzfsbootenv)
[ ] Documentation (a change to man pages or other documentation)
Without doing that there is a race window on export when history log write by completed rebuild dirties transaction beyond final, triggering assertion.
Closes #16714
Types of changes
Checklist:
Signed-off-by
.