lkml.org 
[lkml]   [2006]   [Sep]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [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@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2006-09-19 11:57    [W:0.027 / U:148.596 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site