Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for Wiles (0.21 sec)

  1. cmd/erasure-multipart.go

    		if disk == nil {
    			continue
    		}
    
    		if !disk.IsOnline() {
    			continue
    		}
    
    		break
    	}
    
    	g := errgroup.WithNErrs(len(req.Files)).WithConcurrency(32)
    
    	partsInfo := make([]ObjectPartInfo, len(req.Files))
    	for i, file := range req.Files {
    		file := file
    		partN := i + start
    		i := i
    
    		g.Go(func() error {
    			buf, err := disk.ReadAll(ctx, minioMetaMultipartBucket, pathJoin(partPath, file))
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 43K bytes
    - Viewed (0)
  2. cmd/erasure-healing.go

    			}
    		}
    	}
    	return len(errs) == notFoundCount
    }
    
    // ObjectDir is considered dangling/corrupted if any only
    // if total disks - a combination of corrupted and missing
    // files is lesser than N/2+1 number of disks.
    // If no files were found false will be returned.
    func isObjectDirDangling(errs []error) (ok bool) {
    	var found int
    	var notFound int
    	var foundNotEmpty int
    	var otherFound int
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  3. cni/pkg/config/config.go

    	RepairConfig  RepairConfig
    }
    
    // InstallConfig struct defines the Istio CNI installation options
    type InstallConfig struct {
    	// Location of the CNI config files in the host's filesystem
    	CNINetDir string
    	// Location of the CNI config files in the container's filesystem (mount location of the CNINetDir)
    	MountedCNINetDir string
    	// Name of the CNI config file
    	CNIConfName string
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  4. cmd/erasure-metadata.go

    	g := errgroup.WithNErrs(len(disks))
    
    	// Start writing `xl.meta` to all disks in parallel.
    	for index := range disks {
    		index := index
    		g.Go(func() error {
    			if disks[index] == nil {
    				return errDiskNotFound
    			}
    			// Pick one FileInfo for a disk at index.
    			fi := files[index]
    			fi.Erasure.Index = index + 1
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 19.2K bytes
    - Viewed (1)
  5. cmd/xl-storage.go

    	volumeDir, err := s.getVolDir(volume)
    	if err != nil {
    		return stat, err
    	}
    
    	files := []string{pathJoin(volumeDir, path)}
    	if glob {
    		files, err = filepathx.Glob(filepath.Join(volumeDir, path))
    		if err != nil {
    			return nil, err
    		}
    	}
    	for _, filePath := range files {
    		if err := checkPathLength(filePath); err != nil {
    			return stat, err
    		}
    		st, _ := Lstat(filePath)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  6. cmd/storage-rest-client.go

    			if errors.Is(err, io.EOF) {
    				err = nil
    			}
    			break
    		}
    		stat = append(stat, st)
    	}
    
    	return stat, toStorageErr(err)
    }
    
    // ReadMultiple will read multiple files and send each back as response.
    // Files are read and returned in the given order.
    // The resp channel is closed before the call returns.
    // Only a canceled context or network errors returns an error.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 26.1K bytes
    - Viewed (0)
  7. cmd/storage-rest-server.go

    	done(err)
    	if err != nil {
    		return
    	}
    	for _, si := range stats {
    		msgp.Encode(w, &si)
    	}
    }
    
    // ReadMultiple returns multiple files
    func (s *storageRESTServer) ReadMultiple(w http.ResponseWriter, r *http.Request) {
    	if !s.IsValid(w, r) {
    		return
    	}
    	rw := streamHTTPResponse(w)
    	defer func() {
    		if r := recover(); r != nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 44.8K bytes
    - Viewed (0)
  8. cmd/erasure-common.go

    }
    
    // readMultipleFiles Reads raw data from all specified files from all disks.
    func readMultipleFiles(ctx context.Context, disks []StorageAPI, req ReadMultipleReq, readQuorum int) ([]ReadMultipleResp, error) {
    	resps := make([]chan ReadMultipleResp, len(disks))
    	for i := range resps {
    		resps[i] = make(chan ReadMultipleResp, len(req.Files))
    	}
    	g := errgroup.WithNErrs(len(disks))
    	// Read files in parallel across disks.
    	for index := range disks {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  9. cmd/xl-storage-disk-id-check.go

    	if err != nil {
    		return nil, err
    	}
    	defer done(&err)
    
    	return p.storage.StatInfoFile(ctx, volume, path, glob)
    }
    
    // ReadMultiple will read multiple files and send each files as response.
    // Files are read and returned in the given order.
    // The resp channel is closed before the call returns.
    // Only a canceled context will return an error.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 33K bytes
    - Viewed (0)
  10. cmd/erasure-server-pool.go

    			return false
    		}
    		// List of standard files supported by s3a
    		// that involves a List() on a directory
    		// where directory is actually an object on
    		// namespace.
    		for _, k := range []string{
    			"_SUCCESS/",
    			".parquet/",
    			".csv/",
    			".json/",
    			".avro/",
    			".orc/",
    			".txt/",
    			// Add any other files in future
    		} {
    			if strings.HasSuffix(prefix, k) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 80.1K bytes
    - Viewed (0)
Back to top