tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: vnode lifecycle change for ZFS



On Wed, Jun 14, 2017 at 10:25:11AM -0700, Chuck Silvers wrote:
 > while working on updating ZFS to the current freebsd code I've discovered
 > that the vnode lifecycle changes in the last couple of years prevent ZFS
 > from working, specifically that calling vcache_get() from within VOP_FSYNC()
 > or VOP_PUTPAGES() while the vnode is being cleaned for reuse (vi_state ==
 > VS_RECLAIMING) results in a deadlock.  ZFS does this, and I don't see any
 > easy way to change ZFS to not do that, so I'd like to make the following
 > changes to the vnode lifecycle code to support ZFS:
 > [...]
 > 
 > comments?

"aargh"? :-/

What is zfs doing? (and where's the offending code?)

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index