Re: zfs: Fatal trap 12: page fault while in kernel mode



Thomas,

I wasn't clear - please make sure that you have original zfs_inactive (without the
changes that Pawel proposed) with the only change zfs_znode_free -> vrecycle.
I.e.:
if (zp->z_dbuf == NULL) {
/*
* The fs has been unmounted, or we did a
* suspend/resume and this file no longer exists.
*/
mutex_enter(&zp->z_lock);
VI_LOCK(vp);
vp->v_count = 0; /* count arrives as 1 */
mutex_exit(&zp->z_lock);
rw_exit(&zfsvfs->z_teardown_inactive_lock);
vrecycle(vp, curthread);
return;
}

I believe that the latest panic is a direct result of ZTOV(zp) = NULL line
introduced in zfs_vnops.c.2.patch.

reclaim function should stay patched with Pawel's patch.


--
Andriy Gapon
_______________________________________________
freebsd-current@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@xxxxxxxxxxx"



Relevant Pages