zil_commit_impl: don't assert ZIL is not suspended

zil_suspend() forces a full ZIL commit before suspending the ZIL, so has
to be allowed to call it!
This commit is contained in:
Rob Norris 2024-04-15 11:29:47 +10:00 committed by Don Brady
parent 6b9de042e6
commit f20ad6fb10
1 changed files with 1 additions and 1 deletions

View File

@ -3607,7 +3607,7 @@ zil_commit(zilog_t *zilog, uint64_t foid)
int int
zil_commit_impl(zilog_t *zilog, uint64_t foid) zil_commit_impl(zilog_t *zilog, uint64_t foid)
{ {
ASSERT0(zil_failed(zilog) || zilog->zl_suspend > 0); ASSERT0(zil_failed(zilog));
ZIL_STAT_BUMP(zil_commit_count); ZIL_STAT_BUMP(zil_commit_count);