XL: Change minimum disks supported to 6 now. (#2023)

This change co-incides with another patch set which
reduces the writeQuorum requirement. With the
write quorum change it is now possible to support
6 disk configuration.
This commit is contained in:
Harshavardhana
2016-06-29 02:05:29 -07:00
committed by Anand Babu (AB) Periasamy
parent b6b9e88e47
commit 3ac39ff107
3 changed files with 9 additions and 8 deletions
+4 -4
View File
@@ -45,9 +45,9 @@ func TestCheckSufficientDisks(t *testing.T) {
disks []string
expectedErr error
}{
// Even number of disks '8'.
// Even number of disks '6'.
{
disks[0:8],
disks[0:6],
nil,
},
// Even number of disks '12'.
@@ -66,9 +66,9 @@ func TestCheckSufficientDisks(t *testing.T) {
append(disks[0:16], "/mnt/unsupported"),
errXLMaxDisks,
},
// Lesser than minimum number of disks < 8.
// Lesser than minimum number of disks < 6.
{
disks[0:7],
disks[0:5],
errXLMinDisks,
},
// Odd number of disks, not divisible by '2'.