From owner-cvs-src@FreeBSD.ORG Sun Feb 22 22:40:18 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 65EBB16A4CE; Sun, 22 Feb 2004 22:40:18 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 47A2943D2D; Sun, 22 Feb 2004 22:40:18 -0800 (PST) (envelope-from mckusick@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id i1N6eIGe064987; Sun, 22 Feb 2004 22:40:18 -0800 (PST) (envelope-from mckusick@repoman.freebsd.org) Received: (from mckusick@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i1N6eHcs064986; Sun, 22 Feb 2004 22:40:17 -0800 (PST) (envelope-from mckusick) Message-Id: <200402230640.i1N6eHcs064986@repoman.freebsd.org> From: Kirk McKusick Date: Sun, 22 Feb 2004 22:40:17 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/ufs/ufs ufs_vnops.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Feb 2004 06:40:18 -0000 mckusick 2004/02/22 22:40:17 PST FreeBSD src repository Modified files: sys/ufs/ufs ufs_vnops.c Log: Change UFS from using vop_stdlock to using its own ufs_lock. In ufs_lock, check for attempts to acquire shared locks on snapshot files and change them to be exclusive locks. This change eliminates deadlocks and machine lockups reported in -current since most read requests started using shared lock requests. Submitted by: Jun Kuriyama Revision Changes Path 1.235 +28 -0 src/sys/ufs/ufs/ufs_vnops.c