svn commit: r216978 - in projects/graid/head/sys: cam/ata conf

Ivan Voras ivoras at freebsd.org
Wed Jan 5 00:04:14 UTC 2011


On 4 January 2011 23:44, Warner Losh <imp at freebsd.org> wrote:
> Author: imp
> Date: Tue Jan  4 22:44:10 2011
> New Revision: 216978
> URL: http://svn.freebsd.org/changeset/base/216978
>
> Log:
>  Implement three types of forced errors in the ada layer for the
>  purpose of testing uppper layers in the stack.
>
>  kern.cam.ada.X.periodic_read_error specifies that every Nth read will
>  fail.
>
>  kern.cam.ada.X.force_read_error specifies that the next N reads will fail.
>
>  kern.cam.ada.X.force_write_error specifies that the next N writes will fail.
>
>  These are enabled with 'options ADA_TEST_FAILURE'.  Otherwise, they
>  aren't added to the kernel.  Also, the sysctl stuff is only used for
>  this feature, so move it under this option ifdef.

Maybe gnop would help you? (though on a different layer and
nondeterministic failures)


More information about the svn-src-projects mailing list