From owner-cvs-src@FreeBSD.ORG Tue Oct 12 04:47:16 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 8B20916A4CE; Tue, 12 Oct 2004 04:47:16 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6C2ED43D49; Tue, 12 Oct 2004 04:47:16 +0000 (GMT) (envelope-from green@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i9C4lGOt065787; Tue, 12 Oct 2004 04:47:16 GMT (envelope-from green@repoman.freebsd.org) Received: (from green@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i9C4lGjr065786; Tue, 12 Oct 2004 04:47:16 GMT (envelope-from green) Message-Id: <200410120447.i9C4lGjr065786@repoman.freebsd.org> From: Brian Feldman Date: Tue, 12 Oct 2004 04:47:16 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/md md.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: Tue, 12 Oct 2004 04:47:16 -0000 green 2004-10-12 04:47:16 UTC FreeBSD src repository Modified files: sys/dev/md md.c Log: Account for failure in vm_pager_allocate() or vm_pager_get_pages() in md(8). The former is generally not going to fail, but the latter can fail when the underlying swap device returns an error. There are still plenty of other places where vm_pager_get_pages() failing will lead directly to crashes, so it's a good idea to put your swap on RAID if you care enough to put any of your disks on RAID.... Revision Changes Path 1.141 +19 -1 src/sys/dev/md/md.c