mirror of
https://github.com/minio/minio.git
synced 2025-11-29 21:33:31 -05:00
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:
committed by
Anand Babu (AB) Periasamy
parent
7264cd2ab3
commit
025054fb36
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user