Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 242 for diskfis (0.13 sec)

  1. src/cmd/go/internal/fsys/fsys.go

    		return nil, &fs.PathError{Op: "ReadDir", Path: dir, Err: fs.ErrNotExist}
    	}
    	diskfis, err := readDir(dir)
    	if err != nil && !os.IsNotExist(err) && !errors.Is(err, errNotDir) {
    		return nil, err
    	}
    
    	// Stat files in overlay to make composite list of fileinfos
    	files := make(map[string]fs.FileInfo)
    	for _, f := range diskfis {
    		files[f.Name()] = f
    	}
    	for name, to := range dirNode.children {
    		switch {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:35:34 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  2. buildscripts/verify-healing-with-root-disks.sh

    			echo -n "."
    			sleep 1
    		done
    	done
    
    }
    
    # Prepare fake disks with losetup
    function prepare_block_devices() {
    	set -e
    	mkdir -p ${WORK_DIR}/disks/ ${WORK_DIR}/mnt/
    	sudo modprobe loop
    	for i in 1 2 3 4; do
    		dd if=/dev/zero of=${WORK_DIR}/disks/img.${i} bs=1M count=2000
    		device=$(sudo losetup --find --show ${WORK_DIR}/disks/img.${i})
    		sudo mkfs.ext4 -F ${device}
    		mkdir -p ${WORK_DIR}/mnt/disk${i}/
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 26 05:07:25 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  3. cmd/erasure-sets.go

    if (disks not recognized) // Always error.
    
    // Specific checks.
    if (all disks online)
      if (all disks return format.json)
         if (jbod consistent)
            if (all disks recognized)
              return
      else
         if (all disks return format.json not found)
            return error
         else (some disks return format.json not found)
            (heal format)
            return
         fi
       fi
    else
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 37.7K bytes
    - Viewed (0)
  4. cmd/background-newdisks-heal-ops.go

    	}
    	h.disk = disk
    	h.ID = diskID
    	h.mu = &sync.RWMutex{}
    	return &h, nil
    }
    
    // newHealingTracker will create a new healing tracker for the disk.
    func newHealingTracker() *healingTracker {
    	return &healingTracker{
    		mu: &sync.RWMutex{},
    	}
    }
    
    func initHealingTracker(disk StorageAPI, healID string) *healingTracker {
    	h := newHealingTracker()
    	diskID, _ := disk.GetDiskID()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 04 15:12:32 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  5. pkg/volume/fc/fc_util.go

    	// otherwise, in second phase, rescan scsi bus and search again, return with any findings
    	for true {
    		for _, diskID := range diskIDs {
    			if len(wwns) != 0 {
    				disk, dm = findDisk(diskID, lun, io, b.deviceUtil)
    			} else {
    				disk, dm = findDiskWWIDs(diskID, io, b.deviceUtil)
    			}
    			// if multipath device is found, break
    			if dm != "" {
    				break
    			}
    		}
    		// if a dm is found, exit loop
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 16 11:12:06 UTC 2022
    - 12.8K bytes
    - Viewed (0)
  6. 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)
  7. cmd/erasure-healing-common.go

    // listOnlineDisks - returns
    // - a slice of disks where disk having 'older' xl.meta (or nothing)
    // are set to nil.
    // - latest (in time) of the maximally occurring modTime(s), which has at least quorum occurrences.
    func listOnlineDisks(disks []StorageAPI, partsMetadata []FileInfo, errs []error, quorum int) (onlineDisks []StorageAPI, modTime time.Time, etag string) {
    	onlineDisks = make([]StorageAPI, len(disks))
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  8. cmd/testdata/config/invalid-disks.yaml

    Anis Eleuch <******@****.***> 1701941636 -0800
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Dec 07 09:33:56 UTC 2023
    - 863 bytes
    - Viewed (0)
  9. 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)
  10. cmd/format-erasure.go

    		This    string `json:"this"`    // This field carries assigned disk uuid.
    		// Sets field carries the input disk order generated the first
    		// time when fresh disks were supplied, it is a two dimensional
    		// array second dimension represents list of disks used per set.
    		Sets [][]string `json:"sets"`
    		// Distribution algorithm represents the hashing algorithm
    		// to pick the right set index for an object.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 23.2K bytes
    - Viewed (0)
Back to top