svn commit: r193440 - in head/sys: cddl/contrib/opensolaris/uts/common/fs/zfs kern sys

John Baldwin jhb at freebsd.org
Mon Jun 8 15:33:48 UTC 2009


On Saturday 06 June 2009 5:01:41 am Jaakko Heinonen wrote:
> 
> Hi,
> 
> On 2009-06-04, Paul Saab wrote:
> >   Support shared vnode locks for write operations when the offset is
> >   provided on filesystems that support it.  This really improves mysql
> >   + innodb performance on ZFS.
> 
> The panic below looks related to this commit. I think the assert is only
> enabled when DEBUG_VFS_LOCKS is defined.

Yes, vnode_if.src needs to be changed:

%% write	vp	E E E
%! write	pre	VOP_WRITE_PRE
%! write	post	VOP_WRITE_POST

vop_write {
	IN struct vnode *vp;
	INOUT struct uio *uio;
	IN int ioflag;
	IN struct ucred *cred;
};

The 'E E E' should be 'L L L'.

-- 
John Baldwin


More information about the svn-src-all mailing list