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>
next in thread | previous in thread | raw e-mail | index | archive | help
On 4 January 2011 23:44, Warner Losh <imp@freebsd.org> wrote: > Author: imp > Date: Tue Jan =C2=A04 22:44:10 2011 > New Revision: 216978 > URL: http://svn.freebsd.org/changeset/base/216978 > > Log: > =C2=A0Implement three types of forced errors in the ada layer for the > =C2=A0purpose of testing uppper layers in the stack. > > =C2=A0kern.cam.ada.X.periodic_read_error specifies that every Nth read wi= ll > =C2=A0fail. > > =C2=A0kern.cam.ada.X.force_read_error specifies that the next N reads wil= l fail. > > =C2=A0kern.cam.ada.X.force_write_error specifies that the next N writes w= ill fail. > > =C2=A0These are enabled with 'options ADA_TEST_FAILURE'. =C2=A0Otherwise,= they > =C2=A0aren't added to the kernel. =C2=A0Also, the sysctl stuff is only us= ed for > =C2=A0this feature, so move it under this option ifdef. Maybe gnop would help you? (though on a different layer and nondeterministic failures)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTinjQdTmeXKhXd79dcEBYQRw98M%2B9NLz-3XEcLn->