From owner-cvs-all@FreeBSD.ORG Mon Oct 2 02:06:28 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 42C0716A407; Mon, 2 Oct 2006 02:06:28 +0000 (UTC) (envelope-from tegge@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id F0B0F43D4C; Mon, 2 Oct 2006 02:06:27 +0000 (GMT) (envelope-from tegge@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k9226R66040885; Mon, 2 Oct 2006 02:06:27 GMT (envelope-from tegge@repoman.freebsd.org) Received: (from tegge@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k9226Ruv040884; Mon, 2 Oct 2006 02:06:27 GMT (envelope-from tegge) Message-Id: <200610020206.k9226Ruv040884@repoman.freebsd.org> From: Tor Egge Date: Mon, 2 Oct 2006 02:06:27 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/kern kern_lock.c vfs_bio.c src/sys/sys buf.h lockmgr.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Oct 2006 02:06:28 -0000 tegge 2006-10-02 02:06:27 UTC FreeBSD src repository Modified files: sys/kern kern_lock.c vfs_bio.c sys/sys buf.h lockmgr.h Log: If the buffer lock has waiters after the buffer has changed identity then getnewbuf() needs to drop the buffer in order to wake waiters that might sleep on the buffer in the context of the old identity. Revision Changes Path 1.100 +15 -0 src/sys/kern/kern_lock.c 1.510 +11 -0 src/sys/kern/vfs_bio.c 1.194 +11 -0 src/sys/sys/buf.h 1.51 +1 -0 src/sys/sys/lockmgr.h