lkml.org 
[lkml]   [2006]   [Aug]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: modifying degraded raid 1 then re-adding other members is bad
    On Wednesday August 9, jengelh@linux01.gwdg.de wrote:
    > >> Why we're updating it BACKWARD in the first place?
    > >
    > >To avoid writing to spares when it isn't needed - some people want
    > >their spare drives to go to sleep.
    >
    > That sounds a little dangerous. What if it decrements below 0?

    It cannot.
    md decrements the event count only on a dirty->clean transition, and
    only if it had previously incremented the count on a clean->dirty
    transition. So it can never go below what it was when the array was
    assembled.

    NeilBrown
    -
    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-08-10 01:21    [W:4.228 / U:0.512 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site