Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for Infos (0.4 sec)

  1. cmd/erasure.go

    			infos[i] = di
    			if err != nil {
    				// - Do not consume disks which are not reachable
    				//   unformatted or simply not accessible for some reason.
    				infos[i].Error = err.Error()
    			}
    		}()
    	}
    	wg.Wait()
    
    	var scanningDisks, healingDisks []StorageAPI
    	var scanningInfos, healingInfos []DiskInfo
    
    	for i, info := range infos {
    		// Check if one of the drives in the set is being healed.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  2. cmd/metacache-set.go

    	case "auto":
    		return -1
    	}
    	// defaults to 'strict'
    	return driveCount
    }
    
    func calcCommonWritesDeletes(infos []DiskInfo, readQuorum int) (commonWrite, commonDelete uint64) {
    	deletes := make([]uint64, len(infos))
    	writes := make([]uint64, len(infos))
    	for index, di := range infos {
    		deletes[index] = di.Metrics.TotalDeletes
    		writes[index] = di.Metrics.TotalWrites
    	}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 30.7K bytes
    - Viewed (0)
  3. cmd/storage-rest-server.go

    		s.writeErrorResponse(w, err)
    		return
    	}
    
    	done := keepHTTPResponseAlive(w)
    	infos, err := s.getStorage().ReadParts(r.Context(), volume, preq.Paths...)
    	done(nil)
    	if err != nil {
    		s.writeErrorResponse(w, err)
    		return
    	}
    
    	presp := &ReadPartsResp{Infos: infos}
    	storageLogIf(r.Context(), msgp.Encode(w, presp))
    }
    
    // ReadFileHandler - read section of a file.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue May 27 15:19:03 UTC 2025
    - 45.7K bytes
    - Viewed (0)
  4. cmd/storage-datatypes.go

    }
    
    // ReadPartsReq - send multiple part paths to read from
    type ReadPartsReq struct {
    	Paths []string `msg:"p"`
    }
    
    // ReadPartsResp - is the response for ReadPartsReq
    type ReadPartsResp struct {
    	Infos []*ObjectPartInfo `msg:"is"`
    }
    
    // DeleteBulkReq - send multiple paths in same delete request.
    type DeleteBulkReq struct {
    	Paths []string `msg:"p"`
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Apr 25 05:41:04 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  5. cmd/storage-rest-client.go

    	defer readMsgpReaderPoolPut(rd)
    
    	readPartsResp := &ReadPartsResp{}
    	if err = readPartsResp.DecodeMsg(rd); err != nil {
    		return nil, toStorageErr(err)
    	}
    
    	return readPartsResp.Infos, nil
    }
    
    // RenameFile - renames a file.
    func (client *storageRESTClient) RenameFile(ctx context.Context, srcVolume, srcPath, dstVolume, dstPath string) (err error) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 08 02:38:41 UTC 2025
    - 30.4K bytes
    - Viewed (0)
Back to top