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