]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
fail(9) support:
authorzml <zml@FreeBSD.org>
Wed, 27 May 2009 16:36:54 +0000 (16:36 +0000)
committerzml <zml@FreeBSD.org>
Wed, 27 May 2009 16:36:54 +0000 (16:36 +0000)
commitb5e46da5a4947a10803c1a0b6b56b6d42e74f536
tree352ca8773a5de2cd172144cdb62da0cc861516b4
parentf5ce731edd97cc5c8bebaca767b579d535244aea
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.

Approved by:        dfr (mentor)
share/man/man9/Makefile
share/man/man9/fail.9 [new file with mode: 0644]
sys/conf/files
sys/kern/kern_fail.c [new file with mode: 0644]
sys/kern/vfs_bio.c
sys/sys/fail.h [new file with mode: 0644]
sys/sys/queue.h