Date: Fri, 25 Mar 2011 20:51:20 +0000 (UTC) From: Matthew D Fleming <mdf@FreeBSD.org> To: cvs-src-old@freebsd.org 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 Message-ID: <201103252052.p2PKqX7h080350@repoman.freebsd.org>
index | next in thread | raw e-mail
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
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201103252052.p2PKqX7h080350>
