Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for DiskID (0.15 sec)

  1. cmd/storage-rest-client.go

    	defer xioutil.SafeClose(updates)
    
    	st, err := storageNSScannerRPC.Call(ctx, client.gridConn, &nsScannerOptions{
    		DiskID:   *client.diskID.Load(),
    		ScanMode: int(scanMode),
    		Cache:    &cache,
    	})
    	if err != nil {
    		return cache, toStorageErr(err)
    	}
    	var final *dataUsageCache
    	err = st.Results(func(resp *nsScannerResp) error {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 26.1K bytes
    - Viewed (0)
  2. cmd/storage-datatypes.go

    // CheckPartsHandlerParams are parameters for CheckPartsHandler
    type CheckPartsHandlerParams struct {
    	DiskID   string   `msg:"id"`
    	Volume   string   `msg:"v"`
    	FilePath string   `msg:"fp"`
    	FI       FileInfo `msg:"fi"`
    }
    
    // DeleteFileHandlerParams are parameters for DeleteFileHandler
    type DeleteFileHandlerParams struct {
    	DiskID   string        `msg:"id"`
    	Volume   string        `msg:"v"`
    	FilePath string        `msg:"fp"`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  3. cmd/storage-rest-server.go

    	if !s.IsAuthValid(w, r) {
    		return false
    	}
    
    	if err := r.ParseForm(); err != nil {
    		s.writeErrorResponse(w, err)
    		return false
    	}
    
    	diskID := r.Form.Get(storageRESTDiskID)
    	if diskID == "" {
    		// Request sent empty disk-id, we allow the request
    		// as the peer might be coming up and trying to read format.json
    		// or create format.json
    		return true
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 44.8K bytes
    - Viewed (0)
  4. cmd/metacache-walk.go

    	FilterPrefix string
    
    	// ForwardTo will forward to the given object path.
    	ForwardTo string
    
    	// Limit the number of returned objects if > 0.
    	Limit int
    
    	// DiskID contains the disk ID of the disk.
    	// Leave empty to not check disk ID.
    	DiskID string
    }
    
    // supported FS for Nlink optimization in readdir.
    const (
    	xfs  = "XFS"
    	ext4 = "EXT4"
    )
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  5. cmd/storage-datatypes_gen.go

    		zb0001--
    		field, err = dc.ReadMapKeyPtr()
    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    		switch msgp.UnsafeString(field) {
    		case "id":
    			z.DiskID, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "DiskID")
    				return
    			}
    		case "v":
    			z.Volume, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "Volume")
    				return
    			}
    		case "fp":
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 127.5K bytes
    - Viewed (0)
  6. cmd/xl-storage-disk-id-check.go

    }
    
    func (p *xlStorageDiskIDCheck) GetDiskID() (string, error) {
    	return p.storage.GetDiskID()
    }
    
    func (p *xlStorageDiskIDCheck) SetDiskID(id string) {
    	p.diskID.Store(&id)
    }
    
    func (p *xlStorageDiskIDCheck) checkDiskStale() error {
    	if *p.diskID.Load() == emptyDiskID {
    		// For empty disk-id we allow the call as the server might be
    		// coming up and trying to read format.json or create format.json
    		return nil
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 33K bytes
    - Viewed (0)
  7. cmd/xl-storage.go

    func (s *xlStorage) GetDiskID() (string, error) {
    	s.RLock()
    	diskID := s.diskID
    	fileInfo := s.formatFileInfo
    	lastCheck := s.formatLastCheck
    
    	// check if we have a valid disk ID that is less than 1 seconds old.
    	if fileInfo != nil && diskID != "" && time.Since(lastCheck) <= 1*time.Second {
    		s.RUnlock()
    		return diskID, nil
    	}
    	s.RUnlock()
    
    	fi, err := s.checkFormatJSON()
    	if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  8. helm/minio/templates/statefulset.yaml

            {{- end }}
      {{- if .Values.persistence.enabled }}
      volumeClaimTemplates:
        {{- if gt $drivesPerNode 1 }}
        {{- range $diskId := until $drivesPerNode}}
        - apiVersion: v1
          kind: PersistentVolumeClaim
          metadata:
            name: export-{{ $diskId }}
            {{- if $.Values.persistence.annotations }}
            annotations: {{- toYaml $.Values.persistence.annotations | nindent 10 }}
            {{- end }}
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 07:50:24 GMT 2024
    - 10.7K bytes
    - Viewed (0)
  9. cmd/erasure-sets.go

    // findDiskIndex - returns the i,j'th position of the input `diskID` against the reference
    // format, after successful validation.
    //   - i'th position is the set index
    //   - j'th position is the disk index in the current set
    func findDiskIndexByDiskID(refFormat *formatErasureV3, diskID string) (int, int, error) {
    	if diskID == "" {
    		return -1, -1, errDiskNotFound
    	}
    	if diskID == offlineDiskUUID {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 37.7K bytes
    - Viewed (5)
  10. cmd/format-erasure_test.go

    	for i, format := range formats {
    		if format == nil {
    			continue
    		}
    		h := sha256.New()
    		for _, set := range format.Erasure.Sets {
    			for _, diskID := range set {
    				h.Write([]byte(diskID))
    			}
    		}
    		formatHashes[i] = hex.EncodeToString(h.Sum(nil))
    	}
    
    	formatCountMap := make(map[string]int)
    	for _, hash := range formatHashes {
    		if hash == "" {
    			continue
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 12.9K bytes
    - Viewed (0)
Back to top