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:
parent
6b9de042e6
commit
f20ad6fb10
|
@ -3607,7 +3607,7 @@ zil_commit(zilog_t *zilog, uint64_t foid)
|
|||
int
|
||||
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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue