[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20061013120129.76e23366.akpm@osdl.org>
Date: Fri, 13 Oct 2006 12:01:29 -0700
From: Andrew Morton <akpm@...l.org>
To: Akinobu Mita <akinobu.mita@...il.com>
Cc: linux-kernel@...r.kernel.org, ak@...e.de, Don Mullis <dwm@...r.net>
Subject: Re: [patch 1/7] documentation and scripts
On Sat, 14 Oct 2006 02:47:24 +0900
Akinobu Mita <akinobu.mita@...il.com> wrote:
> On Thu, Oct 12, 2006 at 02:37:13PM -0700, Andrew Morton wrote:
>
> > So I wonder if it'd be better to make this have units of "one millionth",
> > or simply make this tunable "1/(probability of failure)". So setting it to
> > 1,000,000 gives you one failure per million calls, on average.
>
> /debug/*/interval is available for this purpose.
> The combination of below commands gives one failure per million calls.
>
> # echo 1000000 > /debug/failslab/interval
> # echo 100 > /debug/failslab/probability
Oh. What are the units of "interval"?
(I find it's nice to put the units in the actual filename if practical -
it's self-documenting)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists