From owner-cvs-src-old@FreeBSD.ORG Fri Mar 25 20:52:33 2011 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 986C6106566C for ; Fri, 25 Mar 2011 20:52:33 +0000 (UTC) (envelope-from mdf@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 6AAE48FC13 for ; Fri, 25 Mar 2011 20:52:33 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id p2PKqXo9080351 for ; Fri, 25 Mar 2011 20:52:33 GMT (envelope-from mdf@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p2PKqX7h080350 for cvs-src-old@freebsd.org; Fri, 25 Mar 2011 20:52:33 GMT (envelope-from mdf@repoman.freebsd.org) Message-Id: <201103252052.p2PKqX7h080350@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to mdf@repoman.freebsd.org using -f From: Matthew D Fleming Date: Fri, 25 Mar 2011 20:51:20 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_7 Subject: cvs commit: src/share/man/man9 Makefile fail.9 src/sys/conf files src/sys/kern kern_fail.c vfs_bio.c src/sys/sys fail.h queue.h X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Mar 2011 20:52:33 -0000 mdf 2011-03-25 20:51:20 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) share/man/man9 Makefile sys/conf files sys/kern vfs_bio.c sys/sys queue.h Added files: (Branch: RELENG_7) share/man/man9 fail.9 sys/kern kern_fail.c sys/sys fail.h Log: SVN rev 220008 on 2011-03-25 20:51:20Z by mdf MFC r192908 (introduced before the stable/8 split from CURRENT): fail(9) support: Add support for kernel fault injection using KFAIL_POINT_* macros and fail_point_* infrastructure. Add example fail point in vfs_bio.c to simulate VM buf pressure. MFC r192978: Fix style/grammar issues in fail(9) man page. MFC r216616: Move the fail_point_entry definition from fail.h to kern_fail.c, which allows putting the enumeration constants of fail point types with the text string that matches them. MFC r216620: Initialize fp_location for explicitly managed fail points, and push the parentheses around the location for simple fail points into the location string. This makes the print on fail point set more consistent between the two versions. Also fix up fail.h a little for style(9): only use one of sys/param.h and sys/types.h, and use the existing __XSTRING() macro instead of rolling our own. Also fix up a few tabs on changed and nearby lines. Lastly, since KFAIL_POINT_{BEGIN,END} are not meant for use outside this file, just eliminate the macros entirely. Revision Changes Path 1.310.2.13 +1 -0 src/share/man/man9/Makefile 1.6.2.2 +208 -0 src/share/man/man9/fail.9 (new) 1.1243.2.71 +1 -0 src/sys/conf/files 1.4.2.2 +604 -0 src/sys/kern/kern_fail.c (new) 1.528.2.15 +13 -3 src/sys/kern/vfs_bio.c 1.3.2.2 +223 -0 src/sys/sys/fail.h (new) 1.68.2.3 +40 -0 src/sys/sys/queue.h