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

From: Andriy Gapon <avg_at_freebsd.org>
Date: Wed, 29 Jul 2009 20:18:13 +0300
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
Received on Wed Jul 29 2009 - 15:18:17 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:52 UTC