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

Andriy Gapon avg at freebsd.org
Wed Jul 29 17:18:18 UTC 2009


Thanks a lot again!

Could you please try the following change?
In sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c, in function
zfs_inactive() insert the following line:
	vrecycle(vp, curthread);
before the following line:
	zfs_znode_free(zp);

This is in "if (zp->z_dbuf == NULL)" branch.

I hope that this should work in concert with the patch that Pawel has posted.

P.S.
Also Pawel has told me that adding 'CFLAGS+=-DDEBUG=1' to sys/modules/zfs/Makefile
should enable additional debugging checks (ASSERTs) in ZFS code.

-- 
Andriy Gapon


More information about the freebsd-fs mailing list