From owner-cvs-src@FreeBSD.ORG Fri Apr 28 12:18:06 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.org 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 41A8A16A455; Fri, 28 Apr 2006 12:18:06 +0000 (UTC) (envelope-from pjd@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2451B43D62; Fri, 28 Apr 2006 12:18:05 +0000 (GMT) (envelope-from pjd@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id k3SCI4RM078629; Fri, 28 Apr 2006 12:18:05 GMT (envelope-from pjd@repoman.freebsd.org) Received: (from pjd@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k3SCI4XD078628; Fri, 28 Apr 2006 12:18:04 GMT (envelope-from pjd) Message-Id: <200604281218.k3SCI4XD078628@repoman.freebsd.org> From: Pawel Jakub Dawidek Date: Fri, 28 Apr 2006 12:18:03 +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/geom/raid3 g_raid3.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 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: Fri, 28 Apr 2006 12:18:07 -0000 pjd 2006-04-28 12:18:03 UTC FreeBSD src repository Modified files: sys/geom/raid3 g_raid3.c Log: - Don't hold the device sx lock when going to sleep. - Prevent possible live-lock in case of memory problems by freeing already completed requests first. Reported and tested by: markus, Bradley W. Dutton MFC after: 1 day Revision Changes Path 1.64 +23 -6 src/sys/geom/raid3/g_raid3.c