Date: Wed, 5 Jan 2011 00:37:06 +0100 From: Ivan Voras <ivoras@freebsd.org> To: Warner Losh <imp@freebsd.org> Cc: svn-src-projects@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r216978 - in projects/graid/head/sys: cam/ata conf Message-ID: <AANLkTinjQdTmeXKhXd79dcEBYQRw98M%2B9NLz-3XEcLn-@mail.gmail.com> In-Reply-To: <201101042244.p04MiBf6057193@svn.freebsd.org> References: <201101042244.p04MiBf6057193@svn.freebsd.org>
index | next in thread | previous in thread | raw e-mail
On 4 January 2011 23:44, Warner Losh <imp@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)help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTinjQdTmeXKhXd79dcEBYQRw98M%2B9NLz-3XEcLn->
