diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c index 41a3530a6052..277430da4b6d 100644 --- a/sys/kern/vfs_subr.c +++ b/sys/kern/vfs_subr.c @@ -1648,7 +1648,10 @@ vget(vp, flags, td) mtx_lock(&vp->v_interlock); if (vp->v_flag & VXLOCK) { if (vp->v_vxproc == curthread) { +#if 0 + /* this can now occur in normal operation */ log(LOG_INFO, "VXLOCK interlock avoided\n"); +#endif } else { vp->v_flag |= VXWANT; msleep((caddr_t)vp, &vp->v_interlock, PINOD | PDROP, diff --git a/sys/kern/vfs_vnops.c b/sys/kern/vfs_vnops.c index 1bbed38f1a83..403b06717227 100644 --- a/sys/kern/vfs_vnops.c +++ b/sys/kern/vfs_vnops.c @@ -701,8 +701,11 @@ debug_vn_lock(vp, flags, td, filename, line) "vn_lock", 0); error = ENOENT; } else { +#if 0 + /* this can now occur in normal operation */ if (vp->v_vxproc != NULL) log(LOG_INFO, "VXLOCK interlock avoided in vn_lock\n"); +#endif #ifdef DEBUG_LOCKS vp->filename = filename; vp->line = line;