mirror of
https://github.com/minio/minio.git
synced 2026-11-19 23:03:17 +00:00
Improve disk formatting stage for large disk sets (#8690)
This commit is contained in:
1 parent
725172e13b
commit
f68a7005c0
12 files changed
+139
-206
No files matched your search
@@ -74,6 +74,13 @@ func (p *posixDiskIDCheck) DiskInfo() (info DiskInfo, err error) {
|
||||
return p.storage.DiskInfo()
|
||||
}
|
||||
|
||||
func (p *posixDiskIDCheck) MakeVolBulk(volumes ...string) (err error) {
|
||||
if p.isDiskStale() {
|
||||
return errDiskNotFound
|
||||
}
|
||||
return p.storage.MakeVolBulk(volumes...)
|
||||
}
|
||||
|
||||
func (p *posixDiskIDCheck) MakeVol(volume string) (err error) {
|
||||
if p.isDiskStale() {
|
||||
return errDiskNotFound
|
||||
|
||||
Reference in new issue
Block a user