[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [PATCH 4/5] Add mdadm_no_degraded



On Jun 17, 2009, at 2:17 PM, David Lehman wrote:
On Fri, 2009-06-12 at 14:33 +0200, Jacek Danecki wrote:
Dan Williams wrote:
Jacek Danecki wrote:
This patch adds new function used by activating md array for isw format.

Instead of duplicating the entire function to add one option, why not
add an optional/keyword argument "no_degraded" to the mdadd function.
The new prototype would be as follows:

def mdadd(device, no_degraded=None):

True/False is probably clearer than None vs not None

Jeremy


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]