Reviewed by: Matt Ahrens <[email protected]>
Reviewed by: Don Brady <[email protected]>

When TXG_WAITED is passed in to dmu_tx_assign(), it's possible that
ERESTART will be returned, which can cause an assertion to fail in
zil_lwb_write_issue(). To fix this, dmu_tx_assign() was modifed to only
return ERESTART if TXG_NOWAIT is passed in.

Upstream bugs: DLPX-54873
You can view, comment on, or merge this pull request online at:

  https://github.com/openzfs/openzfs/pull/492

-- Commit Summary --

  * 0000 ztest assertion failure in zil_lwb_write_issue

-- File Changes --

    M usr/src/uts/common/fs/zfs/dmu_tx.c (2)
    M usr/src/uts/common/fs/zfs/zil.c (21)

-- Patch Links --

https://github.com/openzfs/openzfs/pull/492.patch
https://github.com/openzfs/openzfs/pull/492.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openzfs/openzfs/pull/492

------------------------------------------
openzfs-developer
Archives: 
https://openzfs.topicbox.com/groups/developer/discussions/T9576260544d0d727-M0485ffe44fb9dc35144a692b
Powered by Topicbox: https://topicbox.com

Reply via email to