Re: [PATCH 006 of 9] md: Remove the working_disks and failed_disks from raid5 state data.



NeilBrown wrote:
They are not needed.
conf->failed_disks is the same as mddev->degraded

By the way, `failed_disks' is more understandable than `degraded'
in this context. "Degraded" usually refers to the state of the
array in question, when failed_disks > 0.

That to say: I'd rename degraded back to failed_disks, here and
in the rest of raid drivers... ;)

/mjt
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: Datagrid with search capabilities, how to implement it?
    ... We have a datagridview in a form and want to implement search capabilities ... Creates a currencymanager bound to the same binding context of the ... Uses the datatable.Selectmethod on the SortTable to get a datarow array ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: A question on string literals
    ... > context" in the first place, so that we can figure why: ... > foo = bar - one object context, ... A difficulty with the above is that the operand of sizeof ... sizeof &*array!= sizeof array ...
    (comp.lang.c)
  • Re: string concatenation
    ... > Your reference to this 'proof', ... Given a pointer to C string one cannot derive the size of array ... Allocation of array to store a string creates _implicit_ context in the ...
    (comp.lang.c)
  • Re: string concatenation
    ... > Your reference to this 'proof', ... Given a pointer to C string one cannot derive the size of array ... Allocation of array to store a string creates _implicit_ context in the ...
    (comp.unix.programmer)
  • Re: [C]Understanding arrays/pointers
    ... >> True, because the name of an array, when used in a value context, is ... >> An array is not a modifiable lvalue, so you can't assign new values to ... An lvalue is an expression (with an object type or an incomplete ...
    (alt.comp.lang.learn.c-cpp)