HomeFreeBSD

Resolve a hang in ZFS during vnode reclaimation

Description

Resolve a hang in ZFS during vnode reclaimation

This is caused by a deadlock between zil_commit() and zfs_zget()

Add a way for zfs_zget() to break out of the retry loop in the common case

PR: 229614
Reported by: grembo, Andreas Sommer, many others
Tested by: Andreas Sommer, Vicki Pfau
Reviewed by: avg (no objection)
Approved by: re (gjb)
MFC after: 2 months
Sponsored by: Klara Systems
Differential Revision: https://reviews.freebsd.org/D17460

Details

Provenance
allanjudeAuthored on
Reviewer
avg
Differential Revision
D17460: Resolve a ZFS hang
Parents
rS339288: Remove extra thread_exit() call left after r329802.
Branches
Unknown
Tags
Unknown