- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 332 for diskID (0.14 sec)
-
cmd/storage-rest-client.go
// healing tracker is always for local disks. return nil } func (client *storageRESTClient) NSScanner(ctx context.Context, cache dataUsageCache, updates chan<- dataUsageEntry, scanMode madmin.HealScanMode, _ func() bool) (dataUsageCache, error) { defer xioutil.SafeClose(updates) st, err := storageNSScannerRPC.Call(ctx, client.gridConn, &nsScannerOptions{ DiskID: *client.diskID.Load(), ScanMode: int(scanMode),
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:51:27 UTC 2024 - 27.4K bytes - Viewed (0) -
cmd/storage-datatypes.go
Exists bool // Returns whether the file existed on disk. Error string // Returns any error when reading. Data []byte // Contains all data of file. Modtime time.Time // Modtime of file on disk. } // DeleteVersionHandlerParams are parameters for DeleteVersionHandler type DeleteVersionHandlerParams struct { DiskID string `msg:"id"` Volume string `msg:"v"`
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:51:27 UTC 2024 - 15.7K bytes - Viewed (0) -
cmd/background-newdisks-heal-ops.go
} } func initHealingTracker(disk StorageAPI, healID string) *healingTracker { h := newHealingTracker() diskID, _ := disk.GetDiskID() h.disk = disk h.ID = diskID h.HealID = healID h.Path = disk.String() h.Endpoint = disk.Endpoint().String() h.Started = time.Now().UTC() h.PoolIndex, h.SetIndex, h.DiskIndex = disk.GetDiskLoc() return h }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Jun 04 15:12:32 UTC 2024 - 14.5K bytes - Viewed (0) -
cmd/metacache-walk.go
func (client *storageRESTClient) WalkDir(ctx context.Context, opts WalkDirOptions, wr io.Writer) error { // Ensure remote has the same disk ID. opts.DiskID = *client.diskID.Load() b, err := opts.MarshalMsg(grid.GetByteBuffer()[:0]) if err != nil { return toStorageErr(err) } st, err := client.gridConn.NewStream(ctx, grid.HandlerWalkDir, b) if err != nil {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Sat Jun 01 05:17:37 UTC 2024 - 12.4K bytes - Viewed (0) -
cmd/storage-rest-server.go
// IsValid - To authenticate and check if the disk-id in the request corresponds to the underlying disk. func (s *storageRESTServer) IsValid(w http.ResponseWriter, r *http.Request) bool { 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 == "" {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:51:27 UTC 2024 - 44.8K bytes - Viewed (0) -
cmd/erasure-sets.go
// 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 { return -1, -1, fmt.Errorf("DriveID: %s is offline", diskID) }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 37.7K bytes - Viewed (0) -
cmd/xl-storage-disk-id-check.go
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 }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:51:27 UTC 2024 - 33.4K bytes - Viewed (0) -
pkg/volume/fc/fc_util.go
name := f.Name() if name == fcPath { disk, err := io.EvalSymlinks(devID + name) if err != nil { klog.V(2).Infof("fc: failed to find a corresponding disk from symlink[%s], error %v", devID+name, err) return "", "" } dm := deviceUtil.FindMultipathDeviceForDevice(disk) klog.Infof("fc: find disk: %v, dm: %v", disk, dm) return disk, dm } } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 16 11:12:06 UTC 2022 - 12.8K bytes - Viewed (0) -
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 }}
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Apr 26 07:50:24 UTC 2024 - 10.7K bytes - Viewed (0) -
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
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Apr 15 08:25:46 UTC 2024 - 12.9K bytes - Viewed (0)