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
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to