[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20060919090302.GB24271@miraclelinux.com>
Date: Tue, 19 Sep 2006 17:03:02 +0800
From: Akinobu Mita <mita@...aclelinux.com>
To: Don Mullis <dwm@...r.net>
Cc: linux-kernel@...r.kernel.org, ak@...e.de, akpm@...l.org,
okuji@...ug.org
Subject: Re: [patch 2/8] fault-injection capabilities infrastructure
On Mon, Sep 18, 2006 at 10:50:54PM -0700, Don Mullis wrote:
> Replace individual structure element comments with reference
> to Documentation/fault-injection/fault-injection.txt
>
> Init "interval" to 1 (smallest useful value).
> Init "times" to 1 rather than -1 (infinity), for fewer
> accidental system lockups.
>
This patch also applied with small coding style fix.
> #define DEFINE_FAULT_ATTR(name) \
> - struct fault_attr name = { .times = ATOMIC_INIT(-1), }
> + struct fault_attr name = { .interval=1, .times = ATOMIC_INIT(1), }
struct fault_attr name = { .interval = 1, .times = ATOMIC_INIT(1), }
-
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