XL: CreateFile/ReadFile should write and read from all disks in parallel. (#1612)

* XL: CreateFile should write to all disks in parallel.

* XL: ReadFile should read from all disks in parallel.
This commit is contained in:
Harshavardhana
2016-05-14 01:57:04 -07:00
committed by Anand Babu (AB) Periasamy
parent 7264cd2ab3
commit 025054fb36
3 changed files with 38 additions and 18 deletions

View File

@@ -109,8 +109,7 @@ func newXLObjects(exportPaths ...string) (ObjectLayer, error) {
}
}
// Validate if format exists and input arguments are validated
// with backend format.
// Validate if format exists and input arguments are validated with backend format.
if !isValidFormat(storage, exportPaths...) {
return nil, fmt.Errorf("Command-line arguments %s is not valid.", exportPaths)
}