From owner-cvs-src@FreeBSD.ORG Sun Oct 9 21:11:05 2005 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 DBF9916A41F; Sun, 9 Oct 2005 21:11:05 +0000 (GMT) (envelope-from peadar@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9448C43D49; Sun, 9 Oct 2005 21:11:05 +0000 (GMT) (envelope-from peadar@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 j99LB5mg037610; Sun, 9 Oct 2005 21:11:05 GMT (envelope-from peadar@repoman.freebsd.org) Received: (from peadar@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j99LB5gN037609; Sun, 9 Oct 2005 21:11:05 GMT (envelope-from peadar) Message-Id: <200510092111.j99LB5gN037609@repoman.freebsd.org> From: Peter Edwards Date: Sun, 9 Oct 2005 21:11:05 +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/dev/ata atapi-cd.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: Sun, 09 Oct 2005 21:11:06 -0000 peadar 2005-10-09 21:11:05 UTC FreeBSD src repository Modified files: sys/dev/ata atapi-cd.c Log: When breaking up a large request into smaller ones for the strategy routine, create all the child bio objects before starting the requests, rather than starting them as created. This closes a race whereby some number of child operations could complete before the rest were ever created, and prematurely freeing the parent bio. This fixes the panics installing in VMWare and qemu Revision Changes Path 1.181 +7 -1 src/sys/dev/ata/atapi-cd.c