limetech / dynamix

14 stars 5 forks source link

Suppress utilization settings for parity disk #244

Closed bergware closed 8 years ago

limetech commented 8 years ago

Hey Ronald - please make a small change: instead of comparing $disk['name'] to 'parity', compare $disk['type'] to 'Parity'. This is because in 6.2 there are two check disks with names 'parity' and 'parity2', but both have type 'Parity'. Other types are 'Flash', 'Data', and 'Cache'.

limetech commented 8 years ago

Sorry, let me add: in 6.2 we have changed other places where name was being compared instead of type, so no need to change other code just yet. We're in the process of merging 6.1.x changes into 6.2. Once this is done we need to talk about whether to create a 6.2 branch or simply EOL 6.1.x.