Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ReadXL (0.04 sec)

  1. cmd/xl-storage-disk-id-check.go

    	return xioutil.WithDeadline[[]byte](ctx, globalDriveConfig.GetMaxTimeout(), func(ctx context.Context) (result []byte, err error) {
    		return p.storage.ReadAll(ctx, volume, path)
    	})
    }
    
    func (p *xlStorageDiskIDCheck) ReadXL(ctx context.Context, volume string, path string, readData bool) (rf RawFileInfo, err error) {
    	ctx, done, err := p.TrackDiskHealth(ctx, storageMetricReadXL, volume, path)
    	if err != nil {
    		return RawFileInfo{}, err
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:56:26 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  2. cmd/erasure-object.go

    	g := errgroup.WithNErrs(len(disks))
    	for index := range disks {
    		index := index
    		g.Go(func() (err error) {
    			if disks[index] == nil {
    				return errDiskNotFound
    			}
    			rf, err := disks[index].ReadXL(ctx, bucket, object, readData)
    			if err != nil {
    				return err
    			}
    			rawFileInfos[index] = rf
    			return nil
    		}, index)
    	}
    
    	return rawFileInfos, g.Wait()
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  3. cmd/xl-storage.go

    			return nil, time.Time{}, err
    		}
    		return nil, time.Time{}, errFileNotFound
    	}
    
    	return buf, dmTime, nil
    }
    
    // ReadXL reads from path/xl.meta, does not interpret the data it read. This
    // is a raw call equivalent of ReadVersion().
    func (s *xlStorage) ReadXL(ctx context.Context, volume, path string, readData bool) (RawFileInfo, error) {
    	volumeDir, err := s.getVolDir(volume)
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
Back to top